SHOW MIGRATION LIST
Description
The SHOW MIGRATION LIST
syntax is used to query migration job list.
Syntax
ShowMigrationList ::=
'SHOW' 'MIGRATION' 'LIST'
Return Values Description
Columns | Description |
---|---|
id | migration job id |
tables | migration tables |
job_item_count | migration job sharding number |
active | migration job states |
create_time | migration job create time |
stop_time | migration job stop time |
Example
- Query migration job list
SHOW MIGRATION LIST;
mysql> SHOW MIGRATION LIST;
+---------------------------------------+---------+----------------+--------+---------------------+---------------------+
| id | tables | job_item_count | active | create_time | stop_time |
+---------------------------------------+---------+----------------+--------+---------------------+---------------------+
| j01013a38b0184e07c864627b5bb05da09ee0 | t_order | 1 | false | 2022-10-31 18:18:24 | 2022-10-31 18:18:31 |
+---------------------------------------+---------+----------------+--------+---------------------+---------------------+
1 row in set (0.28 sec)
Reserved word
SHOW
, MIGRATION
, LIST
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .