Environment Policy

Execution Mode

Even if you have databases.queryDML and databases.queryDDL permissions, you can only run SELECT in SQL Editor by default. If you attempt to run mutation DML or DDL, it will prompt you to submit an issue.

change-prompt

If you want to run those statements directly in SQL Editor, you need to turn on the statement execution setting.

statement-execution

Environment Tier

This feature is available in Enterprise Plan.

For production environments, extra care should be taken. Bytebase allows marking such an environment as a production environment. Workspace admin or DBA can configure this under the Environment Tier section from the environment detail page.

When an environment is marked as a production environment, a shield indicator will appear before the environment label. It lets users know that it is a production environment.

See the following example, the environment β€œProd” is marked as a production environment. You can find the shield indicator on different pages.

tier-envs

tier-issue-details

A caution notice will also appear at the top of the SQL Editor when you connect to an instance in a production environment.

tier-editor

By default, instances and databases in a production environment will be inaccessible to developers. Workspace admins and DBAs can configure some databases as accessible to developers via Database Permission.

Edit this page on GitHub

Subscribe toΒ Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.