SHOW MIGRATION RULE
Description
The SHOW MIGRATION RULE
syntax is used to query migration rule.
Syntax
Grammar Railroad diagram
ShowMigrationRule ::=
'SHOW' 'MIGRATION' 'RULE'
Return Value Description
Column | Description |
---|---|
read | Data reading configuration |
write | Data writing configuration |
stream_channel | Data channel |
Example
- Query migration rule
SHOW MIGRATION RULE;
mysql> SHOW MIGRATION RULE;
+--------------------------------------------------------------+--------------------------------------+-------------------------------------------------------+
| read | write | stream_channel |
+--------------------------------------------------------------+--------------------------------------+-------------------------------------------------------+
| {"workerThread":20,"batchSize":1000,"shardingSize":10000000} | {"workerThread":20,"batchSize":1000} | {"type":"MEMORY","props":{"block-queue-size":"2000"}} |
+--------------------------------------------------------------+--------------------------------------+-------------------------------------------------------+
1 row in set (0.01 sec)
Reserved word
SHOW
, MIGRATION
, RULE
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .