If you do not want to allow other users to query or modify a database instance in Data Management (DMS), you can disable the database instance as a DMS administrator or a database administrator (DBA). Then, the database instance is unavailable and cannot be searched for in the DMS console. If you want to remove the restrictions on a disabled database instance in DMS, you can enable the database instance. You can also view the reason why a database instance is disabled.
Prerequisites
You are a DBA or a DMS administrator. For more information, see View system roles.
Usage notes
A disabled database instance is unavailable in DMS and is removed from the left-side instance list on the homepage of the DMS console. In addition, the database instance cannot be searched for in the DMS console. However, a disabled database instance can still run as normal and is available in other Alibaba Cloud services.
A disabled database instance consumes the quota of the control mode. If you no longer need to use the database instance in DMS, remove the database instance to release resources. For more information, see Remove one or more instances.
Procedure
- Log on to the DMS console V5.0.
Move the pointer over the icon in the upper-left corner of the DMS console and choose
.NoteIf you use the DMS console in normal mode, choose
in the top navigation bar.On the Instance List tab, you can disable or enable a database instance and view the reason why a database instance is disabled.
Disable a database instance
Find the database instance that you want to disable and choose
in the Actions column. In the message that appears, click Confirm.View the reason why a database instance is disabled
In the filter section, select Disabled from the Status drop-down list.
Find the database instance that you want to view and move the pointer over Disable in the Status column to view the reason why the database instance is disabled.
NoteA database instance may be disabled because the purchased control mode or sensitive data protection feature expires.
Enable a database instance
In the filter section, select Disabled from the Status drop-down list. Find the database instance that you want to enable and choose
in the Actions column. In the message that appears, click Confirm.NoteBefore you enable a database instance, you can modify the configurations of the database instance based on the reason why the database instance is disabled.
For example, a database instance is disabled due to the insufficient quota for the Security Collaboration mode. Before you enable the database instance, you can purchase the Security Collaboration mode to increase the quota or change the control mode of the database instance to Flexible Management.