The SHOW MIGRATION LIST
syntax is used to query migration job list.
ShowMigrationList ::=
'SHOW' 'MIGRATION' 'LIST'
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 |
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)
SHOW
, MIGRATION
, LIST