By default, if you set the control mode of a database instance to Security Collaboration in Data Management, the system databases of the instance are blocked when metadata is collected from the instance. This topic describes the system databases that are blocked by default for different instance types.
Background information
After you register a database instance in DMS, DMS automatically collects metadata (data dictionary) from the databases in the instance. To protect the system databases and reduce the interference of the system databases in user business, if the control mode of the instance is set to Security Collaboration, DMS automatically blocks the system databases when metadata is collected from the instance. For more information about metadata, see Metadata.
If an instance is managed in Flexible Management or Stable Change mode, DMS does not block the system databases of the instance when metadata is collected from the instance.
Limits
Regular users cannot query the blocked system databases of the instance, or apply for permissions to query system databases.
Only the DMS administrator or database administrator (DBA) has permissions to query the system databases of the instance. For more information about how to change your role, see Manage users.
The following table describes the system databases blocked by DMS by default for various types of instances. You can also customize the system databases to be blocked for an instance type. For more information, see Block system databases in DMS.
Instance type | System database to be blocked |
|
|
PolarDB for Xscale |
|
SQL Server: ApsaraDB RDS for SQL Server, MyBase for SQL Server, and SQL Server databases from other sources | master, model, msdb, tempdb, and rdscore |
PostgreSQL: ApsaraDB RDS for PostgreSQL, PolarDB for PostgreSQL, MyBase for PostgreSQL, AnalyticDB for PostgreSQL, and PostgreSQL databases from other sources |
|
PolarDB for PostgreSQL(Compatible with Oracle) |
|
ApsaraDB for OceanBase in MySQL mode | mysql, test, oceanbase, and information_schema |
ApsaraDB for OceanBase in Oracle mode and Oracle | Schemas:
|
DM | CTISYS, SYS, SYSAUDITOR, and SYSSSO |
Db2 | N/A |
ApsaraDB for Redis | N/A |
ApsaraDB for MongoDB | admin and local |
Lindorm-CQL | system, system_auth, and system_schema |
Lindorm-SQL | N/A |
ApsaraDB for Cassandra | system, system_auth, system_cloud, system_distributed, system_schema, and system_traces |
GDB | N/A |
AnalyticDB for MySQL V2.0 | N/A |
AnalyticDB for MySQL V3.0 |
|
DLA | N/A |
ApsaraDB for ClickHouse | system |
MaxCompute | information_schema |
Hologres | sys, dbo, information_schema, pg_catalo, and hawq_toolki |