DB Discovery
Definition
SHOW DB_DISCOVERY RULES [FROM schemaName]
Description
Column | Description |
---|---|
name | Rule name |
data_source_names | Data source name list |
primary_data_source_name | Primary data source name |
discover_type | Database discovery service type |
discover_props | Database discovery service parameters |
Example
mysql> show db_discovery rules from database_discovery_db;
+-------+---------------------+--------------------------+---------------+------------------------------------------------------------------------------------------------------------+
| name | data_source_names | primary_data_source_name | discover_type | discover_props |
+-------+---------------------+--------------------------+---------------+------------------------------------------------------------------------------------------------------------+
| pr_ds | ds_0, ds_1, ds_2 | ds_0 | MGR | keepAliveCron=0/50 * * * * ?, zkServerLists=localhost:2181, groupName=b13df29e-90b6-11e8-8d1b-525400fc3996 |
+-------+---------------------+--------------------------+---------------+------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .