tidb
tidb copied to clipboard
Expect more information on DDL history
Please answer these questions before submitting your issue. Thanks!
-
What did you do? If possible, provide a recipe for reproducing the error.
-
What did you expect to see?
-
What did you see instead?
+---------------------------------------------------------------------------------------------------------------------+--------+
| JOBS | STATE |
+---------------------------------------------------------------------------------------------------------------------+--------+
| ID:3723, Type:drop index, State:synced, SchemaState:none, SchemaID:2517, TableID:2767, RowCount:0, ArgLen:0 | synced |
| ID:3722, Type:add index, State:synced, SchemaState:public, SchemaID:2517, TableID:2767, RowCount:30849494, ArgLen:0 | synced |
| ID:3721, Type:create table, State:synced, SchemaState:public, SchemaID:2517, TableID:3720, RowCount:0, ArgLen:0 | synced |
| ID:3719, Type:add index, State:synced, SchemaState:public, SchemaID:2507, TableID:2930, RowCount:707, ArgLen:0 | synced |
| ID:3718, Type:drop index, State:synced, SchemaState:none, SchemaID:2507, TableID:2930, RowCount:0, ArgLen:0 | synced |
| ID:3717, Type:create table, State:synced, SchemaState:public, SchemaID:2517, TableID:3716, RowCount:0, ArgLen:0 | synced |
| ID:3715, Type:drop index, State:synced, SchemaState:none, SchemaID:2517, TableID:2767, RowCount:0, ArgLen:0 | synced |
| ID:3714, Type:add index, State:synced, SchemaState:public, SchemaID:2517, TableID:2767, RowCount:30849494, ArgLen:0 | synced |
| ID:3713, Type:add index, State:synced, SchemaState:public, SchemaID:3153, TableID:3171, RowCount:3719503, ArgLen:0 | synced |
| ID:3712, Type:drop index, State:synced, SchemaState:none, SchemaID:3153, TableID:3171, RowCount:0, ArgLen:0 | synced |
+---------------------------------------------------------------------------------------------------------------------+--------+
- What version of TiDB are you using (
tidb-server -Vor runselect tidb_version();on TiDB)?
Release Version: v1.1.0-alpha.1-57-g23bff27
Git Commit Hash: 23bff274a089fc7eb3009d3eb6b387df254c2836
Git Branch: master
UTC Build Time: 2018-02-02 01:54:52
@buggithubs Thanks for your feedback! Could you add more detailed information on this issue? What kind of information do you expect in the ddl history list?
I have done some optimizations. Relate to PR #6035 .