tidb icon indicating copy to clipboard operation
tidb copied to clipboard

Expect more information on DDL history

Open iatman opened this issue 8 years ago • 2 comments

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

  2. What did you expect to see?

  3. 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 |
+---------------------------------------------------------------------------------------------------------------------+--------+
  1. What version of TiDB are you using (tidb-server -V or run select 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 

iatman avatar Feb 09 '18 12:02 iatman

@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?

shenli avatar Feb 13 '18 09:02 shenli

I have done some optimizations. Relate to PR #6035 .

ciscoxll avatar Mar 21 '18 06:03 ciscoxll