SHOW SHARDING AUDITORS
syntax is used to query sharding auditors that are not used in specified database.
ShowUnusedShardingAuditors::=
'SHOW' 'UNUSED' 'SHARDING' 'AUDITOR' ('FROM' databaseName)?
databaseName ::=
identifier
column | Description |
---|---|
name | Sharding auditor name |
type | Sharding auditor algorithm type |
props | Sharding auditor algorithm properties |
SHOW UNUSED SHARDING AUDITORS FROM sharding_db;
mysql> SHOW UNUSED SHARDING AUDITORS FROM sharding_db;
+-------------------------------+-------------------------+-------+
| name | type | props |
+-------------------------------+-------------------------+-------+
| sharding_key_required_auditor | dml_sharding_conditions | |
+-------------------------------+-------------------------+-------+
1 row in set (0.01 sec)
SHOW UNUSED SHARDING AUDITORS;
mysql> SHOW UNUSED SHARDING AUDITORS;
+-------------------------------+-------------------------+-------+
| name | type | props |
+-------------------------------+-------------------------+-------+
| sharding_key_required_auditor | dml_sharding_conditions | |
+-------------------------------+-------------------------+-------+
1 row in set (0.00 sec)
SHOW
, UNUSED
, SHARDING
, AUDITORS
, FROM