Data Management (DMS) provides the super SQL mode. After you enable this mode for a database instance as a DMS administrator, a database administrator (DBA), or the DBA of the database instance, you can execute SQL statements on the SQLConsole tab without being constrained by security rules. For example, you can execute the DELETE and CREATE INDEX statements on the SQLConsole tab without being constrained by security rules.
Background information
To improve the security and stability of database instances, DMS administrators, DBAs, and DBAs of database instances tend to configure security rules for database instances. For example, an unauthorized user cannot execute DML statements for database instances in a production environment on the SQLConsole tab. To apply for the required permissions, the user must submit a ticket.
However, security rules also bring inconvenience to users who are granted high-level permissions such as DMS administrators, DBAs, and DBAs of database instances. To execute SQL statements without being constrained by security rules, such users can execute SQL statements in super SQL mode.
Prerequisites
You are a DMS administrator, a DBA, or the DBA of the database instance. For more information, see System roles.
The database instance for which you want to enable the super SQL mode is managed in Stable Change or Security Collaboration mode in DMS. For more information, see Control modes.
Procedure
- Log on to the DMS console V5.0.
In the top navigation bar, choose .
NoteIf you use the DMS console in simple mode, move the pointer over the icon in the upper-left corner of the console and choose
.- In the Please select the database first dialog box, enter a keyword to search for a database, select the database from the search results, and then click Confirm.
On the SQL Console page, click the icon in the upper-right corner. In the dialog box that appears, click OK to enable the super SQL mode.
NoteAfter you enable the super SQL mode, the outside borders of the SQL Console page turn orange.
After the super SQL mode is enabled, you can execute SQL statements on the SQLConsole tab without being constrained by security rules. Proceed with caution.
To disable the super SQL mode, click the icon in the upper-right corner on the SQL Console page.
Related operations
In addition to the preceding operations, you may also need to perform operations such as backing up databases and exporting databases or tables for data analysis. For more information, see Export databases.