From 1841e8becb41fdcdae5ee5736efcd081c384c321 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Wed, 2 Nov 2022 17:11:13 +0800 Subject: [PATCH 01/11] init Signed-off-by: wjhuang2016 --- a | 7232 +++++++++++++++++ ...lation_check_use_collation_disabled.result | 15 + ...llation_check_use_collation_enabled.result | 15 + cmd/explaintest/r/explain_complex.result | 2 +- cmd/explaintest/r/subquery.result | 10 +- .../t/collation_check_use_collation.test | 13 + expression/util.go | 8 +- 7 files changed, 7286 insertions(+), 9 deletions(-) create mode 100644 a diff --git a/a b/a new file mode 100644 index 0000000000000..749e578f525ed --- /dev/null +++ b/a @@ -0,0 +1,7232 @@ +bazel run //:gazelle +bazel test \ + -- //... -//cmd/... -//tests/graceshutdown/... \ + -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test +==================== Test output for //util/codec:codec_test: +--- FAIL: TestHashChunkRow (0.00s) + codec_test.go:1135: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3006/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 + /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3006/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 + Error: Should not be: 0x8d9497f5 + Test: TestHashChunkRow +FAIL +================================================================================ +==================== Test output for //util/codec:codec_test: +--- FAIL: TestHashChunkRow (0.00s) + codec_test.go:1135: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3007/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 + /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3007/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 + Error: Should not be: 0x8d9497f5 + Test: TestHashChunkRow +FAIL +================================================================================ +==================== Test output for //util/codec:codec_test: +--- FAIL: TestHashChunkRow (0.00s) + codec_test.go:1135: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3008/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 + /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3008/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 + Error: Should not be: 0x8d9497f5 + Test: TestHashChunkRow +FAIL +================================================================================ +==================== Test output for //br/pkg/restore:restore_test (shard 3 of 20): +[2022/11/02 16:34:01.913 +08:00] [INFO] [mock_cluster.go:54] ["start pprof"] [addr=0.0.0.0:12235] +[2022/11/02 16:34:01.996 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:34:01.996 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:34:01.998 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:34:01.998 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:34:02.000 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:34:02.000 +08:00] [INFO] [misc.go:69] ["new domain"] [store=83114c32-ce0d-442f-80c8-c9cfc650a390] ["ddl lease"=0s] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:34:02.015 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=5.416416ms] +[2022/11/02 16:34:02.016 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:34:02.016 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] [runWorker=true] +[2022/11/02 16:34:02.016 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:34:02.016 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:34:02.016 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:34:02.016 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:34:02.017 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:34:02.023 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.023 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:34:02.030 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.038 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.040 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:34:02.040 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.046 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=5.677ms] +[2022/11/02 16:34:02.046 +08:00] [INFO] [callback.go:123] ["full load and reset schema validator"] +[2022/11/02 16:34:02.047 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:34:02.048 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:34:02.061 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.061 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:34:02.071 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.106 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.124 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:34:02.124 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.129 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=4.717583ms] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.129 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:34:02.135 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.135 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:34:02.145 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.155 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:34:02.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.160 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=616.916µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.161 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:34:02.170 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.170 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:34:02.178 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.202 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:34:02.212 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.338542ms] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.215 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:34:02.220 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.220 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:34:02.227 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.241 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.246 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:34:02.246 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.248 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=1.251625ms] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.248 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:34:02.253 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.253 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:34:02.261 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.273 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.278 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:34:02.278 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.279 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.067583ms] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.280 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:34:02.284 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.284 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:34:02.290 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.299 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.302 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:34:02.302 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.303 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=533.208µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.303 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:34:02.307 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.307 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:34:02.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.324 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.328 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:34:02.328 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.329 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=671.334µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.329 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:34:02.335 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.335 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:34:02.343 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.355 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.359 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:34:02.359 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.360 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=884.041µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.361 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:34:02.366 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.366 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:34:02.373 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.384 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.388 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:34:02.388 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.389 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=846.959µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.390 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:34:02.390 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:34:02.396 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.396 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:34:02.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.427 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.434 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:34:02.434 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.436 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.525917ms] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.436 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:34:02.444 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:34:02.454 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.472 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.478 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:34:02.478 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.479 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=1.332125ms] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.480 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:34:02.485 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:34:02.496 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.511 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.516 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:34:02.516 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.517 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=865.917µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.518 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:34:02.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:34:02.537 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.550 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.555 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:34:02.555 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.560 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.122458ms] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.560 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:34:02.565 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.565 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:34:02.574 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.585 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.589 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:34:02.589 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.590 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=728.708µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:34:02.596 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.596 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:34:02.603 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.616 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.623 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:34:02.624 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.627 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.323375ms] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.627 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:34:02.632 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:34:02.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.650 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:34:02.654 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.655 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=760.209µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.656 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:34:02.662 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:34:02.675 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.691 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:34:02.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.698 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.244417ms] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.700 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:34:02.705 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.705 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:34:02.712 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.724 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:34:02.728 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.729 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=811.584µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.730 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:34:02.734 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:34:02.734 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.742 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.751 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.755 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:34:02.755 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=558.583µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.756 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:34:02.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:34:02.767 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.775 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:34:02.778 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.778 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=372.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:34:02.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.786 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:34:02.793 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.807 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.812 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:34:02.812 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.814 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.138084ms] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.814 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:34:02.818 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:34:02.825 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.836 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:34:02.840 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.841 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=793.416µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.842 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:34:02.846 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:34:02.852 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.869 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:34:02.869 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.870 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=883.5µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.871 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:34:02.875 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.875 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:34:02.881 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.891 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.895 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:34:02.895 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.896 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=716.125µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.896 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:34:02.900 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.900 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:34:02.906 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.918 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:34:02.918 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.919 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=638.875µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.919 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:34:02.923 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.923 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:34:02.930 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.941 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.945 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:34:02.945 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.946 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=689.416µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.946 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:34:02.950 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.950 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:34:02.972 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.983 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:02.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:34:02.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:02.988 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=610.416µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:34:02.988 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:34:02.988 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:34:02.993 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:02.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:34:03.000 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.012 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.016 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:34:03.016 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.017 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=862.042µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:34:03.017 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:34:03.022 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:03.022 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:34:03.030 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.048 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.052 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:34:03.052 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.054 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=983.834µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:34:03.054 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:34:03.060 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:03.060 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:34:03.072 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.084 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.089 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:34:03.089 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.090 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=857.333µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:34:03.090 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:34:03.097 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:03.097 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:34:03.106 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.123 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.130 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:34:03.130 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.131 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=1.4615ms] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:34:03.132 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:34:03.135 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:03.135 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:34:03.142 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.149 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:34:03.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.153 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=453.208µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:34:03.159 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:34:03.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:34:03.166 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.180 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:34:03.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:34:03.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:34:03.185 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=915.125µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:34:03.256 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=1.239779083s] +[2022/11/02 16:34:03.256 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=1.875µs] +[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=1.167µs] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=1.25µs] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=625ns] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=333ns] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] ["take time"=677.542µs] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:34:03.257 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=837.541µs] +[2022/11/02 16:34:03.257 +08:00] [INFO] [misc.go:69] ["new domain"] [store=83114c32-ce0d-442f-80c8-c9cfc650a390] ["ddl lease"=0s] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=31.260375ms] +[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] [runWorker=true] +[2022/11/02 16:34:03.290 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:34:03.290 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:34:03.291 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:34:03.291 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:34:03.291 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:34:03.292 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:34:03.292 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:34:03.296 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:34:03.319 +08:00] [WARN] [server.go:208] ["Automatic TLS Certificate creation is disabled"] [] +[2022/11/02 16:34:03.319 +08:00] [INFO] [mock_cluster.go:97] ["server is running MySQL protocol"] [addr=0.0.0.0:0] +[2022/11/02 16:34:03.319 +08:00] [INFO] [mock_cluster.go:97] ["server is running MySQL protocol"] [socket=/tmp/tidb-mock-1667378043318748000.sock] +[2022/11/02 16:34:03.319 +08:00] [INFO] [server.go:299] ["for status and metrics report"] ["listening on addr"=0.0.0.0:0] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:362] ["sending batch lastly on close"] [size=8] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[636161, 636162)\\\",\\\"[636163, 636164)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[636161, 636162)\\\",\\\"[636163, 636164)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[636165, 636166)\\\",\\\"[636167, 636169)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[636165, 636166)\\\",\\\"[636167, 636169)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[63616A, 63616B)\\\",\\\"[63616C, 63616D)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[63616A, 63616B)\\\",\\\"[63616C, 63616D)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] +[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[63616E, 63616F)\\\",\\\"[636170, 636171)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] +[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] +[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[63616E, 63616F)\\\",\\\"[636170, 636171)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] +[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:104] [leaving] ["table ID"=1] +PASS +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=1.208µs] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=750ns] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] ["take time"=217.708µs] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:34:03.334 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:34:03.335 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:34:03.335 +08:00] [INFO] [mock_cluster.go:114] ["domain closed"] ["take time"=444.875µs] +[2022/11/02 16:34:03.356 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +[2022/11/02 16:34:03.395 +08:00] [INFO] [server.go:478] ["setting tidb-server to report unhealthy (shutting-down)"] +[2022/11/02 16:34:03.395 +08:00] [ERROR] [http_status.go:447] ["start status/rpc server error"] [error="accept tcp [::]:54169: use of closed network connection"] [stack="github.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:447"] +[2022/11/02 16:34:03.395 +08:00] [ERROR] [misc.go:96] ["http server error"] [error="http: Server closed"] [stack="github.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] +[2022/11/02 16:34:03.395 +08:00] [ERROR] [misc.go:96] ["grpc server error"] [error="mux: server closed"] [stack="github.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] +[2022/11/02 16:34:03.395 +08:00] [WARN] [mock_cluster.go:57] ["fail to start pprof"] [addr=0.0.0.0:12235] [error="http: Server closed"] +goleak: Errors on successful test run: found unexpected goroutines: +[Goroutine 10465 in state select, with github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain on top of the stack: +goroutine 10465 [select]: +github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain(0xc007edf1e0) + external/com_github_pingcap_goleveldb/leveldb/db_state.go:110 +0x170 +created by github.com/pingcap/goleveldb/leveldb.openDB + external/com_github_pingcap_goleveldb/leveldb/db.go:140 +0x74c +] +================================================================================ +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-2860) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +==================== Test output for //br/pkg/utils:utils_test: +[2022/11/02 16:36:07.756 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] +-- Test timed out at 2022-11-02 16:37:07 CST -- +================================================================================ +==================== Test output for //br/pkg/utils:utils_test: +[2022/11/02 16:37:07.339 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] +-- Test timed out at 2022-11-02 16:38:07 CST -- +================================================================================ +==================== Test output for //br/pkg/utils:utils_test: +[2022/11/02 16:38:07.464 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] +-- Test timed out at 2022-11-02 16:39:07 CST -- +================================================================================ +==================== Test output for //store:store_test: +[2022/11/02 16:41:50.368 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:41:50.368 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:41:50.370 +08:00] [INFO] [misc.go:69] ["new domain"] [store=fb3fbb5c-b28a-4adf-a6d4-0a5ac7860258] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=827.25µs] +[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] [runWorker=true] +[2022/11/02 16:41:50.372 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:41:50.385 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:41:50.385 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:41:50.385 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:41:50.387 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:41:50.390 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:41:50.390 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.393 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.394 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=802.542µs] +[2022/11/02 16:41:50.395 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:41:50.396 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.284334ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.397 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:41:50.398 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:41:50.399 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:41:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.403 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=305.25µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.405 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.13625ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.407 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.408 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:41:50.408 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.408 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:41:50.409 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.409 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:41:50.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.412 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=465.334µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.414 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.241125ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.415 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.416 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:41:50.416 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.416 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:41:50.417 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.417 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:41:50.418 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.420 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.422 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.258125ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.423 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.424 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:41:50.424 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.424 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:41:50.425 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.425 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:41:50.426 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.427 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=117.334µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.429 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.058542ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.430 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.431 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:41:50.431 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:41:50.432 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.432 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:41:50.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.435 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=116.166µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.437 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.155875ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.439 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:41:50.440 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.440 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:41:50.444 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.444 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=66.041µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.447 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.264709ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.448 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:41:50.449 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.449 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:41:50.451 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.452 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=81.083µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.454 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.2585ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.455 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.456 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:41:50.456 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.456 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:41:50.457 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.457 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:41:50.458 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.459 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=99.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.461 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.29725ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.463 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.464 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:41:50.464 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.464 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:41:50.465 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.465 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:41:50.467 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.468 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=91.75µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.470 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.267542ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.472 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.473 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:41:50.475 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.475 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:41:50.478 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.480 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=152.542µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.482 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.093583ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.484 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:41:50.485 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.485 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:41:50.486 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.486 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:41:50.490 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.492 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=121.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.494 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.276417ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.495 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.496 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:41:50.496 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.497 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:41:50.499 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.499 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:41:50.503 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.504 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=218.875µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.506 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.218541ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.508 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.509 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:41:50.509 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.509 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:41:50.511 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.511 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:41:50.513 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.518 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=116.167µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.520 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=3.136666ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.522 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.523 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:41:50.523 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.524 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:41:50.525 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.525 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:41:50.528 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.529 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=84.583µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.531 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.143167ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.532 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:41:50.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.533 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:41:50.534 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:41:50.536 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.537 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=97.041µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.543 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=6.356208ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.545 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.547 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:41:50.547 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.547 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:41:50.548 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.548 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:41:50.550 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.551 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=82.292µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.553 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.130333ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.553 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:41:50.554 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.554 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:41:50.555 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.555 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:41:50.557 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.558 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=118.916µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.560 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.276292ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.563 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:41:50.564 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.564 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:41:50.565 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.566 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=93.917µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.568 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.26525ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.569 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.570 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:41:50.570 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.570 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.572 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=56.791µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.574 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.01175ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:41:50.577 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:41:50.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46.333µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.22675ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.583 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:41:50.584 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:41:50.585 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.589 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=120.667µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.591 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.278458ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.593 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:41:50.594 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.594 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:41:50.596 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.599 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=93.708µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.601 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.023625ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.602 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.603 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:41:50.603 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.603 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:41:50.604 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.604 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:41:50.605 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.606 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=67.959µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.609 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=3.204ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.612 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:41:50.614 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.615 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:41:50.616 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.616 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:41:50.618 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.618 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=79.75µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.621 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.256916ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.622 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:41:50.623 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.623 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:41:50.625 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.625 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=71.042µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.627 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.212542ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.628 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.629 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:41:50.629 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.629 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:41:50.630 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.630 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:41:50.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.640 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=85.5µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=4.565ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.646 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.647 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:41:50.647 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.648 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:41:50.655 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.655 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:41:50.659 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.663 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=104.458µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.665 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.258417ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.670 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.673 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:41:50.674 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:41:50.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=95.916µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.313917ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:41:50.681 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.681 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:41:50.682 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.682 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:41:50.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.686 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102.959µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.688 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.202125ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.690 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:41:50.691 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.691 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:41:50.692 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:41:50.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.695 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=96.083µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.697 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.258583ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.699 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.700 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:41:50.700 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.700 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:41:50.701 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.701 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:41:50.702 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.704 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=328.291µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.706 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.212875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.711 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.712 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:41:50.712 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.712 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:41:50.713 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.713 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:41:50.714 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.714 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=51.291µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.717 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.261792ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.718 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.719 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:41:50.719 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:41:50.722 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.723 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=84.916µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:41:50.725 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.264041ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.727 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:41:50.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.739 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=353.281583ms] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=458ns] +[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=458ns] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=417ns] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=83ns] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=42ns] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] ["take time"=121.75µs] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:41:50.739 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=195.625µs] +[2022/11/02 16:41:50.739 +08:00] [INFO] [misc.go:69] ["new domain"] [store=fb3fbb5c-b28a-4adf-a6d4-0a5ac7860258] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.867583ms] +[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] [runWorker=true] +[2022/11/02 16:41:50.743 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:41:50.743 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:41:50.743 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:41:50.743 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:41:50.744 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:41:50.749 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:41:50.751 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:41:50.753 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.754 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=64.458µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:41:50.756 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.266417ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.757 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:41:50.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:41:50.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.760 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:41:50.763 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.763 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:41:50.763 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:41:50.765 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=56.667µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:41:50.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.180708ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.768 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.769 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:41:50.769 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.770 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:41:50.770 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:41:50.773 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.774 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=65.75µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:41:50.776 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.260708ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.778 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:41:50.779 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:41:50.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:41:50.779 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093272329650178] [checkTS=437093272329650179] +[2022/11/02 16:41:50.780 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:50.780 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:50.780 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:50.846 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:50.846 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:50.846 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:50.936 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:50.936 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:50.936 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:51.069 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:51.069 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:51.069 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:51.279 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:51.279 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:51.279 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:51.791 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:51.791 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:51.791 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:52.745 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:41:53.278 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:53.278 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:53.278 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:54.882 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:54.882 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:54.882 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:56.481 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:56.481 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:56.481 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:57.816 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:57.816 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:57.816 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:41:59.224 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:41:59.224 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:41:59.224 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:00.320 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:00.320 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:00.320 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:02.037 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:02.037 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:02.037 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:03.526 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:03.526 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:03.526 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:05.502 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:05.502 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:05.502 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:07.369 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:07.369 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:07.369 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:08.949 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:08.949 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:08.949 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:10.707 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:10.707 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:10.707 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:12.058 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:12.058 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:12.058 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:13.446 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:13.446 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:13.446 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:15.150 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:15.150 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:15.150 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:17.046 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:17.046 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:17.046 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:18.291 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:18.291 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:18.291 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:19.491 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:19.491 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:19.491 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:20.669 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:20.669 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:20.669 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:22.374 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:22.374 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:22.374 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:23.673 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:23.673 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:23.673 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:25.286 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:25.286 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:25.286 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:27.282 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:27.282 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:27.282 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:28.503 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:28.503 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:28.503 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:29.521 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:29.521 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:29.521 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:30.731 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:30.731 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:30.731 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:32.466 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:32.466 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:28.50326+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:29.521342+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:30.731596+08:00\nlongest sleep type: tiflashRPC, time: 41592ms"] +[2022/11/02 16:42:32.466 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093272347213824\n# Conn_ID: 1\n# Query_time: 41.614776666\n# Parse_time: 0.000032958\n# Compile_time: 0.00016625\n# Rewrite_time: 0.000035166\n# Optimize_time: 0.000081209\n# Wait_TS: 0.000006625\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDEuNnMsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDEuNnMsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nuse test;\nselect count(*) from t;"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=7.25µs] +[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=2.584µs] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=3.667µs] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:42:32.467 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] ["take time"=276.292µs] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:42:32.467 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=378.417µs] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:32.704 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c3bb7cbb-8bb5-4c65-9722-655a50112e9d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.099542ms] +[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] [runWorker=true] +[2022/11/02 16:42:32.705 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] +[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] +[2022/11/02 16:42:32.722 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:42:32.722 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:42:32.722 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:42:32.722 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:42:32.724 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.724 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:42:32.726 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.727 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=946.208µs] +[2022/11/02 16:42:32.727 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:42:32.729 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.303375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.730 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.731 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:42:32.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:42:32.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:42:32.733 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.733 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:42:32.735 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=344.458µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.739 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.06575ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.744 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:42:32.744 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.744 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:42:32.745 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.745 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:42:32.746 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.747 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=87.792µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.749 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.018ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.750 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:42:32.751 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.751 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:42:32.752 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.752 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:42:32.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.756 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=202.375µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.758 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.2665ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.759 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:42:32.760 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.760 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:42:32.762 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.762 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:42:32.764 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.765 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=129.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.204834ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.768 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.769 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:42:32.769 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.769 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:42:32.770 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:42:32.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=130.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.196125ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:42:32.777 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.777 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:42:32.778 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:42:32.780 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.781 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=124.333µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.783 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.096125ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.784 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:42:32.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:42:32.787 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.788 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=77.292µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.790 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.117291ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:42:32.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:42:32.794 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.795 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=97.417µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.797 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.015958ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.798 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.799 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:42:32.799 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.799 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:42:32.800 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.800 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:42:32.804 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.806 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=126µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.808 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.041625ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.809 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.810 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:42:32.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:32.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.816 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=149.292µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.377167ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.820 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.821 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:42:32.821 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.821 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:42:32.823 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.823 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:42:32.825 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.826 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=129.542µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.828 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.293917ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.829 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.830 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:42:32.830 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.830 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:42:32.832 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:42:32.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.835 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=111.417µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.837 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.265833ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.838 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:42:32.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.839 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:42:32.840 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:42:32.842 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.843 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=98.958µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.845 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.016833ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.846 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.847 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:42:32.847 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.847 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:32.848 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:32.850 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.852 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=77.417µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.853 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.072958ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.855 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:42:32.856 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.856 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:42:32.859 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.860 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=102.25µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.862 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.132125ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.863 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.864 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:42:32.864 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.864 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:42:32.865 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:42:32.867 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=89.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.054042ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:42:32.874 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.874 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:42:32.877 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.878 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=125.375µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.880 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.032958ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.881 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.882 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:42:32.882 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.882 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:32.883 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.883 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:32.884 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.885 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.875µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.887 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.022959ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.888 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.889 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:42:32.889 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.889 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:42:32.890 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.890 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:42:32.892 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.893 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=69.125µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.895 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.112125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.896 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.897 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:42:32.897 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.897 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:42:32.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:42:32.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.900 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.901 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=57.125µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.904 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=3.088458ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.906 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:42:32.908 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.908 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:42:32.909 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.911 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=126.417µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.913 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.234042ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.915 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:42:32.915 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.916 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:42:32.917 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.917 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:42:32.920 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.921 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=109.25µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.923 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.061875ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.925 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.926 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:42:32.926 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.926 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:32.927 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:32.929 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.931 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=218.792µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.933 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.276584ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.934 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.935 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:42:32.935 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.935 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:42:32.936 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:42:32.939 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.940 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=101.875µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.942 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.14725ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.943 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:42:32.944 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.944 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:42:32.945 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:42:32.945 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.948 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.950 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=287.958µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.952 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.064458ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.954 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.955 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:42:32.955 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.955 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:42:32.956 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.957 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:42:32.959 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.960 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=97.417µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.962 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.070666ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.963 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.964 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:42:32.964 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.964 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:42:32.965 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.965 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:42:32.967 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.968 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=76.833µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.970 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.038833ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:42:32.973 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:42:32.974 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.974 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:42:32.976 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.977 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=96.875µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.979 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.088875ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.981 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.982 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:42:32.982 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.983 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:42:32.984 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.984 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:42:32.986 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.987 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=109.666µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.989 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.26975ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.991 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.992 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:42:32.992 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:32.992 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:42:32.993 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:32.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:42:32.995 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.996 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=115.833µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:42:32.998 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.263875ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:32.999 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.000 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:42:33.000 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:33.000 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:42:33.001 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:33.001 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:42:33.003 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.004 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=142.833µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:42:33.007 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.368125ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.008 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.009 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:42:33.009 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:33.009 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:42:33.010 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:33.010 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:42:33.012 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.012 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=66.083µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:42:33.014 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.046625ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:33.018 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:33.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:42:33.019 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.020 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=96.625µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:42:33.022 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.058417ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.023 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:33.024 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:42:33.024 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:33.031 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=309.427333ms] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=1.042µs] +[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=625ns] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=250ns] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=42ns] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] ["take time"=283µs] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:42:33.032 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=338.5µs] +[2022/11/02 16:42:33.032 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c3bb7cbb-8bb5-4c65-9722-655a50112e9d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.860208ms] +[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=345344ae-ca13-46cd-8310-4f13a40cd277] [runWorker=true] +[2022/11/02 16:42:33.035 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] +[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] +[2022/11/02 16:42:33.035 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:42:33.035 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:42:33.035 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:42:33.036 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:42:33.041 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:42:33.042 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:33.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:42:34.038 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.038 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=72.084µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:42:34.041 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.271584ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.041 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:42:34.042 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:34.042 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000594959\n# Parse_time: 0.000021334\n# Compile_time: 0.0000135\n# Rewrite_time: 0.000001291\n# Optimize_time: 0.000006708\n# Wait_TS: 0.00000175\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] +[2022/11/02 16:42:34.042 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:42:34.043 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:34.043 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:42:34.044 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.044 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:42:34.044 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:42:34.045 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=65.75µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:42:34.047 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.268584ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:34.049 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:34.049 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:42:34.051 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.051 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=55.792µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:42:34.054 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.260416ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:34.055 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093283674193925] [checkTS=437093283674193926] +[2022/11/02 16:42:34.056 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:34.056 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:34.056 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:34.115 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:34.115 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:34.115 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:34.173 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:34.173 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:34.173 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:34.312 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:34.312 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:34.312 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:34.609 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:34.609 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:34.609 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:35.021 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:35.021 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:35.021 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:35.036 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:42:36.086 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:36.086 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:36.086 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:37.258 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:37.258 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:37.258 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:38.987 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:38.987 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:38.987 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:40.732 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:40.732 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:40.732 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:42.246 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:42.246 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:42.246 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:44.013 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:44.013 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:44.013 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:45.754 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:45.754 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:45.754 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:47.303 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:47.303 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:42:47.303 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:49.167 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:49.167 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:49.167 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +-- Test timed out at 2022-11-02 16:42:49 CST -- +================================================================================ +==================== Test output for //store:store_test: +[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:49.899 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:42:49.899 +08:00] [INFO] [misc.go:69] ["new domain"] [store=cc52f595-095b-497d-8b51-2610225f327e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=763.5µs] +[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] [runWorker=true] +[2022/11/02 16:42:49.901 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:42:49.917 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:42:49.917 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:42:49.917 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:42:49.917 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:42:49.918 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.919 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:42:49.920 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.922 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=825.75µs] +[2022/11/02 16:42:49.922 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:42:49.923 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.255833ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.924 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:42:49.925 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:42:49.926 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.926 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:42:49.928 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.930 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=311.125µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.932 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.263417ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.934 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.935 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:42:49.935 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.935 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:42:49.936 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:42:49.937 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.939 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=70µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.941 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.259458ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.942 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.943 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:42:49.943 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:42:49.944 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:42:49.945 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.946 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=200.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.949 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.271625ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.950 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.951 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:42:49.951 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.951 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:42:49.952 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.952 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:42:49.953 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.954 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=113.625µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.956 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.267875ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.957 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.958 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:42:49.958 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:42:49.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:42:49.961 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.962 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=100.833µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.964 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.208625ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.969 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:42:49.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:42:49.973 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.973 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:42:49.975 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.975 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=72.167µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.977 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.041541ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.979 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:42:49.980 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.980 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:42:49.982 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.983 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=79.375µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.985 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.175375ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.987 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:42:49.988 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.988 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:42:49.990 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.991 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=93.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:42:49.993 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.284792ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.994 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.995 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:42:49.995 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:49.995 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:42:49.996 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:49.996 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:42:49.998 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:49.999 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=100.334µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.001 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.267875ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.002 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:42:50.004 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.004 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:50.005 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.007 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=130.708µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.009 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.271917ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.010 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.011 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:42:50.011 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.011 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:42:50.012 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.012 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:42:50.014 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.015 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=116.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.017 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.256375ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:42:50.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.019 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:42:50.021 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.022 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=95.167µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.024 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.257333ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.025 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.026 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:42:50.026 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.026 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:42:50.027 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.027 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:42:50.028 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.029 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=101.25µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.031 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.032917ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.033 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.034 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:42:50.034 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.034 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:50.035 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.035 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:50.037 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.038 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=82.292µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.040 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.26375ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.041 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:42:50.042 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.042 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:42:50.043 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.043 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:42:50.044 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.046 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=146.667µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.048 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.006625ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.049 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.050 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:42:50.052 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.053 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=70.417µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.055 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.152625ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.056 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:42:50.057 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.057 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:42:50.059 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.060 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=113.625µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.062 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.256875ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.063 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.064 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:42:50.064 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.064 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:50.065 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.065 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:50.066 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.067 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.916µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.069 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.197417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.070 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.071 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:42:50.071 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.071 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:42:50.072 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.072 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:42:50.073 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.074 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=63.042µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.076 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.260041ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.077 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.078 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:42:50.080 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.080 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=48.75µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.083 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.078583ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.084 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.085 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:42:50.085 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.085 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:42:50.086 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.086 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:42:50.088 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.090 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=110.916µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.092 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.26225ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.093 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.094 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:42:50.094 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.094 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:42:50.095 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.095 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:42:50.097 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.098 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=80.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.100 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.035125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.101 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.102 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:42:50.102 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.102 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:42:50.103 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.103 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:42:50.105 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.106 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=78.041µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.108 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.081583ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.110 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:42:50.111 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.111 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:42:50.113 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.113 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.666µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.116 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.480041ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.117 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.118 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:42:50.118 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.118 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:42:50.119 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.119 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:42:50.121 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.121 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=70.834µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.123 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.273208ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.125 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.128 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:42:50.128 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.128 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:42:50.130 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.130 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:42:50.131 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.133 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=86.292µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.135 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.141666ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.136 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.137 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:42:50.137 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.137 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:42:50.138 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.138 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:42:50.139 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.140 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=75.666µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.142 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.076667ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.143 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.144 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:42:50.145 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.145 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:42:50.147 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.147 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=97.458µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.150 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.494625ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.151 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:42:50.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.152 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:42:50.153 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.153 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:42:50.154 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.155 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=98.875µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.157 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.075792ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.158 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:42:50.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.159 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:42:50.160 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.160 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:42:50.162 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.162 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=95.959µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.164 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.111ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.167 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:42:50.168 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.168 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:42:50.170 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.171 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=139.208µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.173 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.353709ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.174 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.175 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:42:50.175 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.176 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:42:50.177 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.177 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:42:50.178 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.178 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=56.083µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:42:50.181 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.445292ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.182 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.183 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:42:50.183 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:42:50.186 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.187 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=93.708µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:42:50.189 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.195917ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.190 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:50.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:42:50.191 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:50.199 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=282.53125ms] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=792ns] +[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=542ns] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=375ns] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=209ns] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] ["take time"=131.791µs] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:42:50.200 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=183.334µs] +[2022/11/02 16:42:50.200 +08:00] [INFO] [misc.go:69] ["new domain"] [store=cc52f595-095b-497d-8b51-2610225f327e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.809125ms] +[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] [runWorker=true] +[2022/11/02 16:42:50.203 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:42:50.203 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:42:50.203 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:42:50.203 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:42:50.204 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:42:50.209 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:42:50.210 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:50.210 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:42:51.206 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.206 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=54.5µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:42:51.208 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.259667ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:51.209 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.000361292\n# Parse_time: 0.000019875\n# Compile_time: 0.000015208\n# Rewrite_time: 0.000001084\n# Optimize_time: 0.000007292\n# Wait_TS: 0.000001917\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] +[2022/11/02 16:42:51.209 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:42:51.210 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:51.210 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:42:51.211 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.211 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:42:51.211 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:42:51.211 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=49.458µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:42:51.213 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.038875ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:51.215 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:42:51.215 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:42:51.216 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.216 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=52.75µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:42:51.218 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.170334ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:42:51.219 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093288173633543] [checkTS=437093288173633544] +[2022/11/02 16:42:51.222 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:51.222 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:51.222 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:51.291 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:51.291 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:51.291 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:51.357 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:51.357 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:51.357 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:51.473 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:51.473 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:51.473 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:51.818 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:51.818 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:51.818 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:52.203 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:42:52.362 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:52.362 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:52.362 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:53.427 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:53.427 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:53.427 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:54.469 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:54.469 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:54.469 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:56.173 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:56.173 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:56.173 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:57.923 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:57.923 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:57.923 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:42:59.405 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:42:59.405 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:42:59.405 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:00.475 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:00.475 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:00.475 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:02.476 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:02.476 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:02.476 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:03.705 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:03.705 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:03.705 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:05.552 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:05.552 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:05.552 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:06.593 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:06.593 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:06.593 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:07.962 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:07.962 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:07.962 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:09.031 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:09.031 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:09.031 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:10.725 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:10.725 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:10.725 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:11.993 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:11.993 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:11.994 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:13.242 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:13.242 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:13.242 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:15.002 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:15.002 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:15.002 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:16.804 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:16.805 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:16.805 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:17.829 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:17.829 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:17.829 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:19.316 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:19.316 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:19.316 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:21.273 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:21.273 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:21.273 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:23.144 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:23.144 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:23.144 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:24.610 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:24.610 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:24.610 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:26.106 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:26.106 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:26.106 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:27.429 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:27.429 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:27.429 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:28.893 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:28.893 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:28.893 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:29.980 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:29.980 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:29.980 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:31.550 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:31.550 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:31.550 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:31.550 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:27.429958+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:28.893349+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:29.980695+08:00\nlongest sleep type: tiflashRPC, time: 40232ms"] +[2022/11/02 16:43:31.550 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093288192507904\n# Conn_ID: 1\n# Query_time: 40.259392709\n# Parse_time: 0.000028\n# Compile_time: 0.000153334\n# Rewrite_time: 0.0000405\n# Optimize_time: 0.000065958\n# Wait_TS: 0.000007\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDAuM3MsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDAuM3MsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nselect count(*) from t;"] +[2022/11/02 16:43:31.550 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:43:31.550 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=500ns] +[2022/11/02 16:43:31.551 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=334ns] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:43:31.551 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=208ns] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=84ns] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] ["take time"=94.125µs] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=196.083µs] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +[2022/11/02 16:43:31.671 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:31.671 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:31.672 +08:00] [INFO] [misc.go:69] ["new domain"] [store=9728d46b-ce84-4cb7-a745-59b45f6c4edd] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:43:31.673 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.267333ms] +[2022/11/02 16:43:31.674 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:43:31.674 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] [runWorker=true] +[2022/11/02 16:43:31.674 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] +[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] +[2022/11/02 16:43:31.674 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:43:31.674 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:43:31.674 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:43:31.674 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:43:31.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.675 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:43:31.678 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.679 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=967.333µs] +[2022/11/02 16:43:31.679 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:43:31.680 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.261375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.681 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.682 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:43:31.682 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.682 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:43:31.682 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:43:31.684 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:43:31.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.688 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=359.667µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257792ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.691 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:43:31.692 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.692 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:43:31.693 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:43:31.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.695 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=72.958µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.697 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.26175ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.698 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:43:31.699 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.699 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:43:31.701 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.702 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=206.958µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.704 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.03575ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.705 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.706 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:43:31.706 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.706 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:43:31.707 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.707 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:43:31.709 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.710 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.712 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.258208ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.712 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.713 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:43:31.713 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.713 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:43:31.714 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:43:31.715 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=98.125µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.718 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.085917ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.719 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.720 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:43:31.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.722 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=70.5µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.724 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.344667ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.725 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:43:31.726 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.726 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:43:31.727 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.728 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=83.5µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.730 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.262584ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:43:31.732 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.732 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:43:31.733 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.734 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=81.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.736 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.258708ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.737 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.738 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:43:31.740 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.740 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=79.375µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.742 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.179209ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.744 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:31.745 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.746 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=130.042µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.749 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.259625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.749 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.750 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:43:31.750 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.750 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:43:31.751 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:43:31.752 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.753 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=105.25µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.755 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.160125ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.755 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.756 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:43:31.756 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.756 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:43:31.757 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.757 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:43:31.758 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.758 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=76.292µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.761 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.256416ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.761 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.762 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:43:31.762 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.762 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:43:31.763 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.763 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:43:31.764 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.764 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=83.375µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.227084ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.767 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.768 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:31.770 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.770 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=77.542µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.772 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.139041ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.773 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:43:31.774 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.774 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:43:31.775 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.776 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=87.708µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.778 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.256959ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:43:31.780 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.780 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:43:31.781 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.781 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=67.666µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.783 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.210083ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.785 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:43:31.786 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.787 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=104.042µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.789 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.259542ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.790 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.791 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:43:31.791 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:31.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:31.793 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.793 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.084µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.795 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.028333ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.796 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:43:31.797 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.797 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:43:31.798 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.798 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=56.625µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.801 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.259083ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.801 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.802 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:43:31.803 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.804 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.806 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.255416ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.806 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.807 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:43:31.807 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.807 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:43:31.808 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.808 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:43:31.809 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.810 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=108.875µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.812 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.254833ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.813 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:43:31.814 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.814 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:43:31.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.815 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=83.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.817 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.025209ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.818 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:31.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=76.041µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.263875ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.824 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:43:31.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:43:31.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:43:31.827 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.827 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.542µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.256334ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.830 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.831 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:43:31.832 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.833 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=69.709µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.835 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.259375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.836 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:43:31.837 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.837 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:43:31.838 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.839 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=72.167µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.841 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.258125ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.841 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.842 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:43:31.842 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.842 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:43:31.843 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.843 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:43:31.844 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.844 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=63.416µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.847 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.214958ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.847 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.848 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:43:31.849 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.850 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=90.167µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.852 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.091792ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.853 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:43:31.854 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.854 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:43:31.855 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.856 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=101.416µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.858 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.257209ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.859 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:43:31.860 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.860 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:43:31.861 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.862 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=86.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.864 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.257417ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.865 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:43:31.866 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:43:31.867 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=138.75µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.072333ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.871 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:43:31.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:43:31.873 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:43:31.874 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.874 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=69.958µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:43:31.876 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.271959ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.877 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:43:31.879 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.880 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.375µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:43:31.882 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.199709ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.883 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:31.884 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:43:31.884 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:31.890 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=216.014042ms] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=459ns] +[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=250ns] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=125ns] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=41ns] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] ["take time"=229.167µs] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:43:31.890 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=289.833µs] +[2022/11/02 16:43:31.890 +08:00] [INFO] [misc.go:69] ["new domain"] [store=9728d46b-ce84-4cb7-a745-59b45f6c4edd] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.694833ms] +[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=81052367-a8eb-4422-9e1e-f2c4014c209c] [runWorker=true] +[2022/11/02 16:43:31.893 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] +[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] +[2022/11/02 16:43:31.893 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:43:31.893 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:43:31.893 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:43:31.894 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:43:31.898 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:43:31.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:31.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:43:32.895 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.896 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=83.917µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:43:32.898 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.27975ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.899 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:32.900 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.002068875\n# Parse_time: 0.000021833\n# Compile_time: 0.000011375\n# Rewrite_time: 0.000000791\n# Optimize_time: 0.000005333\n# Wait_TS: 0.000001417\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] +[2022/11/02 16:43:32.900 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:43:32.902 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.902 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:43:32.902 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:43:32.903 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=58.166µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:43:32.905 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.055417ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:32.907 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:32.907 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:43:32.909 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.909 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=66.875µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:43:32.911 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.256708ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.912 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:32.913 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:43:32.913 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:32.913 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093299103465474] [checkTS=437093299103465475] +[2022/11/02 16:43:32.913 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:32.913 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:32.913 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:32.966 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:32.966 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:32.966 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:33.046 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:33.046 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:33.046 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:33.150 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:33.150 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:33.150 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:33.514 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:33.515 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:33.515 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:33.894 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:43:33.952 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:33.952 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:33.952 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:35.544 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:35.544 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:35.544 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:36.714 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:36.714 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:36.714 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:37.731 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:37.731 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:37.731 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:39.568 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:39.569 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:39.569 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:40.593 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:40.593 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:40.593 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:42.206 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:42.206 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:42.206 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:43.717 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:43.717 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:43.717 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:45.020 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:45.020 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:45.020 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:46.744 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:46.744 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:46.744 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:47.922 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:47.922 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:43:47.922 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +-- Test timed out at 2022-11-02 16:43:49 CST -- +================================================================================ +==================== Test output for //store:store_test: +[2022/11/02 16:43:50.284 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:50.284 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:43:50.285 +08:00] [INFO] [misc.go:69] ["new domain"] [store=64399a15-5930-42e3-81c3-2e77a53022aa] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=758.208µs] +[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] [runWorker=true] +[2022/11/02 16:43:50.288 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:43:50.303 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:43:50.303 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:43:50.303 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:43:50.304 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:43:50.305 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.305 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:43:50.307 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.308 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=857.875µs] +[2022/11/02 16:43:50.309 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:43:50.310 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.020041ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:43:50.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:43:50.313 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.313 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:43:50.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.317 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=295.125µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.319 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257125ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.320 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.321 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:43:50.321 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.321 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:43:50.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.322 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:43:50.323 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.324 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=112.166µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.326 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.194833ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.328 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:43:50.329 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.329 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:43:50.330 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.331 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=177.875µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.333 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.255083ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.334 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.335 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:43:50.335 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.335 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.337 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=102.209µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.339 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.257042ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.340 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.341 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:43:50.342 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.343 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=96.291µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.345 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.260917ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.346 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.347 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:43:50.348 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.349 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=50.709µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.351 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.258166ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.352 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:43:50.353 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.353 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:43:50.354 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.355 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=73.584µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.357 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.259ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.358 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:43:50.359 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.359 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:43:50.360 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.361 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=85.5µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.363 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.275709ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:43:50.365 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.365 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:43:50.367 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.367 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.334µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.369 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.092084ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.370 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.371 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:43:50.372 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.372 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:50.373 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.375 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=131.958µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.377 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.258792ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.377 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.378 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:43:50.378 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.378 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:43:50.379 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.379 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:43:50.380 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.381 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=120.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.383 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.142ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.385 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:43:50.386 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.386 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:43:50.388 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.388 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.5µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.390 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.074292ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.391 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.392 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:43:50.392 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.392 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:43:50.393 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.393 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:43:50.394 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.395 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=95.667µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.397 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.264542ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.398 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:50.399 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.401 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=79.666µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.403 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.258583ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.405 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:43:50.405 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.405 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:43:50.406 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.406 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:43:50.407 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.408 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=91.417µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.410 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.017708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.412 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.413 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:43:50.413 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.413 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:43:50.414 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.414 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:43:50.416 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.416 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=85.459µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.418 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.039916ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.420 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:43:50.420 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.420 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:43:50.422 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.423 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=110.25µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.425 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.09675ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.425 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.426 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:43:50.426 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.426 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:50.427 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.427 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:50.428 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.429 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=85.792µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.431 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.275125ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.433 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:43:50.433 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.433 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:43:50.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.435 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=62.958µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.437 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.152791ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.438 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:43:50.439 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:43:50.440 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.441 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46.959µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.443 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.253208ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.444 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:43:50.445 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.445 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:43:50.447 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.447 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=94.875µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.449 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.18275ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.450 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.451 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:43:50.451 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.451 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:43:50.452 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.452 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:43:50.453 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.454 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=79.625µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.456 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.268917ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.458 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:43:50.458 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.459 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:43:50.460 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.461 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=93µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.463 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.160292ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.464 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:43:50.465 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.465 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:43:50.467 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.468 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=83.417µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.470 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.26775ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.471 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.472 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:43:50.474 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.475 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=75.708µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.477 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.242542ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.478 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.479 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:43:50.481 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.481 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=85.084µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.484 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.246042ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.485 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:43:50.488 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.488 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:43:50.489 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.490 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=70.792µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.492 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.258125ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.493 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:43:50.494 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.494 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:43:50.496 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.496 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=93.25µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.499 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.254375ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.499 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.500 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:43:50.500 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.500 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:43:50.501 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.501 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:43:50.502 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.503 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=94.542µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.505 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.134083ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.506 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:43:50.507 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.507 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:43:50.509 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.510 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=96.459µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.512 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.024625ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.513 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:43:50.514 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.514 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:43:50.515 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.516 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=129.333µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.519 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.170875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.521 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:43:50.521 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.521 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:43:50.522 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.523 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=65.417µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:43:50.525 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.251667ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:43:50.528 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.529 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=91.167µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:43:50.531 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.158375ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.532 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:50.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:43:50.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:50.539 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=235.614084ms] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=584ns] +[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=375ns] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=375ns] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=42ns] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] ["take time"=160.083µs] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:43:50.539 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=254.542µs] +[2022/11/02 16:43:50.539 +08:00] [INFO] [misc.go:69] ["new domain"] [store=64399a15-5930-42e3-81c3-2e77a53022aa] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.665958ms] +[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] [runWorker=true] +[2022/11/02 16:43:50.542 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:43:50.543 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:43:50.543 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:43:50.543 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:43:50.543 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:43:50.547 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:43:50.548 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:50.548 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:43:51.545 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.546 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=55.75µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:43:51.548 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.184583ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:51.549 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.002005\n# Parse_time: 0.000021458\n# Compile_time: 0.000013167\n# Rewrite_time: 0.000001084\n# Optimize_time: 0.000005708\n# Wait_TS: 0.000001583\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] +[2022/11/02 16:43:51.550 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:43:51.550 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:51.550 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:43:51.552 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.552 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:43:51.552 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:43:51.553 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=63.208µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:43:51.555 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.167292ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:51.557 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:43:51.557 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:43:51.558 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.559 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=63.792µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:43:51.561 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.263125ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.562 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:43:51.563 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:43:51.563 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:43:51.563 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093303992451075] [checkTS=437093303992451076] +[2022/11/02 16:43:51.564 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:51.564 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:51.564 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:51.642 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:51.642 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:51.642 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:51.728 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:51.728 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:51.728 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:51.889 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:51.889 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:51.889 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:52.174 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:52.174 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:52.174 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:52.543 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:43:52.726 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:52.726 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:52.726 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:53.714 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:53.714 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:53.714 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:55.154 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:55.154 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:55.154 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:56.464 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:56.464 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:56.464 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:58.121 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:58.121 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:58.121 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:43:59.357 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:43:59.357 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:43:59.357 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:00.672 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:00.672 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:00.672 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:01.858 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:01.858 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:01.858 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:03.404 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:03.404 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:03.404 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:04.956 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:04.956 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:04.956 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:06.568 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:06.568 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:06.568 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:07.938 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:07.938 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:07.938 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:09.190 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:09.190 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:09.190 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:10.742 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:10.742 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:10.742 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:11.874 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:11.874 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:11.874 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:13.791 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:13.791 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:13.791 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:15.610 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:15.610 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:15.610 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:17.247 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:17.247 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:17.247 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:18.370 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:18.370 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:18.370 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:19.545 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:19.545 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:19.545 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:21.235 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:21.235 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:21.235 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:22.436 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:22.436 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:22.436 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:23.940 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:23.940 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:23.940 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:25.493 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:25.493 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:25.493 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:27.403 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:27.403 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:27.403 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:29.092 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:29.092 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:29.092 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:31.086 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:31.086 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:31.086 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:32.508 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:32.508 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:27.403667+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:29.092276+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:31.086818+08:00\nlongest sleep type: tiflashRPC, time: 40835ms"] +[2022/11/02 16:44:32.508 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093304013160448\n# Conn_ID: 1\n# Query_time: 40.8664515\n# Parse_time: 0.000029209\n# Compile_time: 0.000147041\n# Rewrite_time: 0.000034875\n# Optimize_time: 0.000065125\n# Wait_TS: 0.000005459\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDAuOXMsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDAuOXMsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nselect count(*) from t;"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=375ns] +[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=208ns] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=333ns] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] ["take time"=98.667µs] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:44:32.508 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=186.875µs] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:44:32.739 +08:00] [INFO] [misc.go:69] ["new domain"] [store=e4ee3808-65c0-4c00-8d86-87873682405f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=855.833µs] +[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] [runWorker=true] +[2022/11/02 16:44:32.740 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] +[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] +[2022/11/02 16:44:32.756 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:44:32.757 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:44:32.757 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:44:32.757 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:44:32.758 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.758 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:44:32.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.761 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=816.709µs] +[2022/11/02 16:44:32.761 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:44:32.762 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.111125ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.763 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:44:32.763 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:44:32.764 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:44:32.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.768 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=302.958µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.770 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.289416ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.771 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.773 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:44:32.773 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.773 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:44:32.774 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.774 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:44:32.775 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.775 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=65.708µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.777 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.174458ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.778 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.779 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:44:32.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:44:32.780 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.780 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:44:32.782 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.783 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=196.916µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.785 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.149208ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.786 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.788 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:44:32.790 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.790 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=98.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.792 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.094959ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.793 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.794 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:44:32.794 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.794 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:44:32.795 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.795 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:44:32.797 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.798 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=107.75µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.800 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.252625ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.802 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:44:32.802 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:44:32.803 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.804 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.334µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.806 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.268459ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.807 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:44:32.808 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.808 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:44:32.809 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.809 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=60.416µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.812 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.254ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.812 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.813 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:44:32.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.815 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=76.375µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.290291ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.818 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:44:32.819 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:44:32.820 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:44:32.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.792µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.254459ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.824 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:44:32.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:44:32.827 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.828 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=133.709µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.244084ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.831 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:44:32.832 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.832 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:44:32.833 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.833 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:44:32.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.836 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=121.25µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.838 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.270125ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.840 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:44:32.840 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:44:32.841 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.842 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=95.625µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.844 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.199333ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.845 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:44:32.846 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.846 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:44:32.847 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.847 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:44:32.848 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.849 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=80.916µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.851 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.268083ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.852 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:44:32.853 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.853 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:44:32.854 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.854 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:44:32.855 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.856 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=80.375µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.858 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.143125ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.859 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.860 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:44:32.860 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.860 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:44:32.861 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.861 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:44:32.862 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.863 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.865 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.158042ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.867 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:44:32.867 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.867 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:44:32.869 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.870 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=78.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.872 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.274209ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.873 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:44:32.874 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.874 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:44:32.876 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.877 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=135µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.880 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.287ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.881 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.882 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:44:32.882 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.882 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:44:32.883 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.884 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:44:32.885 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.886 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=107.208µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.888 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.058625ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.889 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.890 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:44:32.890 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.890 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:44:32.891 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.891 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:44:32.893 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.893 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=71µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.895 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.014416ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.896 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.897 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:44:32.897 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.897 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:44:32.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:44:32.900 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.900 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.416µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.902 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.268334ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.903 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.904 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:44:32.904 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.904 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:44:32.905 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.905 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:44:32.907 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.908 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=124.125µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.910 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.27025ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.911 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.912 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:44:32.912 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.912 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:44:32.913 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.913 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:44:32.914 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.915 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=91.292µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.917 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.177958ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.918 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.919 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:44:32.919 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.919 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:44:32.920 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.920 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:44:32.922 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.923 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=90.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.925 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.060084ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.926 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:44:32.927 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.927 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:44:32.928 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.928 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:44:32.930 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.932 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=102.708µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.934 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.136625ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.935 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:44:32.936 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.936 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:44:32.937 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.937 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:44:32.939 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.940 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=83.167µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.942 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.254666ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:44:32.944 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:44:32.946 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.947 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.875µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.949 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.059458ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.950 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.951 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:44:32.951 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.951 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:44:32.952 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.952 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:44:32.953 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.954 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=90.334µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.956 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.269166ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.957 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:44:32.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:44:32.960 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.961 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=89.917µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.963 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.12975ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.964 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.965 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:44:32.965 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.965 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:44:32.966 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.966 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:44:32.967 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.968 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=88.5µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.970 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.127916ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.971 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:44:32.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:44:32.973 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.973 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:44:32.974 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.975 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=104.25µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.977 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.246958ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.978 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.979 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:44:32.979 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.979 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:44:32.980 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.980 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:44:32.981 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.983 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=146.083µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.985 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.10625ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.986 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:44:32.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.987 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:44:32.988 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.988 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:44:32.989 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.990 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=89.75µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:44:32.992 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.083125ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:32.994 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:32.994 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:44:32.996 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:32.998 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.875µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:44:33.000 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.271625ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:33.008 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=251.726375ms] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=375ns] +[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=459ns] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=208ns] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=41ns] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:44:33.009 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] ["take time"=170.125µs] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:44:33.009 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=233.708µs] +[2022/11/02 16:44:33.009 +08:00] [INFO] [misc.go:69] ["new domain"] [store=e4ee3808-65c0-4c00-8d86-87873682405f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.896583ms] +[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=ab91eb3f-1bf7-4ac3-9ce2-e0879f106ce6] [runWorker=true] +[2022/11/02 16:44:33.012 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] +[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] +[2022/11/02 16:44:33.012 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:44:33.012 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:44:33.012 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:44:33.013 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:44:33.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] +[2022/11/02 16:44:33.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:33.019 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] +[2022/11/02 16:44:34.014 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.015 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=57.666µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:44:34.017 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.027917ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:34.018 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000549291\n# Parse_time: 0.000019291\n# Compile_time: 0.000013291\n# Rewrite_time: 0.00000125\n# Optimize_time: 0.00000725\n# Wait_TS: 0.000002916\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] +[2022/11/02 16:44:34.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] +[2022/11/02 16:44:34.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:34.019 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] +[2022/11/02 16:44:34.020 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.020 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] +[2022/11/02 16:44:34.020 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] +[2022/11/02 16:44:34.021 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=53.667µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:44:34.023 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.256ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:34.025 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:44:34.025 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] +[2022/11/02 16:44:34.028 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.028 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=67.75µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:44:34.030 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.105709ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.031 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:44:34.032 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:44:34.032 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:44:34.032 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093315125444613] [checkTS=437093315125444614] +[2022/11/02 16:44:34.033 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:34.033 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:34.033 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:34.133 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:34.133 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:34.133 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:34.204 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:34.204 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:34.204 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:34.322 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:34.322 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:34.322 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:34.556 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:34.556 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:34.556 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:35.012 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] +[2022/11/02 16:44:35.275 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:35.275 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:35.275 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:36.674 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:36.674 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:36.674 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:38.459 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:38.459 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:38.459 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:40.359 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:40.359 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:40.359 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:41.460 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:41.460 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:41.460 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:42.677 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:42.677 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:42.677 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:44.346 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:44.346 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:44.346 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:45.364 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:45.364 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:45.364 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:46.527 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:46.527 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] +[2022/11/02 16:44:46.527 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +[2022/11/02 16:44:48.379 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] +[2022/11/02 16:44:48.379 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] +[2022/11/02 16:44:48.379 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] +-- Test timed out at 2022-11-02 16:44:50 CST -- +================================================================================ +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3642) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3851) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3766) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3856) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3868) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3866) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3873) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +==================== Test output for //infoschema:infoschema_test (shard 5 of 50): +[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:08.047 +08:00] [INFO] [misc.go:69] ["new domain"] [store=edf02728-0c02-4731-8622-f81cc95dda6f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:08.049 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=911.709µs] +[2022/11/02 16:49:08.050 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:08.050 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] [runWorker=true] +[2022/11/02 16:49:08.050 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:49:08.065 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:08.065 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:08.065 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:08.066 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:08.068 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.068 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:08.070 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.071 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=823.917µs] +[2022/11/02 16:49:08.071 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:08.072 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.014917ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.074 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:08.074 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:08.075 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.075 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:08.076 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.079 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=293.625µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.081 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.054375ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.082 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.083 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:08.083 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.083 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:08.084 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.084 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:08.086 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.086 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=75.291µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.089 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.273208ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.089 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.090 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:08.090 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.090 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:08.091 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.091 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:08.092 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.094 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=188.375µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.096 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.23ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.097 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.098 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:08.098 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.098 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:08.099 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.099 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:08.100 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.101 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=103.834µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.103 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.261041ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.105 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.106 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:08.106 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.106 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:08.107 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.107 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:08.108 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.109 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=93.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.111 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.055792ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.113 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:08.113 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.113 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:08.114 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.115 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=58.584µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.117 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.096125ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.118 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:08.119 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.119 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:08.120 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.121 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=69.375µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.123 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.25675ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.124 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.125 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:08.126 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.127 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=81.333µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.129 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.268375ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.130 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.131 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:08.131 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.131 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:08.132 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.132 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:08.133 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.133 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=83.875µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.135 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.262708ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.136 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.137 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:08.138 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.138 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:08.139 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.140 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=141.25µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.142 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.027625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.143 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.144 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:08.144 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.144 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:08.145 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.145 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:08.147 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.148 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=118.875µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.150 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.260208ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.151 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:08.152 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:08.153 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.154 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=83.375µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.156 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.258042ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.157 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.158 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:08.160 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.161 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=89µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.163 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.058959ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.165 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:08.165 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.165 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:08.167 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.168 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=86.584µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.170 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.256417ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.171 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:08.172 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:08.173 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.174 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=79.5µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.176 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.224041ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.177 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.178 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:08.180 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.180 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=91.209µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.182 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.035458ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.183 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:08.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.184 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:08.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:08.187 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.188 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=122.041µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.191 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.25675ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.193 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.196 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:08.196 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.196 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:08.198 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:08.199 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.200 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=95.125µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.202 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.284417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:08.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:08.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:08.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=164.542µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.211 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=3.255167ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.212 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.213 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:08.213 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.213 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:08.214 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.214 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:08.216 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.217 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=53.25µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.219 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.246875ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.220 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.220 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:08.221 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.221 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:08.222 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.222 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:08.223 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.224 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=116.708µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.227 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.25775ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.228 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:08.230 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.230 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:08.232 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.233 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=85.667µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.235 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.261583ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.239 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:08.239 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.239 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:08.241 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.241 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:08.243 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.244 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=94.708µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.246 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.249042ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.248 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:08.251 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.251 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:08.253 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.255 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=89.75µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.257 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.168792ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.258 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:08.260 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.260 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:08.262 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.263 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=75.959µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.265 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.276291ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.266 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.267 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:08.267 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.267 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:08.268 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.268 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:08.270 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.272 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=95.042µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.274 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.135792ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.276 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:08.276 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.276 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:08.277 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.277 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:08.280 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.281 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=85.792µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.283 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.040917ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.284 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.285 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:08.286 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.286 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:08.288 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.290 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=106.459µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.292 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.318083ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.293 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.294 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:08.294 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.294 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:08.295 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:08.297 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.298 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=100.708µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.300 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.213375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.301 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.302 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:08.302 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.302 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:08.303 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.303 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:08.305 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.307 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=102.958µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.309 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.251083ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.310 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.311 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:08.311 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:08.313 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.313 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:08.315 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.317 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=231.667µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.319 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.229917ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.321 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:08.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.322 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:08.325 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.326 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=64.542µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:08.328 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.279542ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.330 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:08.330 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:08.331 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.332 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=99µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:08.334 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.018459ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.335 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:08.336 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:08.336 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:08.343 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=277.902833ms] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=541ns] +[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=334ns] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=292ns] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=41ns] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:08.344 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] ["take time"=132.166µs] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:08.344 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=189.959µs] +[2022/11/02 16:49:08.344 +08:00] [INFO] [misc.go:69] ["new domain"] [store=edf02728-0c02-4731-8622-f81cc95dda6f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.831083ms] +[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] [runWorker=true] +[2022/11/02 16:49:08.347 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:49:08.357 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:08.357 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:08.357 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:08.358 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:09.866 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.503674\n# Parse_time: 0.00000925\n# Compile_time: 0.000059291\n# Rewrite_time: 0.000011875\n# Optimize_time: 0.000012292\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:09.867 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=666ns] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:09.867 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=292ns] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=41ns] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=42ns] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] ["take time"=69.833µs] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:09.867 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=152.583µs] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +--- FAIL: TestForClusterServerInfo (2.09s) + cluster_tables_test.go:130: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5495/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 + Error: "0" is not greater than "0" + Test: TestForClusterServerInfo +[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:10.079 +08:00] [INFO] [misc.go:69] ["new domain"] [store=a5dfebf3-6910-45c2-b147-4b8096d3b29a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:10.079 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=813.583µs] +[2022/11/02 16:49:10.080 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:10.080 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] [runWorker=true] +[2022/11/02 16:49:10.080 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] +[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] +[2022/11/02 16:49:10.080 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:10.080 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:10.080 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:10.080 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:10.081 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.081 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:10.083 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.084 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=785.917µs] +[2022/11/02 16:49:10.084 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:10.085 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.25ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.086 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.087 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:10.087 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.087 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:10.087 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:10.088 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.088 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:10.090 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.092 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=299.833µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.094 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.287583ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.096 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.097 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:10.097 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.097 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:10.098 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.098 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:10.099 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.100 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=93.666µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.102 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.198708ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.103 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:10.104 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.104 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:10.107 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.109 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=206.292µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.111 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.266834ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.112 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.113 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:10.113 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.113 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:10.114 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.115 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:10.116 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.117 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.125µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.119 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.298042ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.120 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.121 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:10.121 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.121 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:10.122 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.122 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:10.123 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.124 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=104.792µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.126 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.276583ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.127 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.128 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:10.128 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.128 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:10.129 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.129 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:10.130 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.131 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.625µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.133 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.031416ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.133 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.134 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:10.136 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.137 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=70.792µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.139 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.267167ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.140 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:10.141 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.141 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:10.142 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.143 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=84.75µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.145 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.077667ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.146 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:10.147 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.147 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:10.148 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.149 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=92.166µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.151 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.257875ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.152 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:10.153 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.153 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:10.154 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.155 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=129.584µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.158 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.408167ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.159 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:10.160 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.160 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:10.161 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.162 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=107.709µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.164 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.151541ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.166 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:10.166 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.166 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:10.167 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.168 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=84.375µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.170 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.198458ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.171 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.172 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:10.174 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.175 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=87µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.177 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.260708ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.178 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:10.179 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.179 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:10.180 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.181 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=84.709µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.183 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.277541ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.185 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:10.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:10.187 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.188 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90.417µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.190 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.2585ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.191 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:10.192 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.192 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:10.194 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.194 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=85.542µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.196 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.265542ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.197 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:10.198 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.198 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:10.199 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.199 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:10.200 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.201 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=120.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.203 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.209916ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:10.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:10.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:10.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=91.334µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.210 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.267417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.211 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.212 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:10.214 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=66.542µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.216 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.071791ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.217 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.218 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:10.218 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.218 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:10.219 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.219 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:10.220 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.221 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=50µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.223 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.225834ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.224 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:10.225 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.225 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:10.227 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.227 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=107.375µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.229 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.279375ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.230 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.231 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:10.231 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.231 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:10.232 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:10.233 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.234 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=89.916µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.236 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.270708ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.237 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:10.238 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.238 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:10.240 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.240 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=82.542µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.242 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.259125ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.243 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.244 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:10.244 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.244 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:10.245 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.245 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:10.247 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.248 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.834µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.250 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.18425ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.251 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:10.252 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.252 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:10.253 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.254 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=76.417µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.256 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.268917ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.257 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.258 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:10.259 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.260 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=78.375µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.262 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.270333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.263 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.264 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:10.265 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.266 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=69.042µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.268 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.228334ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.269 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:10.270 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.270 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:10.271 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.272 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=84.083µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.274 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.279334ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.275 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:10.276 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.276 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:10.277 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.278 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=91.125µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.280 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.258834ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.281 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.282 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:10.284 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.284 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=88.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.287 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.256709ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.287 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.288 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:10.288 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.288 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:10.289 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.289 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:10.290 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.291 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=139.709µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.293 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.254541ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.294 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.295 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:10.296 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.297 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=53.667µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:10.299 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.270292ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.301 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.301 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:10.302 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.303 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=90.833µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:10.305 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.274791ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.306 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:10.307 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:10.307 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:10.313 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=233.081ms] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=458ns] +[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=333ns] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=209ns] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=83ns] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=42ns] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] ["take time"=183.792µs] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:10.313 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=225.292µs] +[2022/11/02 16:49:10.313 +08:00] [INFO] [misc.go:69] ["new domain"] [store=a5dfebf3-6910-45c2-b147-4b8096d3b29a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.727666ms] +[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] [runWorker=true] +[2022/11/02 16:49:10.316 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] +[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] +[2022/11/02 16:49:10.317 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:10.317 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:10.317 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:10.317 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:10.322 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] +[2022/11/02 16:49:10.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:10.322 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] +[2022/11/02 16:49:11.319 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.321 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=25.958µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:49:11.323 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.059958ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.324 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.325 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:49:11.325 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.325 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.003098416\n# Parse_time: 0.000005458\n# Compile_time: 0.000017166\n# Rewrite_time: 0.000000791\n# Optimize_time: 0.000009958\n# Wait_TS: 0.000001417\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] +[2022/11/02 16:49:11.325 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] +[2022/11/02 16:49:11.326 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.326 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] +[2022/11/02 16:49:11.327 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.328 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=54.875µs] [phyTblIDs="[72]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.330 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.293459ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.331 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.332 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:49:11.332 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.332 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] +[2022/11/02 16:49:11.333 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.333 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] +[2022/11/02 16:49:11.335 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.336 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=64.25µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.338 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.241ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.339 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.340 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=77.959µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.342 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.259333ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.343 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.344 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] +[2022/11/02 16:49:11.344 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=3µs] +[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=417ns] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=375ns] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=41ns] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=41ns] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] ["take time"=1.057959ms] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:11.345 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=1.173542ms] +[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +FAIL +================================================================================ +==================== Test output for //infoschema:infoschema_test (shard 5 of 50): +[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:11.627 +08:00] [INFO] [misc.go:69] ["new domain"] [store=01893363-c0f7-4ca1-8f5e-91231294b660] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=809.667µs] +[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] [runWorker=true] +[2022/11/02 16:49:11.629 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:49:11.629 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:11.629 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:11.629 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:11.629 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:11.631 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.631 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:11.632 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.633 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=705.791µs] +[2022/11/02 16:49:11.633 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:11.635 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.265542ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.635 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.636 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:11.636 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.636 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:11.636 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:11.637 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.637 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:11.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.641 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=307.75µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.643 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.259791ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.644 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:11.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:11.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:11.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=67.875µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.259167ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.653 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:11.653 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.653 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:11.654 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:11.656 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.657 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=211.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.659 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.112583ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.660 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.661 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:11.661 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.661 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:11.662 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:11.663 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.664 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=109.167µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.666 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.256625ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.666 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.667 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:11.667 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.667 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:11.668 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.668 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:11.669 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.669 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=99.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.672 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.256958ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.672 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.673 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:11.675 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.675 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=57.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.677 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.2595ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.678 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:11.679 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.679 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:11.680 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.681 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=67.458µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.683 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.272625ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.685 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:11.685 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.685 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:11.687 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.687 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=80.75µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.25575ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.690 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:11.691 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.691 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:11.692 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:11.693 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.694 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=80.667µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.696 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.263334ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.696 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.697 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:11.698 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:11.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.700 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=131.25µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.255083ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.703 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.704 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:11.706 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.707 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=110.375µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.709 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.257584ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.709 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.710 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:11.710 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.710 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:11.711 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:11.712 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.713 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=77.708µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.715 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.260167ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.715 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.716 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:11.716 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.716 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:11.717 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.717 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:11.718 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.719 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=82.875µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.721 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.231417ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.721 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.722 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:11.722 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.722 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:11.723 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.723 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:11.724 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.725 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=88.334µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.727 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.2595ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.727 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:11.728 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.728 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:11.729 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.729 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:11.730 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.731 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=75.75µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.733 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.255209ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.733 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.735 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:11.735 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.736 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:11.736 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.736 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:11.738 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=88.083µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.741 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.257167ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:11.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.742 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:11.743 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.743 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:11.744 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.744 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=107.334µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.747 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.258333ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.747 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.748 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:11.748 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.748 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:11.749 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.749 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:11.750 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.750 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=79.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.752 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.2575ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.753 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.754 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:11.755 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.756 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=54.792µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.758 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.260959ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:11.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:11.761 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.761 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=40.792µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.260834ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.765 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:11.765 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:11.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=108.959µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.230542ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.770 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:11.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:11.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=88.333µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.226667ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.775 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.776 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:11.776 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.776 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:11.777 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:11.778 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.778 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=68.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.780 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.114709ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.781 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:11.782 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.782 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:11.783 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.784 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=78.125µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.786 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.112875ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.786 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.787 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:11.788 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.789 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=62µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.791 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.256583ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.792 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:11.793 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.793 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:11.794 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.795 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=67.25µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.797 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.256875ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.797 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.798 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:11.801 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.801 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=99µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.803 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.257416ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.804 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.805 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:11.806 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.806 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:11.807 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.807 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=86.875µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.810 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.25975ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.810 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.811 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:11.813 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.813 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=96.25µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.815 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.255791ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.816 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.817 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:11.818 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.819 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=82.583µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.821 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.257084ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.822 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:11.823 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.823 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:11.824 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.825 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=134.333µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.827 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.255875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.828 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.829 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:11.830 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.831 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=48.875µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:11.833 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.255667ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.833 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:11.835 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.836 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=78.666µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:11.838 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.255042ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:11.845 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=216.393ms] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=584ns] +[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=250ns] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=250ns] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=83ns] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=41ns] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:11.846 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] ["take time"=125.083µs] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:11.846 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=171.792µs] +[2022/11/02 16:49:11.846 +08:00] [INFO] [misc.go:69] ["new domain"] [store=01893363-c0f7-4ca1-8f5e-91231294b660] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.643208ms] +[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=d61306db-befd-41ad-8049-4114d0012373] [runWorker=true] +[2022/11/02 16:49:11.848 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:49:11.849 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:11.849 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:11.849 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:11.850 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:13.357 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.5034306659999999\n# Parse_time: 0.000005375\n# Compile_time: 0.000043416\n# Rewrite_time: 0.00001425\n# Optimize_time: 0.000009833\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:13.359 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=500ns] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:13.359 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=292ns] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=41ns] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=0s] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=d61306db-befd-41ad-8049-4114d0012373] ["take time"=86.208µs] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=d61306db-befd-41ad-8049-4114d0012373] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:13.359 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=201.667µs] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +--- FAIL: TestForClusterServerInfo (1.85s) + cluster_tables_test.go:130: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5509/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 + Error: "0" is not greater than "0" + Test: TestForClusterServerInfo +[2022/11/02 16:49:13.459 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:13.459 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:13.460 +08:00] [INFO] [misc.go:69] ["new domain"] [store=f7a0b537-196f-4bb9-8b46-292a0d6b741a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.162709ms] +[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] [runWorker=true] +[2022/11/02 16:49:13.461 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] +[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] +[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:13.477 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:13.477 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:13.477 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:13.477 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:13.478 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.478 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:13.480 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.481 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=944.292µs] +[2022/11/02 16:49:13.481 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:13.483 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.259625ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:13.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:13.486 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.486 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:13.488 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.490 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=357µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.492 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.273625ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.494 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.495 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:13.495 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.495 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:13.496 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.496 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:13.497 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.498 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=65.791µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.500 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.168833ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.500 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.501 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:13.501 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.501 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:13.502 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.502 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:13.503 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.505 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195.208µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.507 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.255167ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.508 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.509 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:13.509 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.509 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:13.510 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.510 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:13.511 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.511 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=112.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.514 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.280458ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.514 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.515 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:13.515 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.515 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:13.516 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.516 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:13.517 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.518 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=102.416µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.520 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.274708ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.521 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.522 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:13.522 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.522 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:13.523 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.523 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:13.524 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.524 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=67.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.526 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.271417ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.527 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:13.528 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.528 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:13.529 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.530 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=73µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.532 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.264459ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.533 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:13.534 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:13.535 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.536 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=113.375µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.538 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.243125ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.539 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.540 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:13.540 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.540 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:13.541 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.541 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:13.542 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.543 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=99.208µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.545 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.261625ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.546 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:13.547 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.547 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:13.548 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.550 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=157.75µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.552 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.2595ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.553 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:13.554 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:13.556 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.557 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=130.625µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.559 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.1835ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.561 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:13.561 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.561 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:13.563 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.563 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=87.041µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.566 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.253208ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.566 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.567 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:13.569 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.569 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=84.292µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.572 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.268458ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.572 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.573 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:13.573 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.573 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:13.574 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.574 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:13.575 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.576 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=93.375µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.578 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.020875ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.578 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.579 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:13.579 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.579 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:13.580 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.580 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:13.581 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.582 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90.666µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.584 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.257417ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.584 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:13.585 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.585 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:13.586 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.586 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:13.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.588 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.583µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.590 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.260375ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:13.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:13.593 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.594 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=124.25µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.596 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.276417ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.597 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.598 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:13.598 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.598 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:13.599 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.599 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:13.600 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.601 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=93.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.603 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.263958ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.604 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.605 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.606 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:13.608 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.609 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=67.208µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.611 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.067375ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.612 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:13.613 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.613 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:13.614 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.615 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=53.542µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.617 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.256291ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.618 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:13.619 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.619 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:13.621 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.622 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=110.333µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.624 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.271166ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.625 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:13.626 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.626 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:13.627 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.627 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:13.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=89.084µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.188542ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.632 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:13.633 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:13.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.635 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=150.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.637 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.037208ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.639 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:13.639 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.639 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:13.641 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.641 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.667µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.249083ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.644 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:13.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:13.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:13.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=74.25µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.075833ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.651 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:13.652 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:13.653 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.654 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.292µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.656 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.164792ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.657 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:13.658 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.658 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:13.660 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.660 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=72.041µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.662 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.04425ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.663 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:13.666 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.667 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=154.959µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.668 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.070042ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.669 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.670 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:13.670 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.670 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:13.671 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.671 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:13.672 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.673 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.675 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.240833ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.676 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:13.677 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.677 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:13.678 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.679 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=98.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.681 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.27425ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.682 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.683 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:13.683 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.683 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:13.684 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:13.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.687 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=154.75µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.115708ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.689 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.690 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:13.690 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.690 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:13.691 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:13.692 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.693 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=64.375µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:13.695 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.231458ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.697 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:13.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.700 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=99.25µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:13.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.165459ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:13.710 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=232.453416ms] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=334ns] +[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=250ns] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=208ns] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=84ns] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=42ns] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] ["take time"=217.667µs] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:13.710 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=274.625µs] +[2022/11/02 16:49:13.710 +08:00] [INFO] [misc.go:69] ["new domain"] [store=f7a0b537-196f-4bb9-8b46-292a0d6b741a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.848084ms] +[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] [runWorker=true] +[2022/11/02 16:49:13.713 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] +[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] +[2022/11/02 16:49:13.713 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:13.713 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:13.713 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:13.714 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:13.719 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] +[2022/11/02 16:49:13.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:13.720 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] +[2022/11/02 16:49:14.716 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=29.333µs] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:49:14.719 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.243416ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.720 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.721 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:49:14.721 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:14.721 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.001540416\n# Parse_time: 0.000005833\n# Compile_time: 0.000017375\n# Rewrite_time: 0.000000875\n# Optimize_time: 0.000006084\n# Wait_TS: 0.000001792\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] +[2022/11/02 16:49:14.721 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] +[2022/11/02 16:49:14.722 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:14.722 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] +[2022/11/02 16:49:14.724 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.725 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=47.834µs] [phyTblIDs="[72]"] [actionTypes="[8]"] +[2022/11/02 16:49:14.727 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.283375ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.728 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.729 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:49:14.729 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:14.729 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] +[2022/11/02 16:49:14.730 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:14.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] +[2022/11/02 16:49:14.732 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=81.958µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:14.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.169375ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.736 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.737 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=239.5µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:14.740 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=3.225166ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:14.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] +[2022/11/02 16:49:14.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=333ns] +[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=292ns] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=166ns] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=42ns] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=42ns] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] ["take time"=710.584µs] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:14.744 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=833.584µs] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +FAIL +================================================================================ +==================== Test output for //infoschema:infoschema_test (shard 5 of 50): +[2022/11/02 16:49:15.294 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:15.296 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c20b2a6d-7706-4f1e-a8bd-14e47fb2f5b9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=847µs] +[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] [runWorker=true] +[2022/11/02 16:49:15.298 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:49:15.334 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:15.353 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:15.353 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:15.354 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:15.357 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.357 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:15.359 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.361 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=975.417µs] +[2022/11/02 16:49:15.361 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:15.362 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.19075ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:15.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:15.366 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.366 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:15.368 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.372 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=321.208µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.374 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.286791ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.376 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.378 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:15.378 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.378 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:15.379 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.379 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:15.382 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.382 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=79.542µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.385 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.299125ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.386 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.387 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:15.387 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.387 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:15.388 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.388 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:15.390 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.392 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=219.75µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.394 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.041167ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.395 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.396 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:15.396 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.396 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:15.398 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.398 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:15.399 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.400 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.416µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.402 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.266417ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.404 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:15.408 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.408 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:15.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.411 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=104.291µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.413 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.261541ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.414 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.415 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:15.415 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.415 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:15.416 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.416 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:15.417 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.418 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=60.291µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.420 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.261ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.421 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.422 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:15.422 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.422 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:15.423 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.423 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:15.425 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.426 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=66.583µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.428 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.261542ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.429 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.430 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:15.430 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.430 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:15.431 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.431 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:15.433 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.434 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=96.875µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.436 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.263041ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.438 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:15.439 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:15.441 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.442 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=87.041µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.444 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.266209ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.445 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:15.448 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.449 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=143.292µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.451 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.015625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.452 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.453 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:15.453 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.453 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:15.454 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.454 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:15.456 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.461 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=128µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.463 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.111333ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.465 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.466 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:15.466 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.466 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:15.468 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.468 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:15.471 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.472 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=94.083µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.474 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.263292ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.475 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.476 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:15.476 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.476 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:15.477 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.477 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:15.479 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.480 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=103.458µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.482 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.3065ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.483 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:15.486 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.487 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=79.958µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.489 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.065042ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.490 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.491 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:15.491 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.491 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:15.492 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.492 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:15.493 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.494 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=98.375µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.496 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.086958ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.497 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.498 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:15.500 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.501 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.666µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.503 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.27325ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.504 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.505 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:15.505 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.505 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:15.506 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:15.509 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.511 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=127.667µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.513 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.265833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.514 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.517 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:15.517 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.518 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:15.519 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.519 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:15.520 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.521 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=89.583µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.524 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.267333ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.526 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:15.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:15.529 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.530 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=70.833µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.532 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.082125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.534 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:15.536 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.536 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:15.539 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.539 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.541 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.09375ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.543 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.544 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:15.544 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.544 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:15.546 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.546 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:15.548 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.549 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=132.583µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.551 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.1965ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.552 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.553 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:15.553 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.553 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:15.554 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:15.556 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.557 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=94.042µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.559 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.133125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.560 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.561 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:15.561 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.561 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:15.562 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.562 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:15.563 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.565 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=104.75µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.566 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.045041ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.568 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.569 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:15.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.572 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=109.917µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.574 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.224375ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.576 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:15.577 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.577 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:15.578 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.578 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:15.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=87.833µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.048667ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:15.584 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.584 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:15.585 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:15.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.588 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=95.334µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.590 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.267167ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.592 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:15.593 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.593 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:15.596 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.596 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=78.875µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.599 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.283583ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.600 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:15.601 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.601 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:15.604 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.606 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=101.666µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.608 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.283083ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.610 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:15.612 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.612 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:15.614 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.615 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=106.916µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.617 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.152375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.619 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.620 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:15.620 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.621 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:15.622 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.622 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:15.624 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.626 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=98.917µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.628 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.088958ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.629 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.630 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:15.630 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.630 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:15.632 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:15.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.636 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=169.833µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.638 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.175666ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.640 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.641 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:15.641 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.641 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:15.644 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:15.644 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=105.625µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:15.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.187875ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.655 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:15.655 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:15.657 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.658 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=104µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:15.660 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.268959ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:15.670 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=316.673792ms] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=708ns] +[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=500ns] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=458ns] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=42ns] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=1.458µs] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] ["take time"=154.291µs] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:15.670 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=214.959µs] +[2022/11/02 16:49:15.670 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c20b2a6d-7706-4f1e-a8bd-14e47fb2f5b9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=3.271583ms] +[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=db6cd884-acf1-47a8-9092-20795360245e] [runWorker=true] +[2022/11/02 16:49:15.674 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:49:15.683 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:15.683 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:15.683 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:15.684 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:17.193 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.50497325\n# Parse_time: 0.000006542\n# Compile_time: 0.000040458\n# Rewrite_time: 0.000011958\n# Optimize_time: 0.000010709\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:17.194 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=417ns] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:17.194 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=417ns] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=208ns] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=0s] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=db6cd884-acf1-47a8-9092-20795360245e] ["take time"=56.667µs] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=db6cd884-acf1-47a8-9092-20795360245e] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:17.194 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=131.584µs] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +--- FAIL: TestForClusterServerInfo (2.24s) + cluster_tables_test.go:130: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5512/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 + Error: "0" is not greater than "0" + Test: TestForClusterServerInfo +[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:49:17.422 +08:00] [INFO] [misc.go:69] ["new domain"] [store=6e1e9476-9ae7-4ad6-9970-a1a1ecbc4add] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=886.375µs] +[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] [runWorker=true] +[2022/11/02 16:49:17.423 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:17.423 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:17.423 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:17.423 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:17.423 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] +[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] +[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:17.424 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.424 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:49:17.426 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.428 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=797.75µs] +[2022/11/02 16:49:17.428 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:49:17.429 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.2605ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.430 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.431 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:49:17.431 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:49:17.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:49:17.433 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.433 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:49:17.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.437 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=308.292µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.439 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.341875ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.441 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.442 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:49:17.442 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.443 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:49:17.443 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.443 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:49:17.445 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.445 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=76.333µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.447 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.052875ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.448 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.449 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:49:17.449 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.449 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:49:17.450 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.450 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:49:17.452 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.453 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=201.875µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.455 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.404125ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.457 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.458 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:49:17.459 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.459 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:49:17.460 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.460 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:49:17.461 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.462 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=127.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.465 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.437208ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.466 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.467 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:49:17.467 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.467 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:49:17.468 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.468 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:49:17.469 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.470 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=110.583µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.472 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.151083ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.474 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:49:17.475 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.475 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:49:17.476 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.477 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=66.292µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.479 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.259792ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.481 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:49:17.483 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.483 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:49:17.484 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.485 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=70.584µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.487 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.082291ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.489 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:49:17.490 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.490 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:49:17.492 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.493 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=95.417µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.495 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.171459ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.496 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.497 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:49:17.497 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.497 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:49:17.498 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:49:17.500 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.501 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=98.833µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.503 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.176541ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.504 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.505 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:49:17.506 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:17.507 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.509 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=140µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.511 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.279584ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.512 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.513 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:49:17.513 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.513 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:49:17.514 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.514 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:49:17.515 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.516 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=123.292µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.519 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.256042ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.520 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:17.521 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.521 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:17.523 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.524 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=85.917µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.526 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.2125ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.527 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.528 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:49:17.528 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.528 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:49:17.529 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.529 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:49:17.530 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.531 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=97.625µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.533 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.090667ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.535 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:17.536 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.536 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:17.537 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.538 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=81.084µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.540 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.138834ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.541 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.542 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:49:17.542 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.542 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:49:17.543 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.543 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:49:17.545 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.546 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=84.5µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.548 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.091292ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.549 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.550 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:49:17.552 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.553 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=83.167µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.555 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.131875ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.556 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.557 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:49:17.557 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.557 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:49:17.558 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.558 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:49:17.561 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.562 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=137.708µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.564 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.051833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.565 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.566 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:49:17.566 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.567 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:17.568 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.568 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:17.570 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.571 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=99.583µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.573 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.16125ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:49:17.577 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:49:17.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=67.834µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.01175ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.583 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:49:17.584 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:49:17.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.587 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=65.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.589 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.283042ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:49:17.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:49:17.595 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.596 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=123.292µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.598 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.265166ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.599 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:49:17.600 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.600 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:49:17.602 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.602 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:49:17.604 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.605 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=92.667µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.607 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.131458ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.608 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.609 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:49:17.609 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.609 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:49:17.610 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.610 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:49:17.612 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.613 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=88.833µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.615 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.297958ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.617 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:49:17.618 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.618 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:49:17.620 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.621 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=90.166µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.623 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.089875ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.624 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.625 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:49:17.625 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.625 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:49:17.626 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:49:17.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=87.792µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.262125ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:49:17.633 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.633 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:17.634 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.634 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:17.635 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.636 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=86.75µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.638 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.267ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.639 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.640 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:49:17.640 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.640 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:49:17.641 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.641 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:49:17.642 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.643 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=75.958µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.645 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.115792ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.646 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:49:17.647 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.647 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:49:17.648 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.649 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=98.959µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.651 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.189917ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.652 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.653 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:49:17.653 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.653 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:49:17.654 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:49:17.655 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.656 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=100.5µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.658 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.293375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.659 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.660 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:49:17.660 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.660 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:49:17.661 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.661 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:49:17.662 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.663 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=93.542µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.665 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.264083ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.666 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:49:17.667 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.667 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:49:17.668 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.670 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=149.625µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.672 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.278625ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.673 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:49:17.674 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.674 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:49:17.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.675 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:49:17.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=70.875µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:49:17.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.296042ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.681 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:49:17.683 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.684 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=86.958µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:49:17.686 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.032167ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.687 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:17.688 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:49:17.688 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:17.694 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=271.260541ms] +[2022/11/02 16:49:17.694 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:17.694 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=541ns] +[2022/11/02 16:49:17.694 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=375ns] +[2022/11/02 16:49:17.694 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:17.695 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=208ns] +[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=42ns] +[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=41ns] +[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] ["take time"=232.125µs] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:17.695 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=296.334µs] +[2022/11/02 16:49:17.695 +08:00] [INFO] [misc.go:69] ["new domain"] [store=6e1e9476-9ae7-4ad6-9970-a1a1ecbc4add] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.706834ms] +[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] [runWorker=true] +[2022/11/02 16:49:17.698 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] +[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] +[2022/11/02 16:49:17.706 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:49:17.706 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:49:17.706 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:49:17.707 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:49:17.711 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] +[2022/11/02 16:49:17.712 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:17.712 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] +[2022/11/02 16:49:18.718 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.420792ms] [phyTblIDs="[]"] [actionTypes="[]"] +[2022/11/02 16:49:18.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=4.064708ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:18.758 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.04719575\n# Parse_time: 0.000005667\n# Compile_time: 0.000015\n# Rewrite_time: 0.000000959\n# Optimize_time: 0.000006125\n# Wait_TS: 0.000001542\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] +[2022/11/02 16:49:18.758 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] +[2022/11/02 16:49:18.768 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:18.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] +[2022/11/02 16:49:18.779 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.780 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=56.125µs] [phyTblIDs="[72]"] [actionTypes="[8]"] +[2022/11/02 16:49:18.782 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.040333ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.793 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] +[2022/11/02 16:49:18.793 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:18.793 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] +[2022/11/02 16:49:18.794 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:49:18.794 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] +[2022/11/02 16:49:18.797 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.813 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=92.833µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:18.815 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.192334ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.816 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.816 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=66.541µs] [phyTblIDs="[74]"] [actionTypes="[8]"] +[2022/11/02 16:49:18.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.08325ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.819 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:49:18.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] +[2022/11/02 16:49:18.820 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=500ns] +[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=542ns] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=209ns] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=125ns] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=42ns] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] ["take time"=1.137208ms] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:49:18.821 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=1.22775ms] +[2022/11/02 16:49:18.858 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +FAIL +================================================================================ +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-4127) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +==================== Test output for //br/pkg/storage:storage_test: +[2022/11/02 16:48:51.122 +08:00] [INFO] [azblob.go:187] ["Get azure sharedKey from environment variable $AZURE_STORAGE_KEY"] +[2022/11/02 16:48:54.722 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +[2022/11/02 16:48:54.724 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +[2022/11/02 16:48:54.724 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] +-- Test timed out at 2022-11-02 16:49:08 CST -- +================================================================================ +stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3992) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping +==================== Test output for //statistics/handle:handle_test (shard 18 of 50): +[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:48.676 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:48.676 +08:00] [INFO] [misc.go:69] ["new domain"] [store=0bf4e50b-0ae9-47a0-bd97-d29e6e38d65c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:48.677 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=761.25µs] +[2022/11/02 16:50:48.678 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:48.678 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] [runWorker=true] +[2022/11/02 16:50:48.678 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] +[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] +[2022/11/02 16:50:48.694 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:48.694 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:48.694 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:48.695 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:50:48.696 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.696 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:50:48.697 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.699 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=764.208µs] +[2022/11/02 16:50:48.699 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:50:48.700 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.26375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.701 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:50:48.701 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:50:48.703 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:50:48.704 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.706 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=296.291µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.708 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.255792ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.709 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.711 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:50:48.713 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.713 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=64.834µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.716 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.253083ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.716 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.717 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:50:48.717 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.717 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:50:48.718 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.718 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:50:48.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.723 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195.917µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.725 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.266375ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.726 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.727 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:50:48.727 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.727 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:50:48.728 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:50:48.729 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.730 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=96µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.732 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.258292ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.733 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:50:48.734 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.734 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:50:48.735 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.736 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=96.75µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.738 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.237458ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.739 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.740 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:50:48.740 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.740 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:50:48.741 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.741 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:50:48.742 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.742 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=52.041µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.745 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.481833ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.746 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:50:48.747 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.747 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:50:48.748 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.749 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=68.667µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.751 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.255625ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.751 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.752 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:50:48.752 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.752 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:50:48.753 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.753 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:50:48.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=79.958µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.757 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.180333ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.757 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:50:48.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.758 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:50:48.759 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:50:48.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.760 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=73.709µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.256334ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.763 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.764 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:48.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=126.459µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.270791ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.770 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:50:48.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:50:48.773 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=104.458µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.776 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.258291ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:50:48.777 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.777 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:48.778 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:48.779 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.780 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.792µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.782 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.104375ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.783 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:48.784 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.784 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:48.786 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.786 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=90.75µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.788 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.171209ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.789 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.790 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:48.792 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.793 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=69.833µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.795 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.60425ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.796 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:50:48.797 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.797 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:50:48.799 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.799 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=86.541µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.802 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.256708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.802 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.803 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:50:48.803 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.803 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:50:48.804 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:50:48.805 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.806 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.807 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.809 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.282958ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.810 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.811 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.812 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:50:48.813 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.814 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=122.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.816 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.257833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.817 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.818 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:50:48.818 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:48.820 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:48.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=79.625µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.201708ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:50:48.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:50:48.828 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.828 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=66.792µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.08875ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.831 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.832 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:50:48.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.834 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=50µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.836 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.167667ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.837 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:50:48.838 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.838 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:50:48.840 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.840 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=115.75µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.843 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.257334ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.844 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.845 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:50:48.845 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.845 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:50:48.846 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:50:48.847 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.849 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=91.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.851 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.253833ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.852 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:48.853 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:48.854 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.855 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=81.709µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.857 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.266459ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.858 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.859 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:50:48.861 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.862 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=81.458µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.864 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.279334ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.865 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:50:48.866 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:50:48.868 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=67.708µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.260375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.871 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:50:48.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:48.873 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:48.874 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.875 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.917µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.877 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.260333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.878 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.879 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:50:48.879 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.879 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:50:48.880 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.880 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:50:48.881 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.882 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=65.125µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.884 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.280708ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.885 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.886 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:50:48.887 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.887 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:48.890 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.891 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=89.417µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.893 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.2625ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.894 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:50:48.895 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.895 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:50:48.896 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.897 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=108.916µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.899 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.028666ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.900 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.901 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:50:48.901 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.901 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:50:48.902 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.902 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:50:48.903 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.904 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=90.041µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.906 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.286959ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.907 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.908 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:50:48.908 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.908 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:50:48.909 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.909 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:50:48.910 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.911 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=144.209µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.913 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.554958ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.915 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:50:48.915 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.915 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:50:48.916 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.916 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:50:48.917 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.917 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=49.209µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:50:48.919 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.032916ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.920 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:50:48.923 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.923 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=85.291µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:50:48.926 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.254541ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.926 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:48.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:50:48.927 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:48.933 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=238.700084ms] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=292ns] +[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=250ns] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=125ns] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=125ns] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=42ns] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] ["take time"=122.25µs] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:48.933 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=175.25µs] +[2022/11/02 16:50:48.933 +08:00] [INFO] [misc.go:69] ["new domain"] [store=0bf4e50b-0ae9-47a0-bd97-d29e6e38d65c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.688542ms] +[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] [runWorker=true] +[2022/11/02 16:50:48.936 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] +[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] +[2022/11/02 16:50:48.953 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:48.953 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:48.953 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:48.954 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:50:48.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int, b int, c int)"] [user=] +[2022/11/02 16:50:48.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:48.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int, b int, c int)"] +[2022/11/02 16:50:49.938 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.938 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=54.5µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:50:49.940 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.057625ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.941 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.942 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:50:49.942 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:49.942 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.983752291\n# Parse_time: 0.00001175\n# Compile_time: 0.000010333\n# Rewrite_time: 0.000000833\n# Optimize_time: 0.000005458\n# Wait_TS: 0.000001541\n# DB: test\n# Is_internal: false\n# Digest: 8bb144e841a3b2f969aca11e4e5e690c278c9de8ce436602c1fabcff10573389\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int, b int, c int);"] +[2022/11/02 16:50:49.942 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093413667995652] [checkTS=437093413667995653] +[2022/11/02 16:50:49.942 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,b)"] [user=] +[2022/11/02 16:50:49.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(b,c)"] [user=] +[2022/11/02 16:50:49.950 +08:00] [INFO] [analyze.go:262] ["analyze table `test`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:49.945 +08:00] ["end time"=2022/11/02 16:50:49.950 +08:00] [cost=4.944417ms] +[2022/11/02 16:50:49.954 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t drop column a"] [user=] +[2022/11/02 16:50:49.954 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:49.954 +08:00] [INFO] [ddl_api.go:4192] ["[ddl] start DDL job"] [job="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t drop column a"] +[2022/11/02 16:50:49.956 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.956 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=59.583µs] [phyTblIDs="[70]"] [actionTypes="[64]"] +[2022/11/02 16:50:49.958 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.136625ms] [job="ID:72, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.959 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.959 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=52.083µs] [phyTblIDs="[70]"] [actionTypes="[64]"] +[2022/11/02 16:50:49.962 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.138791ms] [job="ID:72, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:70, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.962 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.963 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=47.708µs] [phyTblIDs="[70]"] [actionTypes="[64]"] +[2022/11/02 16:50:49.965 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.137541ms] [job="ID:72, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:70, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.966 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.966 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=51.291µs] [phyTblIDs="[70]"] [actionTypes="[64]"] +[2022/11/02 16:50:49.968 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=2.024958ms] [job="ID:72, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:4, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.969 +08:00] [INFO] [ddl_worker.go:557] ["[ddl] add job into delete-range table"] [jobID=72] [jobType="drop column"] +[2022/11/02 16:50:49.969 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:4, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:49.970 +08:00] [INFO] [ddl_api.go:4192] ["[ddl] DDL job is finished"] [jobID=72] +[2022/11/02 16:50:49.970 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:49.972 +08:00] [INFO] [gc.go:50] ["mark mysql.stats_extended record as 'deleted' in GC due to dropped columns"] [table_name=t] [table_id=70] [stats_name=s1] [dropped_column_id=1] +[2022/11/02 16:50:49.974 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=542ns] +[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=500ns] +[2022/11/02 16:50:49.974 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=250ns] +[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=167ns] +[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] +[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] ["take time"=253.459µs] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:50:49.975 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=367.875µs] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +--- FAIL: TestGCExtendedStats (1.44s) + result.go:49: + Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5629/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/statistics/handle/handle_test_/handle_test.runfiles/__main__/statistics/handle/result.go:49 + /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5629/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/statistics/handle/handle_test_/handle_test.runfiles/__main__/statistics/handle/gc_test.go:125 + Error: Not equal: + expected: "[s2 2 [2,3] 1.000000 1]\n" + actual : "[s1 2 [1,2] 1.000000 2]\n[s2 2 [2,3] 1.000000 1]\n" + + Diff: + --- Expected + +++ Actual + @@ -1 +1,2 @@ + +[s1 2 [1,2] 1.000000 2] + [s2 2 [2,3] 1.000000 1] + Test: TestGCExtendedStats + Messages: sql:select name, type, column_ids, stats, status from mysql.stats_extended, args:[] +[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:50.168 +08:00] [INFO] [misc.go:69] ["new domain"] [store=94b41052-fb1e-4c16-a862-8fa0f06c2ec6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=755.209µs] +[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] [runWorker=true] +[2022/11/02 16:50:50.169 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] +[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] +[2022/11/02 16:50:50.169 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:50.169 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:50.169 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:50.169 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:50:50.170 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.170 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:50:50.171 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.172 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=680.042µs] +[2022/11/02 16:50:50.172 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:50:50.173 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.243333ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.174 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:50:50.174 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:50:50.176 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.176 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:50:50.177 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.179 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=296.459µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.181 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257375ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.182 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.183 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:50:50.183 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.183 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:50:50.184 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:50:50.185 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.186 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=67.625µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.188 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.265042ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.190 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:50:50.191 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:50:50.192 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.194 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=186.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.196 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.103666ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.197 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:50:50.198 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.198 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:50:50.199 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.199 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:50:50.200 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.201 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=112.875µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.203 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.2685ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:50:50.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:50:50.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:50:50.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=92.666µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.210 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.101291ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.210 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.211 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:50:50.211 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.211 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:50:50.212 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:50:50.213 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.333µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.216 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.282209ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.217 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.217 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:50:50.218 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.218 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:50:50.219 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:50:50.219 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.220 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.221 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=65.709µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.224 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.286958ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.225 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:50:50.226 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.226 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:50:50.228 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.228 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=90.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.230 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.258417ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.231 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.232 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:50:50.234 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.234 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.5µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.237 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.183708ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.238 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:50:50.239 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.239 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:50.240 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.241 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=138.75µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.243 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.2625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.245 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.247 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:50:50.247 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.247 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:50:50.249 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.249 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:50:50.251 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.252 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=118.084µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.254 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.538791ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.255 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.256 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.257 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:50.258 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.258 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.458µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.260 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.122541ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.261 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.262 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:50.264 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.265 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=77.667µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.267 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.257416ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.268 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:50.269 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.269 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:50.270 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.271 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=76.417µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.273 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.214708ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.277 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:50:50.277 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.277 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:50:50.278 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.278 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:50:50.279 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.280 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=84.166µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.282 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.259334ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.283 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:50:50.284 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.284 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:50:50.285 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.286 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=130.75µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.288 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.017417ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.288 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.289 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:50:50.289 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.289 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:50:50.290 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.290 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:50:50.291 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.292 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=136.292µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.294 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.051ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.296 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:50.296 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.296 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:50.298 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.300 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=949.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.302 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.618833ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.303 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.304 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:50:50.306 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.306 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=63.375µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.309 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.398125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.310 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:50:50.312 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.312 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:50:50.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.314 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.417µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.316 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.260167ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.317 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:50:50.318 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.318 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:50:50.319 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.320 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=103.084µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.322 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.259625ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.323 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.324 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:50:50.324 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.324 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:50:50.325 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.325 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:50:50.327 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.328 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=73.917µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.330 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.293084ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.331 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.332 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:50:50.332 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.332 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:50.333 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.333 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:50.334 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.335 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=83.834µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.337 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.055ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.338 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.338 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.339 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:50:50.341 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.342 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=81.667µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.344 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.268708ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.345 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.346 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:50:50.346 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.346 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:50:50.347 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:50:50.348 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.349 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=72.833µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.351 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.284917ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.353 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:50.356 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.356 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:50.358 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.359 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=81.75µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.361 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.280333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.362 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.363 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:50:50.363 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.363 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:50:50.364 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.364 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:50:50.366 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.367 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=91.958µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.369 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.276209ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.370 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:50:50.371 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.371 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:50.372 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.373 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=97.667µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.375 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.114042ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.376 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.377 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:50:50.380 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.381 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102.083µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.383 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.270583ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.384 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.385 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:50:50.385 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.385 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:50:50.386 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.386 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:50:50.387 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.388 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=104.334µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.390 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.272458ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.391 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:50:50.392 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.392 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:50:50.394 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.395 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=138.416µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.397 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.259666ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.398 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:50:50.399 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.399 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:50:50.400 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.400 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:50:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.401 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=59.833µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:50:50.403 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.022375ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.405 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:50:50.405 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.406 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.406 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:50:50.408 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.409 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=90.083µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:50:50.411 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.246ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:50.419 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=250.49425ms] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=334ns] +[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=459ns] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=209ns] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=42ns] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:50.420 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] ["take time"=181.583µs] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:50.420 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=232.167µs] +[2022/11/02 16:50:50.420 +08:00] [INFO] [misc.go:69] ["new domain"] [store=94b41052-fb1e-4c16-a862-8fa0f06c2ec6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.82625ms] +[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] [runWorker=true] +[2022/11/02 16:50:50.423 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] +[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] +[2022/11/02 16:50:50.438 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:50.438 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:50.438 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:50.439 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:50:50.443 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int, b int, c int)"] [user=] +[2022/11/02 16:50:50.443 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:50.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int, b int, c int)"] +[2022/11/02 16:50:51.425 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.425 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=61.375µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.427 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.261792ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.428 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.429 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:50:51.429 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.429 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985865792\n# Parse_time: 0.000012792\n# Compile_time: 0.00001125\n# Rewrite_time: 0.000000917\n# Optimize_time: 0.000006166\n# Wait_TS: 0.000001708\n# DB: test\n# Is_internal: false\n# Digest: 8bb144e841a3b2f969aca11e4e5e690c278c9de8ce436602c1fabcff10573389\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int, b int, c int);"] +[2022/11/02 16:50:51.429 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,a)"] [user=] +[2022/11/02 16:50:51.429 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] +[2022/11/02 16:50:51.429 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="Cannot create extended statistics on duplicate column names 'a'"] [errorVerbose="Cannot create extended statistics on duplicate column names 'a'\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5221\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2609\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] +[2022/11/02 16:50:51.429 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,b)"] [user=] +[2022/11/02 16:50:51.430 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,c)"] [user=] +[2022/11/02 16:50:51.431 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] +[2022/11/02 16:50:51.431 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's1' for the specified table already exists"] [errorVerbose="extended statistics 's1' for the specified table already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1857\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2613\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] +[2022/11/02 16:50:51.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(a,b)"] [user=] +[2022/11/02 16:50:51.431 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] +[2022/11/02 16:50:51.431 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's2' with same type on same columns already exists"] [errorVerbose="extended statistics 's2' with same type on same columns already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1860\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2616\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] +[2022/11/02 16:50:51.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(b,a)"] [user=] +[2022/11/02 16:50:51.432 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] +[2022/11/02 16:50:51.432 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's2' with same type on same columns already exists"] [errorVerbose="extended statistics 's2' with same type on same columns already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1860\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2619\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] +[2022/11/02 16:50:51.432 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(a,c)"] [user=] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=625ns] +[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 20, tp add index"] ["take time"=166ns] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp general"] ["take time"=375ns] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp general"] ["take time"=42ns] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 17, tp add index"] ["take time"=0s] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] ["take time"=54.833µs] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:51.433 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=292.125µs] +[2022/11/02 16:50:51.452 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:50:51.452 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] +[2022/11/02 16:50:51.567 +08:00] [INFO] [misc.go:69] ["new domain"] [store=ba6729d4-3832-45e1-9530-7247f77c6daf] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=789.792µs] +[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] [runWorker=true] +[2022/11/02 16:50:51.568 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 21, tp general"] +[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 22, tp add index"] +[2022/11/02 16:50:51.569 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:51.569 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:51.569 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] +[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] +[2022/11/02 16:50:51.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.572 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=719.792µs] +[2022/11/02 16:50:51.572 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] +[2022/11/02 16:50:51.573 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.275125ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] +[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.574 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] +[2022/11/02 16:50:51.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] +[2022/11/02 16:50:51.576 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.576 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] +[2022/11/02 16:50:51.577 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=293.667µs] [phyTblIDs="[4]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.581 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.091333ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] +[2022/11/02 16:50:51.584 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.585 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] +[2022/11/02 16:50:51.585 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] +[2022/11/02 16:50:51.586 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.587 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=59.958µs] [phyTblIDs="[6]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.589 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.011167ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] +[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] +[2022/11/02 16:50:51.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] +[2022/11/02 16:50:51.593 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.595 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=188.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.597 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.186833ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.598 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.599 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] +[2022/11/02 16:50:51.599 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.599 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] +[2022/11/02 16:50:51.600 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] +[2022/11/02 16:50:51.601 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.602 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=104.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.604 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.063917ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] +[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.605 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] +[2022/11/02 16:50:51.606 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.606 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] +[2022/11/02 16:50:51.609 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.610 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=106.917µs] [phyTblIDs="[12]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.612 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.262583ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.613 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] +[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.614 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] +[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] +[2022/11/02 16:50:51.616 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.617 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=60.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.619 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.4365ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] +[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.620 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] +[2022/11/02 16:50:51.621 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.621 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] +[2022/11/02 16:50:51.622 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.623 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=62.625µs] [phyTblIDs="[16]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.625 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.266042ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] +[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.626 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] +[2022/11/02 16:50:51.627 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.627 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] +[2022/11/02 16:50:51.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=79.958µs] [phyTblIDs="[18]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.150625ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] +[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.632 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] +[2022/11/02 16:50:51.633 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] +[2022/11/02 16:50:51.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.635 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=84µs] [phyTblIDs="[20]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.637 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.094959ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] +[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.638 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] +[2022/11/02 16:50:51.639 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.639 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:51.641 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.642 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=128.084µs] [phyTblIDs="[22]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.284583ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] +[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] +[2022/11/02 16:50:51.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] +[2022/11/02 16:50:51.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=109.667µs] [phyTblIDs="[24]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.257209ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] +[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.651 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:51.652 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:51.653 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.654 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=68.084µs] [phyTblIDs="[26]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.656 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.21075ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.656 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] +[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.657 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] +[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.658 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] +[2022/11/02 16:50:51.659 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.659 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=75.5µs] [phyTblIDs="[28]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.661 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.258ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.662 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] +[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.663 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:51.664 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.665 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=69µs] [phyTblIDs="[30]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.667 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.269166ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] +[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.668 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] +[2022/11/02 16:50:51.669 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.669 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] +[2022/11/02 16:50:51.670 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.671 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=79.875µs] [phyTblIDs="[32]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.673 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.283708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] +[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.675 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] +[2022/11/02 16:50:51.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.675 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] +[2022/11/02 16:50:51.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=66.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.258541ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] +[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.680 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] +[2022/11/02 16:50:51.681 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] +[2022/11/02 16:50:51.682 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.683 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=106.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.685 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.079958ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] +[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.687 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:51.687 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.687 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:51.688 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.689 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=73.5µs] [phyTblIDs="[38]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.691 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.08375ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] +[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.692 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] +[2022/11/02 16:50:51.693 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] +[2022/11/02 16:50:51.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.694 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=58.708µs] [phyTblIDs="[40]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.696 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.203375ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] +[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.697 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] +[2022/11/02 16:50:51.698 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] +[2022/11/02 16:50:51.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.699 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=43.833µs] [phyTblIDs="[42]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.151709ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] +[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.703 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] +[2022/11/02 16:50:51.703 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] +[2022/11/02 16:50:51.704 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.705 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=99.125µs] [phyTblIDs="[44]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.707 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.256333ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] +[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.708 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] +[2022/11/02 16:50:51.709 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.709 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] +[2022/11/02 16:50:51.710 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.710 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=74.375µs] [phyTblIDs="[46]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.713 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.263125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.713 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] +[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.714 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] +[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] +[2022/11/02 16:50:51.715 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=80.209µs] [phyTblIDs="[48]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.718 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.259458ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] +[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.719 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] +[2022/11/02 16:50:51.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] +[2022/11/02 16:50:51.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.721 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=69.334µs] [phyTblIDs="[50]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.724 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.257458ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.724 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] +[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.725 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] +[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] +[2022/11/02 16:50:51.726 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.727 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=60.334µs] [phyTblIDs="[52]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.729 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.257375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] +[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.730 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:51.731 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.731 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:51.732 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=63.875µs] [phyTblIDs="[54]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.535625ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] +[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.736 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] +[2022/11/02 16:50:51.737 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.737 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] +[2022/11/02 16:50:51.738 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=67.125µs] [phyTblIDs="[56]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.741 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.259666ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] +[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.742 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] +[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] +[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] +[2022/11/02 16:50:51.743 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.744 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=77µs] [phyTblIDs="[58]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.746 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.162458ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] +[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.747 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] +[2022/11/02 16:50:51.748 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.748 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] +[2022/11/02 16:50:51.749 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.750 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=97.292µs] [phyTblIDs="[60]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.752 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.269333ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] +[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.753 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] +[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] +[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=77.083µs] [phyTblIDs="[62]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.757 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.277333ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] +[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] +[2022/11/02 16:50:51.759 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] +[2022/11/02 16:50:51.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.761 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=131.375µs] [phyTblIDs="[64]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.257ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.764 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] +[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.765 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] +[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] +[2022/11/02 16:50:51.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=51.459µs] [phyTblIDs="[66]"] [actionTypes="[8]"] +[2022/11/02 16:50:51.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.590375ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] +[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] +[2022/11/02 16:50:51.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.791µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] +[2022/11/02 16:50:51.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.25675ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] +[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:51.783 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=214.134959ms] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 24, tp add index"] ["take time"=1.333µs] +[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 25, tp add index"] ["take time"=875ns] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 23, tp general"] ["take time"=17.667µs] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 21, tp general"] ["take time"=41ns] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 22, tp add index"] ["take time"=0s] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] ["take time"=271µs] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:51.783 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=378.166µs] +[2022/11/02 16:50:51.783 +08:00] [INFO] [misc.go:69] ["new domain"] [store=ba6729d4-3832-45e1-9530-7247f77c6daf] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] +[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.6915ms] +[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] +[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] [runWorker=true] +[2022/11/02 16:50:51.786 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] +[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] +[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 26, tp general"] +[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 27, tp add index"] +[2022/11/02 16:50:51.787 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] +[2022/11/02 16:50:51.787 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] +[2022/11/02 16:50:51.787 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] +[2022/11/02 16:50:51.787 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] +[2022/11/02 16:50:51.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=34] [cur_db=test] [sql="create table t (a int, b int)"] [user=] +[2022/11/02 16:50:51.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] +[2022/11/02 16:50:51.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int, b int)"] +[2022/11/02 16:50:52.788 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 28, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:52.789 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=52.333µs] [phyTblIDs="[70]"] [actionTypes="[8]"] +[2022/11/02 16:50:52.791 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.1615ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 28, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] +[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] +[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] +[2022/11/02 16:50:52.792 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 3\n# Query_time: 1.001000291\n# Parse_time: 0.000012791\n# Compile_time: 0.00001475\n# Rewrite_time: 0.000000958\n# Optimize_time: 0.000005083\n# Wait_TS: 0.000001416\n# DB: test\n# Is_internal: false\n# Digest: a40dc2698adc005c4f60f067c952899c54f602cd41e7502a92c75405301dde37\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t (a int, b int);"] +[2022/11/02 16:50:52.792 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=3] [startTS=437093414415106055] [checkTS=437093414415106056] +[2022/11/02 16:50:52.796 +08:00] [INFO] [analyze.go:262] ["analyze table `test`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:52.793 +08:00] ["end time"=2022/11/02 16:50:52.795 +08:00] [cost=2.500875ms] +[2022/11/02 16:50:52.808 +08:00] [INFO] [analyze.go:262] ["analyze table `mysql`.`stats_histograms` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:52.798 +08:00] ["end time"=2022/11/02 16:50:52.808 +08:00] [cost=10.311ms] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] +[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 29, tp add index"] ["take time"=375ns] +[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 30, tp add index"] ["take time"=291ns] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] +[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 28, tp general"] ["take time"=125ns] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 26, tp general"] ["take time"=42ns] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 27, tp add index"] ["take time"=42ns] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] +[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] ["take time"=66.292µs] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] +[2022/11/02 16:50:52.816 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=140.333µs] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:567] ["Closing database"] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:592] ["Memtable flushed"] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:596] ["Compaction finished"] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:615] ["BlobManager finished"] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] +[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:625] ["Waiting for closer"] +FAIL +================================================================================ +==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): +[2022/11/02 16:48:06.160 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:07.161 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:08.162 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:09.163 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:10.164 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:11.165 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:12.166 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:13.167 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:14.168 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:15.169 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:16.169 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:17.171 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:18.176 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:19.177 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:20.178 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:21.179 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:22.180 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:23.182 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:24.183 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:25.184 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:26.185 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:27.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:28.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:29.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:30.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:31.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:32.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:33.189 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:34.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:35.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:36.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:37.191 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:38.192 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:39.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:40.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:41.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:42.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:43.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:44.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:45.195 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:46.196 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:47.197 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:48.197 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:49.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:50.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:51.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:52.201 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:53.202 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:54.202 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:55.203 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:56.203 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:57.204 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:58.205 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:48:59.206 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:00.207 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:01.208 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:02.209 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:03.210 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:04.210 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:05.211 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +-- Test timed out at 2022-11-02 16:49:06 CST -- +================================================================================ +==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): +[2022/11/02 16:49:06.543 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:07.544 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:08.544 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:09.545 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:10.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:11.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:12.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:13.548 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:14.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:15.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:16.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:17.550 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:18.551 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:19.552 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:20.552 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:21.554 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:22.555 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:23.555 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:24.556 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:25.557 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:26.560 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:27.561 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:28.562 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:29.562 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:30.564 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:31.564 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:32.565 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:33.565 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:34.566 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:35.567 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:36.569 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:37.570 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:38.570 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:39.571 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:40.572 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:41.573 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:42.574 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:43.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:44.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:45.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:46.576 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:47.576 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:48.577 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:49.578 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:50.579 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:51.581 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:52.581 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:53.582 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:54.583 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:55.583 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:56.585 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:57.586 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:58.586 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:49:59.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:00.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:01.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:02.588 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:03.589 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:04.589 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:05.591 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +-- Test timed out at 2022-11-02 16:50:06 CST -- +================================================================================ +==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): +[2022/11/02 16:50:06.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:07.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:08.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:09.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:10.620 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:11.620 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:12.621 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:13.622 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:14.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:15.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:16.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:17.624 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:18.625 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:19.626 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:20.627 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:21.628 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:22.629 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:23.630 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:24.635 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:25.636 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:26.637 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:27.638 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:28.639 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:29.639 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:30.640 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:31.640 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:32.641 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:33.642 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:34.643 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:35.643 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:36.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:37.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:38.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:39.646 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:40.646 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:41.647 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:42.647 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:43.649 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:44.650 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:45.651 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:46.652 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:47.652 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:48.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:49.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:50.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:51.654 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:52.655 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:53.655 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:54.656 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:55.657 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:56.658 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:57.659 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:58.659 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:50:59.660 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:00.661 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:01.662 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:02.663 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:03.664 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:04.664 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +[2022/11/02 16:51:05.666 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] +-- Test timed out at 2022-11-02 16:51:06 CST -- +================================================================================ +Test cases: finished with 0 passing and 13 failing out of 13 test cases + +Executed 136 out of 231 tests: 221 tests pass and 10 fail locally. +There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. diff --git a/cmd/explaintest/r/collation_check_use_collation_disabled.result b/cmd/explaintest/r/collation_check_use_collation_disabled.result index 06af2890faa8f..67659077e5371 100644 --- a/cmd/explaintest/r/collation_check_use_collation_disabled.result +++ b/cmd/explaintest/r/collation_check_use_collation_disabled.result @@ -153,4 +153,19 @@ insert into t1 values ('-1'); insert into t2 values (0x2d31, ''); select * from t1, t2 where t1.a in (t2.b, 3); a b c +drop table if exists t0; +drop table if exists t1; +CREATE TABLE t0(c0 BOOL, c1 INT); +CREATE TABLE t1 LIKE t0; +CREATE VIEW v0(c0) AS SELECT IS_IPV4(t0.c1) FROM t0, t1; +INSERT INTO t0(c0, c1) VALUES (true, 0); +INSERT INTO t1(c0, c1) VALUES (true, 2); +SELECT v0.c0 FROM v0; +c0 +0 +SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; +(v0.c0)NOT LIKE(BINARY v0.c0) +0 +SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); +c0 use test diff --git a/cmd/explaintest/r/collation_check_use_collation_enabled.result b/cmd/explaintest/r/collation_check_use_collation_enabled.result index 5bf70a6a73a09..2e4002cf7aab7 100644 --- a/cmd/explaintest/r/collation_check_use_collation_enabled.result +++ b/cmd/explaintest/r/collation_check_use_collation_enabled.result @@ -172,4 +172,19 @@ insert into t1 values ('-1'); insert into t2 values (0x2d31, ''); select * from t1, t2 where t1.a in (t2.b, 3); a b c +drop table if exists t0; +drop table if exists t1; +CREATE TABLE t0(c0 BOOL, c1 INT); +CREATE TABLE t1 LIKE t0; +CREATE VIEW v0(c0) AS SELECT IS_IPV4(t0.c1) FROM t0, t1; +INSERT INTO t0(c0, c1) VALUES (true, 0); +INSERT INTO t1(c0, c1) VALUES (true, 2); +SELECT v0.c0 FROM v0; +c0 +0 +SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; +(v0.c0)NOT LIKE(BINARY v0.c0) +0 +SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); +c0 use test diff --git a/cmd/explaintest/r/explain_complex.result b/cmd/explaintest/r/explain_complex.result index b9e292ac8b2a3..fd6994326c308 100644 --- a/cmd/explaintest/r/explain_complex.result +++ b/cmd/explaintest/r/explain_complex.result @@ -248,7 +248,7 @@ Sort 1.00 root test.org_department.left_value └─HashAgg 1.00 root group by:test.org_department.id, funcs:firstrow(test.org_department.id)->test.org_department.id, funcs:firstrow(test.org_department.ctx)->test.org_department.ctx, funcs:firstrow(test.org_department.name)->test.org_department.name, funcs:firstrow(test.org_department.left_value)->test.org_department.left_value, funcs:firstrow(test.org_department.right_value)->test.org_department.right_value, funcs:firstrow(test.org_department.depth)->test.org_department.depth, funcs:firstrow(test.org_department.leader_id)->test.org_department.leader_id, funcs:firstrow(test.org_department.status)->test.org_department.status, funcs:firstrow(test.org_department.created_on)->test.org_department.created_on, funcs:firstrow(test.org_department.updated_on)->test.org_department.updated_on └─Selection 0.01 root or(eq(test.org_employee_position.user_id, 62), or(eq(test.org_department.id, 20), eq(test.org_department.id, 20))) └─HashJoin 0.02 root left outer join, equal:[eq(test.org_position.id, test.org_employee_position.position_id)] - ├─IndexJoin(Build) 0.01 root left outer join, inner:IndexLookUp, outer key:test.org_department.id, inner key:test.org_position.department_id, equal cond:eq(test.org_department.id, test.org_position.department_id) + ├─IndexHashJoin(Build) 0.01 root left outer join, inner:IndexLookUp, outer key:test.org_department.id, inner key:test.org_position.department_id, equal cond:eq(test.org_department.id, test.org_position.department_id) │ ├─IndexLookUp(Build) 0.01 root │ │ ├─IndexRangeScan(Build) 10.00 cop[tikv] table:d, index:org_department_ctx_index(ctx) range:[1,1], keep order:false, stats:pseudo │ │ └─Selection(Probe) 0.01 cop[tikv] eq(test.org_department.status, 1000) diff --git a/cmd/explaintest/r/subquery.result b/cmd/explaintest/r/subquery.result index 9ef7cc52e8ab5..853defe18a2d0 100644 --- a/cmd/explaintest/r/subquery.result +++ b/cmd/explaintest/r/subquery.result @@ -55,13 +55,11 @@ insert into exam values(1, 'math', 100); set names utf8 collate utf8_general_ci; explain format = 'brief' select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id estRows task access object operator info -Apply 10000.00 root CARTESIAN anti semi join, other cond:eq(test.stu.name, Column#8) +HashJoin 8000.00 root anti semi join, equal:[eq(test.stu.id, test.exam.stu_id)], other cond:eq(test.stu.name, "guo") ├─TableReader(Build) 10000.00 root data:TableFullScan -│ └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo -└─Projection(Probe) 100000.00 root guo->Column#8 - └─TableReader 100000.00 root data:Selection - └─Selection 100000.00 cop[tikv] eq(test.exam.stu_id, test.stu.id) - └─TableFullScan 100000000.00 cop[tikv] table:exam keep order:false, stats:pseudo +│ └─TableFullScan 10000.00 cop[tikv] table:exam keep order:false, stats:pseudo +└─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id name set names utf8mb4; diff --git a/cmd/explaintest/t/collation_check_use_collation.test b/cmd/explaintest/t/collation_check_use_collation.test index ebaa37588d153..6affb0abaa852 100644 --- a/cmd/explaintest/t/collation_check_use_collation.test +++ b/cmd/explaintest/t/collation_check_use_collation.test @@ -109,5 +109,18 @@ insert into t1 values ('-1'); insert into t2 values (0x2d31, ''); select * from t1, t2 where t1.a in (t2.b, 3); +# issue 38736 +drop table if exists t0; +drop table if exists t1; +CREATE TABLE t0(c0 BOOL, c1 INT); +CREATE TABLE t1 LIKE t0; +CREATE VIEW v0(c0) AS SELECT IS_IPV4(t0.c1) FROM t0, t1; +INSERT INTO t0(c0, c1) VALUES (true, 0); +INSERT INTO t1(c0, c1) VALUES (true, 2); + +SELECT v0.c0 FROM v0; +SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; +SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); + # cleanup environment use test diff --git a/expression/util.go b/expression/util.go index 72f512038f162..646ff559f421b 100644 --- a/expression/util.go +++ b/expression/util.go @@ -426,7 +426,6 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression if v.InOperand { newExpr = SetExprColumnInOperand(newExpr) } - newExpr.SetCoercibility(v.Coercibility()) return true, false, newExpr case *ScalarFunction: substituted := false @@ -463,7 +462,12 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression _ = append(append(append(tmpArgs, refExprArr.Result()[0:idx]...), refExprArr.Result()[idx+1:]...), newFuncExpr) _, newColl := DeriveCollationFromExprs(v.GetCtx(), append(v.GetArgs(), newFuncExpr)...) if coll == newColl { - changed = checkCollationStrictness(coll, newFuncExpr.GetType().GetCollate()) + if newFuncExpr.GetType().GetCollate() == arg.GetType().GetCollate() && newFuncExpr.Coercibility() == arg.Coercibility() { + // It's safe to use the new expression, otherwise some cases in projection push-down will be wrong. + changed = true + } else { + changed = checkCollationStrictness(coll, newFuncExpr.GetType().GetCollate()) + } } } } From 33215d4e734893f4dad7fb3941ae7c6eebd75b3d Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Wed, 2 Nov 2022 17:11:55 +0800 Subject: [PATCH 02/11] clen Signed-off-by: wjhuang2016 --- a | 7232 ------------------------------------------------------------- 1 file changed, 7232 deletions(-) delete mode 100644 a diff --git a/a b/a deleted file mode 100644 index 749e578f525ed..0000000000000 --- a/a +++ /dev/null @@ -1,7232 +0,0 @@ -bazel run //:gazelle -bazel test \ - -- //... -//cmd/... -//tests/graceshutdown/... \ - -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -==================== Test output for //util/codec:codec_test: ---- FAIL: TestHashChunkRow (0.00s) - codec_test.go:1135: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3006/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 - /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3006/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 - Error: Should not be: 0x8d9497f5 - Test: TestHashChunkRow -FAIL -================================================================================ -==================== Test output for //util/codec:codec_test: ---- FAIL: TestHashChunkRow (0.00s) - codec_test.go:1135: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3007/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 - /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3007/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 - Error: Should not be: 0x8d9497f5 - Test: TestHashChunkRow -FAIL -================================================================================ -==================== Test output for //util/codec:codec_test: ---- FAIL: TestHashChunkRow (0.00s) - codec_test.go:1135: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3008/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1135 - /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/3008/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/util/codec/codec_test_/codec_test.runfiles/__main__/util/codec/codec_test.go:1192 - Error: Should not be: 0x8d9497f5 - Test: TestHashChunkRow -FAIL -================================================================================ -==================== Test output for //br/pkg/restore:restore_test (shard 3 of 20): -[2022/11/02 16:34:01.913 +08:00] [INFO] [mock_cluster.go:54] ["start pprof"] [addr=0.0.0.0:12235] -[2022/11/02 16:34:01.996 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:34:01.996 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:34:01.998 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:34:01.998 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:34:02.000 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:34:02.000 +08:00] [INFO] [misc.go:69] ["new domain"] [store=83114c32-ce0d-442f-80c8-c9cfc650a390] ["ddl lease"=0s] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:34:02.015 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=5.416416ms] -[2022/11/02 16:34:02.016 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:34:02.016 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] [runWorker=true] -[2022/11/02 16:34:02.016 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:34:02.016 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:34:02.016 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:34:02.016 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:34:02.016 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:34:02.017 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:34:02.023 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.023 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:34:02.030 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.038 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.040 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:34:02.040 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.046 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=5.677ms] -[2022/11/02 16:34:02.046 +08:00] [INFO] [callback.go:123] ["full load and reset schema validator"] -[2022/11/02 16:34:02.047 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:34:02.048 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:34:02.061 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.061 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:34:02.071 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.106 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.051 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.124 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:34:02.124 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.129 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=4.717583ms] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.129 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:34:02.135 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.135 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:34:02.145 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.155 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:34:02.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.160 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=616.916µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.161 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:34:02.170 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.170 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:34:02.178 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.202 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:34:02.212 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.338542ms] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.215 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:34:02.220 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.220 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:34:02.227 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.241 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.246 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:34:02.246 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.248 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=1.251625ms] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.248 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:34:02.253 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.253 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:34:02.261 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.273 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.278 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:34:02.278 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.279 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.067583ms] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.280 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:34:02.284 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.284 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:34:02.290 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.299 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.302 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:34:02.302 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.303 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=533.208µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.303 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:34:02.307 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.307 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:34:02.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.324 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.328 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:34:02.328 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.329 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=671.334µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.329 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:34:02.335 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.335 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:34:02.343 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.355 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.359 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:34:02.359 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.360 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=884.041µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.361 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:34:02.366 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.366 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:34:02.373 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.384 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.362 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.388 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:34:02.388 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.389 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=846.959µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.390 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:34:02.390 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:34:02.396 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.396 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:34:02.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.427 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.434 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:34:02.434 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.436 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.525917ms] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.436 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:34:02.444 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:34:02.454 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.472 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.478 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:34:02.478 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.479 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=1.332125ms] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.480 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:34:02.485 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:34:02.496 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.511 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.516 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:34:02.516 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.517 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=865.917µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.518 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:34:02.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:34:02.537 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.550 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.523 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.555 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:34:02.555 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.560 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.122458ms] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.560 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:34:02.565 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.565 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:34:02.574 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.585 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.589 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:34:02.589 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.590 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=728.708µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:34:02.596 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.596 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:34:02.603 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.616 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.623 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:34:02.624 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.627 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.323375ms] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.627 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:34:02.632 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:34:02.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.650 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:34:02.654 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.655 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=760.209µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.656 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:34:02.662 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:34:02.675 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.691 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:34:02.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.698 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.244417ms] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.700 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:34:02.705 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.705 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:34:02.712 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.724 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:34:02.728 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.729 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=811.584µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.730 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:34:02.734 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:34:02.734 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.742 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.751 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.731 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.755 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:34:02.755 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=558.583µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.756 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:34:02.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:34:02.767 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.775 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:34:02.778 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.778 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=372.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:34:02.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.786 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:34:02.793 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.807 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.812 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:34:02.812 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.814 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.138084ms] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.814 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:34:02.818 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:34:02.825 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.836 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:34:02.840 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.841 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=793.416µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.842 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:34:02.846 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:34:02.852 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.869 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:34:02.869 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.870 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=883.5µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.871 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:34:02.875 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.875 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:34:02.881 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.891 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.895 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:34:02.895 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.896 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=716.125µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.896 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:34:02.900 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.900 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:34:02.906 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.918 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:34:02.918 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.919 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=638.875µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.919 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:34:02.923 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.923 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:34:02.930 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.941 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.945 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:34:02.945 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.946 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=689.416µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.946 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:34:02.950 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.950 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:34:02.972 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.983 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:02.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:34:02.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:02.988 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=610.416µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:34:02.988 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:34:02.988 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:34:02.993 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:02.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:34:03.000 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.012 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:02.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.016 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:34:03.016 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.017 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=862.042µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:34:03.017 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:34:03.022 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:03.022 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:34:03.030 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.048 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.052 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:34:03.052 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.054 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=983.834µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:34:03.054 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:34:03.060 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:03.060 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:34:03.072 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.084 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.089 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:34:03.089 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.090 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=857.333µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:34:03.090 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:34:03.097 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:03.097 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:34:03.106 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.123 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.130 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:34:03.130 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.131 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=1.4615ms] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:34:03.132 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:34:03.135 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:03.135 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:34:03.142 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.149 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:34:03.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.153 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=453.208µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:34:03.159 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:34:03.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:34:03.166 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.180 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:34:03.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:34:03.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:34:03.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:34:03.185 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=915.125µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:34:03.256 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=1.239779083s] -[2022/11/02 16:34:03.256 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=1.875µs] -[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=1.167µs] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:34:03.257 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=1.25µs] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=625ns] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=333ns] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:34:03.257 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] ["take time"=677.542µs] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cd142b82-13bc-47d6-9d0c-0b1515db275d] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:34:03.257 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:34:03.257 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=837.541µs] -[2022/11/02 16:34:03.257 +08:00] [INFO] [misc.go:69] ["new domain"] [store=83114c32-ce0d-442f-80c8-c9cfc650a390] ["ddl lease"=0s] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=31.260375ms] -[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:34:03.289 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] [runWorker=true] -[2022/11/02 16:34:03.290 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:34:03.290 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:34:03.291 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:34:03.291 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:34:03.291 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:34:03.292 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:34:03.292 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:34:03.296 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:34:03.319 +08:00] [WARN] [server.go:208] ["Automatic TLS Certificate creation is disabled"] [] -[2022/11/02 16:34:03.319 +08:00] [INFO] [mock_cluster.go:97] ["server is running MySQL protocol"] [addr=0.0.0.0:0] -[2022/11/02 16:34:03.319 +08:00] [INFO] [mock_cluster.go:97] ["server is running MySQL protocol"] [socket=/tmp/tidb-mock-1667378043318748000.sock] -[2022/11/02 16:34:03.319 +08:00] [INFO] [server.go:299] ["for status and metrics report"] ["listening on addr"=0.0.0.0:0] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:362] ["sending batch lastly on close"] [size=8] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[636161, 636162)\\\",\\\"[636163, 636164)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[636161, 636162)\\\",\\\"[636163, 636164)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[636165, 636166)\\\",\\\"[636167, 636169)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[636165, 636166)\\\",\\\"[636167, 636169)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[63616A, 63616B)\\\",\\\"[63616C, 63616D)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[63616A, 63616B)\\\",\\\"[63616C, 63616D)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] -[2022/11/02 16:34:03.332 +08:00] [INFO] [batcher.go:325] ["restore batch start"] [ranges="{total=2,ranges=\"[\\\"[63616E, 63616F)\\\",\\\"[636170, 636171)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] [tables="[``.``]"] -[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:91] [entering] ["table ID"=1] -[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:40] ["fake restore range"] [ranges="{total=2,ranges=\"[\\\"[63616E, 63616F)\\\",\\\"[636170, 636171)\\\"]\",totalFiles=0,totalKVs=0,totalBytes=0,totalSize=0}"] -[2022/11/02 16:34:03.333 +08:00] [INFO] [batcher_test.go:104] [leaving] ["table ID"=1] -PASS -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=1.208µs] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=750ns] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:34:03.334 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] ["take time"=217.708µs] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=fb590e82-86dd-4b76-9e88-b59cb9d8d1b2] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:34:03.334 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:34:03.335 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:34:03.335 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:34:03.335 +08:00] [INFO] [mock_cluster.go:114] ["domain closed"] ["take time"=444.875µs] -[2022/11/02 16:34:03.356 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:34:03.357 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -[2022/11/02 16:34:03.395 +08:00] [INFO] [server.go:478] ["setting tidb-server to report unhealthy (shutting-down)"] -[2022/11/02 16:34:03.395 +08:00] [ERROR] [http_status.go:447] ["start status/rpc server error"] [error="accept tcp [::]:54169: use of closed network connection"] [stack="github.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:447"] -[2022/11/02 16:34:03.395 +08:00] [ERROR] [misc.go:96] ["http server error"] [error="http: Server closed"] [stack="github.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] -[2022/11/02 16:34:03.395 +08:00] [ERROR] [misc.go:96] ["grpc server error"] [error="mux: server closed"] [stack="github.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] -[2022/11/02 16:34:03.395 +08:00] [WARN] [mock_cluster.go:57] ["fail to start pprof"] [addr=0.0.0.0:12235] [error="http: Server closed"] -goleak: Errors on successful test run: found unexpected goroutines: -[Goroutine 10465 in state select, with github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain on top of the stack: -goroutine 10465 [select]: -github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain(0xc007edf1e0) - external/com_github_pingcap_goleveldb/leveldb/db_state.go:110 +0x170 -created by github.com/pingcap/goleveldb/leveldb.openDB - external/com_github_pingcap_goleveldb/leveldb/db.go:140 +0x74c -] -================================================================================ -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-2860) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -==================== Test output for //br/pkg/utils:utils_test: -[2022/11/02 16:36:07.756 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] --- Test timed out at 2022-11-02 16:37:07 CST -- -================================================================================ -==================== Test output for //br/pkg/utils:utils_test: -[2022/11/02 16:37:07.339 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] --- Test timed out at 2022-11-02 16:38:07 CST -- -================================================================================ -==================== Test output for //br/pkg/utils:utils_test: -[2022/11/02 16:38:07.464 +08:00] [WARN] [backoff.go:137] ["unexcepted error, stop to retry"] [error="rpc error: code = Canceled desc = context canceled"] --- Test timed out at 2022-11-02 16:39:07 CST -- -================================================================================ -==================== Test output for //store:store_test: -[2022/11/02 16:41:50.368 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:41:50.368 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:41:50.369 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:41:50.370 +08:00] [INFO] [misc.go:69] ["new domain"] [store=fb3fbb5c-b28a-4adf-a6d4-0a5ac7860258] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=827.25µs] -[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:41:50.372 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] [runWorker=true] -[2022/11/02 16:41:50.372 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:41:50.372 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:41:50.385 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:41:50.385 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:41:50.385 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:41:50.387 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:41:50.390 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:41:50.390 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.393 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.394 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=802.542µs] -[2022/11/02 16:41:50.395 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:41:50.396 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.284334ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:41:50.397 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.397 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:41:50.398 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:41:50.399 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:41:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.403 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=305.25µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.405 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.13625ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.407 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.408 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:41:50.408 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.408 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:41:50.409 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.409 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:41:50.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.412 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=465.334µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.414 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.241125ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.415 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.409 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.416 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:41:50.416 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.416 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:41:50.417 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.417 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:41:50.418 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.420 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.422 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.258125ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.423 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.416 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.424 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:41:50.424 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.424 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:41:50.425 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.425 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:41:50.426 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.427 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=117.334µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.429 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.058542ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.430 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.431 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:41:50.431 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:41:50.432 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.432 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:41:50.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.435 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=116.166µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.437 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.155875ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:41:50.439 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.439 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:41:50.440 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.440 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:41:50.444 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.444 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=66.041µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.447 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.264709ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:41:50.448 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.448 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:41:50.449 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.449 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:41:50.451 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.452 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=81.083µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.454 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.2585ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.455 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.456 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:41:50.456 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.456 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:41:50.457 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.457 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:41:50.458 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.459 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=99.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.461 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.29725ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.463 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.456 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.464 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:41:50.464 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.464 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:41:50.465 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.465 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:41:50.467 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.468 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=91.75µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.470 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.267542ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.472 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.473 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:41:50.473 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:41:50.475 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.475 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:41:50.478 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.480 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=152.542µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.482 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.093583ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.484 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:41:50.485 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.485 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:41:50.486 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.486 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:41:50.490 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.492 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=121.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.494 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.276417ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.495 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.496 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:41:50.496 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.497 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:41:50.499 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.499 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:41:50.503 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.504 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=218.875µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.506 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.218541ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.508 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.509 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:41:50.509 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.509 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:41:50.511 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.511 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:41:50.513 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.518 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=116.167µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.520 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=3.136666ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.522 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.51 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.523 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:41:50.523 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.524 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:41:50.525 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.525 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:41:50.528 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.529 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=84.583µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.531 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.143167ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.532 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:41:50.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.533 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:41:50.534 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:41:50.536 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.537 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=97.041µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.543 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=6.356208ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.545 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.547 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:41:50.547 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.547 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:41:50.548 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.548 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:41:50.550 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.551 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=82.292µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.553 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.130333ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.553 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:41:50.554 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.554 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:41:50.555 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.555 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:41:50.557 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.558 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=118.916µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.560 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.276292ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:41:50.562 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.563 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:41:50.564 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.564 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:41:50.565 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.566 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=93.917µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.568 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.26525ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.569 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.570 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:41:50.570 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.570 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:41:50.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.572 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=56.791µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.574 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.01175ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.57 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:41:50.575 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:41:50.577 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:41:50.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46.333µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.22675ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:41:50.583 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.583 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:41:50.584 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:41:50.585 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.589 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=120.667µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.591 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.278458ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:41:50.593 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.593 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:41:50.594 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.594 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:41:50.596 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.599 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=93.708µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.601 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.023625ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.602 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.603 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:41:50.603 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.603 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:41:50.604 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.604 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:41:50.605 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.606 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=67.959µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.609 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=3.204ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.612 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:41:50.614 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.615 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:41:50.616 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.616 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:41:50.618 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.618 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=79.75µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.621 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.256916ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:41:50.622 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.622 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:41:50.623 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.623 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:41:50.625 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.625 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=71.042µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.627 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.212542ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.628 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.623 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.629 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:41:50.629 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.629 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:41:50.630 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.630 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:41:50.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.640 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=85.5µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=4.565ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.646 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.647 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:41:50.647 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.648 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:41:50.655 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.655 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:41:50.659 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.663 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=104.458µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.665 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.258417ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.670 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.673 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:41:50.673 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:41:50.674 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:41:50.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=95.916µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.313917ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:41:50.681 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.681 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:41:50.682 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.682 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:41:50.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.686 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102.959µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.688 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.202125ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.690 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:41:50.691 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.691 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:41:50.692 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:41:50.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.695 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=96.083µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.697 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.258583ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.699 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.700 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:41:50.700 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.700 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:41:50.701 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.701 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:41:50.702 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.704 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=328.291µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.706 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.212875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.711 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.712 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:41:50.712 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.712 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:41:50.713 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.713 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:41:50.714 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.714 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=51.291µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.717 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.261792ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.718 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.719 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:41:50.719 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:41:50.722 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.723 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=84.916µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:41:50.725 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.264041ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.727 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:41:50.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.739 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=353.281583ms] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=458ns] -[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=458ns] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:41:50.739 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=417ns] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=83ns] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=42ns] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:41:50.739 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] ["take time"=121.75µs] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=bc4a19ca-ead9-407e-89ce-2db59938a3cb] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:41:50.739 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=195.625µs] -[2022/11/02 16:41:50.739 +08:00] [INFO] [misc.go:69] ["new domain"] [store=fb3fbb5c-b28a-4adf-a6d4-0a5ac7860258] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:41:50.739 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.867583ms] -[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:41:50.742 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] [runWorker=true] -[2022/11/02 16:41:50.743 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:41:50.743 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:41:50.743 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:41:50.743 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:41:50.743 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:41:50.744 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:41:50.749 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:41:50.751 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:41:50.753 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.754 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=64.458µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:41:50.756 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.266417ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.757 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:41:50.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:41:50.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.760 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:41:50.763 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.763 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:41:50.763 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:41:50.765 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=56.667µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:41:50.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.180708ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.768 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.769 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:41:50.769 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.770 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:41:50.770 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:41:50.773 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.774 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=65.75µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:41:50.776 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.260708ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.778 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:41:50.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:41:50.779 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:41:50.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:41:50.779 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093272329650178] [checkTS=437093272329650179] -[2022/11/02 16:41:50.780 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:50.780 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:50.780 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:50.846 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:50.846 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:50.846 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:50.936 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:50.936 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:50.936 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:51.069 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:51.069 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:51.069 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:51.279 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:51.279 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:51.279 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:51.791 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:51.791 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:51.791 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:52.745 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:41:53.278 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:53.278 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:53.278 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:54.882 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:54.882 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:54.882 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:56.481 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:56.481 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:56.481 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:57.816 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:57.816 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:57.816 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:41:59.224 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:41:59.224 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:41:59.224 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:00.320 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:00.320 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:00.320 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:02.037 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:02.037 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:02.037 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:03.526 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:03.526 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:03.526 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:05.502 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:05.502 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:05.502 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:07.369 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:07.369 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:07.369 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:08.949 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:08.949 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:08.949 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:10.707 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:10.707 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:10.707 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:12.058 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:12.058 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:12.058 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:13.446 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:13.446 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:13.446 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:15.150 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:15.150 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:15.150 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:17.046 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:17.046 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:17.046 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:18.291 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:18.291 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:18.291 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:19.491 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:19.491 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:19.491 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:20.669 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:20.669 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:20.669 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:22.374 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:22.374 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:22.374 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:23.673 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:23.673 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:23.673 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:25.286 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:25.286 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:25.286 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:27.282 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:27.282 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:27.282 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:28.503 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:28.503 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:28.503 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:29.521 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:29.521 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:29.521 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:30.731 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:30.731 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:30.731 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:32.466 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:32.466 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:28.50326+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:29.521342+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:42:30.731596+08:00\nlongest sleep type: tiflashRPC, time: 41592ms"] -[2022/11/02 16:42:32.466 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093272347213824\n# Conn_ID: 1\n# Query_time: 41.614776666\n# Parse_time: 0.000032958\n# Compile_time: 0.00016625\n# Rewrite_time: 0.000035166\n# Optimize_time: 0.000081209\n# Wait_TS: 0.000006625\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDEuNnMsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDEuNnMsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nuse test;\nselect count(*) from t;"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=7.25µs] -[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=2.584µs] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=3.667µs] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:42:32.466 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:42:32.467 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] ["take time"=276.292µs] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=8f4018cb-65fe-4e9b-9d71-d8461be0e737] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:42:32.467 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=378.417µs] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:42:32.513 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:32.704 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c3bb7cbb-8bb5-4c65-9722-655a50112e9d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.099542ms] -[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:42:32.705 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] [runWorker=true] -[2022/11/02 16:42:32.705 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] -[2022/11/02 16:42:32.706 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] -[2022/11/02 16:42:32.722 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:42:32.722 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:42:32.722 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:42:32.722 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:42:32.724 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.724 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:42:32.726 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.727 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=946.208µs] -[2022/11/02 16:42:32.727 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:42:32.729 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.303375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.730 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.731 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:42:32.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:42:32.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:42:32.733 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.733 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:42:32.735 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=344.458µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.739 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.06575ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.744 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:42:32.744 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.744 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:42:32.745 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.745 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:42:32.746 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.747 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=87.792µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.749 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.018ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.750 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:42:32.751 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.751 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:42:32.752 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.752 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:42:32.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.756 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=202.375µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.758 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.2665ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.759 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.751 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:42:32.760 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.760 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:42:32.762 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.762 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:42:32.764 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.765 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=129.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.204834ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.768 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.769 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:42:32.769 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.769 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:42:32.770 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:42:32.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=130.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.196125ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.77 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:42:32.777 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.777 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:42:32.778 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:42:32.780 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.781 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=124.333µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.783 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.096125ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:42:32.784 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.784 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:42:32.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:42:32.787 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.788 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=77.292µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.790 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.117291ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:42:32.791 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:42:32.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:42:32.794 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.795 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=97.417µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.797 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.015958ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.798 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.799 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:42:32.799 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.799 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:42:32.800 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.800 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:42:32.804 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.806 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=126µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.808 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.041625ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.809 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.810 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:32.810 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:42:32.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:32.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.816 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=149.292µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.377167ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.820 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.821 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:42:32.821 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.821 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:42:32.823 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.823 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:42:32.825 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.826 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=129.542µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.828 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.293917ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.829 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.830 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:42:32.830 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.830 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:42:32.832 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:42:32.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.835 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=111.417µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.837 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.265833ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.838 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:42:32.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.839 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:42:32.840 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:42:32.842 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.843 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=98.958µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.845 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.016833ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.846 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.847 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:42:32.847 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.847 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:32.848 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:32.850 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.852 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=77.417µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.853 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.072958ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:42:32.855 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.855 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:42:32.856 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.856 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:42:32.859 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.860 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=102.25µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.862 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.132125ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.863 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.864 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:42:32.864 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.864 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:42:32.865 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:42:32.867 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=89.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.054042ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:42:32.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:42:32.874 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.874 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:42:32.877 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.878 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=125.375µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.880 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.032958ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.881 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.873 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.882 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:42:32.882 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.882 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:32.883 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.883 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:32.884 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.885 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.875µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.887 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.022959ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.888 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.889 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:42:32.889 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.889 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:42:32.890 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.890 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:42:32.892 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.893 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=69.125µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.895 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.112125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.896 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.897 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:42:32.897 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.897 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:42:32.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:42:32.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.900 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.901 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=57.125µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.904 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=3.088458ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:42:32.906 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.906 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:42:32.908 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.908 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:42:32.909 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.911 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=126.417µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.913 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.234042ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.915 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:42:32.915 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.916 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:42:32.917 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.917 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:42:32.920 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.921 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=109.25µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.923 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.061875ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.925 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.926 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:42:32.926 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.926 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:32.927 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:32.929 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.931 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=218.792µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.933 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.276584ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.934 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.935 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:42:32.935 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.935 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:42:32.936 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:42:32.939 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.940 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=101.875µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.942 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.14725ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.943 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:42:32.944 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.944 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:42:32.945 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:42:32.945 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.948 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.950 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=287.958µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.952 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.064458ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.954 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.955 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:42:32.955 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.955 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:42:32.956 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.957 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:42:32.959 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.960 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=97.417µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.962 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.070666ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.963 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.956 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.964 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:42:32.964 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.964 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:42:32.965 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.965 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:42:32.967 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.968 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=76.833µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.970 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.038833ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:42:32.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:42:32.973 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:42:32.974 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.974 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:42:32.976 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.977 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=96.875µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.979 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.088875ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.981 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.982 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:42:32.982 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.983 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:42:32.984 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.984 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:42:32.986 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.987 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=109.666µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.989 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.26975ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.991 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.992 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:42:32.992 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:32.992 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:42:32.993 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:32.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:42:32.995 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.996 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=115.833µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:42:32.998 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.263875ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:32.999 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.000 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:42:33.000 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:33.000 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:42:33.001 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:33.001 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:42:33.003 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.004 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=142.833µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:42:33.007 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.368125ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.008 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.009 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:42:33.009 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:33.009 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:42:33.010 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:33.010 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:42:33.012 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.012 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=66.083µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:42:33.014 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.046625ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:42:33.016 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:33.018 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:33.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:42:33.019 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.020 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=96.625µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:42:33.022 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.058417ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.023 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:33.024 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:42:33.024 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:33.031 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=309.427333ms] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=1.042µs] -[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=625ns] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:42:33.032 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=250ns] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=42ns] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:42:33.032 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] ["take time"=283µs] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=7f7ebf20-ecc6-48c7-bad5-2a5976e34b9f] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:42:33.032 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=338.5µs] -[2022/11/02 16:42:33.032 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c3bb7cbb-8bb5-4c65-9722-655a50112e9d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.860208ms] -[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:42:33.035 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=345344ae-ca13-46cd-8310-4f13a40cd277] [runWorker=true] -[2022/11/02 16:42:33.035 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] -[2022/11/02 16:42:33.035 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] -[2022/11/02 16:42:33.035 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:42:33.035 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:42:33.035 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:42:33.036 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:42:33.041 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:42:33.042 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:33.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:42:34.038 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.038 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=72.084µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:42:34.041 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.271584ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.041 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:33.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:42:34.042 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:34.042 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000594959\n# Parse_time: 0.000021334\n# Compile_time: 0.0000135\n# Rewrite_time: 0.000001291\n# Optimize_time: 0.000006708\n# Wait_TS: 0.00000175\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] -[2022/11/02 16:42:34.042 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:42:34.043 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:34.043 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:42:34.044 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.044 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:42:34.044 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:42:34.045 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=65.75µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:42:34.047 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.268584ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:42:34.048 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:34.049 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:34.049 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:42:34.051 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.051 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=55.792µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:42:34.054 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.260416ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:34.048 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:42:34.055 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:34.055 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093283674193925] [checkTS=437093283674193926] -[2022/11/02 16:42:34.056 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:34.056 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:34.056 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:34.115 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:34.115 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:34.115 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:34.173 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:34.173 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:34.173 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:34.312 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:34.312 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:34.312 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:34.609 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:34.609 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:34.609 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:35.021 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:35.021 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:35.021 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:35.036 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:42:36.086 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:36.086 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:36.086 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:37.258 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:37.258 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:37.258 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:38.987 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:38.987 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:38.987 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:40.732 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:40.732 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:40.732 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:42.246 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:42.246 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:42.246 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:44.013 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:44.013 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:44.013 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:45.754 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:45.754 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:45.754 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:47.303 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:47.303 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:42:47.303 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:49.167 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:49.167 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:49.167 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] --- Test timed out at 2022-11-02 16:42:49 CST -- -================================================================================ -==================== Test output for //store:store_test: -[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:49.898 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:49.899 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:42:49.899 +08:00] [INFO] [misc.go:69] ["new domain"] [store=cc52f595-095b-497d-8b51-2610225f327e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=763.5µs] -[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:42:49.901 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] [runWorker=true] -[2022/11/02 16:42:49.901 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:42:49.901 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:42:49.917 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:42:49.917 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:42:49.917 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:42:49.917 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:42:49.918 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.919 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:42:49.920 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.922 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=825.75µs] -[2022/11/02 16:42:49.922 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:42:49.923 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.255833ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.918 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:42:49.924 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.924 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:42:49.925 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:42:49.926 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.926 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:42:49.928 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.930 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=311.125µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.932 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.263417ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.934 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.925 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.935 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:42:49.935 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.935 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:42:49.936 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:42:49.937 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.939 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=70µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.941 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.259458ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.942 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.935 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.943 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:42:49.943 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:42:49.944 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:42:49.945 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.946 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=200.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.949 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.271625ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.950 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.951 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:42:49.951 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.951 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:42:49.952 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.952 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:42:49.953 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.954 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=113.625µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.956 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.267875ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.957 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.958 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:42:49.958 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:42:49.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:42:49.961 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.962 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=100.833µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.964 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.208625ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.969 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:42:49.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:42:49.973 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.973 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:42:49.975 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.975 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=72.167µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.977 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.041541ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:42:49.979 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.979 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:42:49.980 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.980 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:42:49.982 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.983 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=79.375µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.985 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.175375ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.98 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:42:49.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.987 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:42:49.988 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.988 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:42:49.990 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.991 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=93.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:42:49.993 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.284792ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.994 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.995 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:42:49.995 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:49.995 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:42:49.996 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:49.996 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:42:49.998 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:49.999 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=100.334µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.001 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.267875ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:49.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.002 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:50.002 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:42:50.004 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.004 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:50.005 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.007 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=130.708µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.009 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.271917ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.010 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.003 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.011 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:42:50.011 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.011 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:42:50.012 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.012 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:42:50.014 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.015 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=116.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.017 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.256375ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.011 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:42:50.018 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:42:50.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.019 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:42:50.021 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.022 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=95.167µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.024 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.257333ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.025 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.026 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:42:50.026 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.026 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:42:50.027 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.027 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:42:50.028 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.029 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=101.25µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.031 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.032917ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.033 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.034 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:42:50.034 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.034 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:50.035 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.035 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:50.037 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.038 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=82.292µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.040 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.26375ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.041 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.042 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:42:50.042 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.042 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:42:50.043 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.043 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:42:50.044 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.046 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=146.667µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.048 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.006625ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.049 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.050 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.050 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:42:50.052 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.053 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=70.417µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.055 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.152625ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:42:50.056 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.056 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:42:50.057 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.057 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:42:50.059 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.060 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=113.625µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.062 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.256875ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.063 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.057 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.064 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:42:50.064 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.064 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:50.065 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.065 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:50.066 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.067 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.916µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.069 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.197417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.070 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.071 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:42:50.071 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.071 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:42:50.072 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.072 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:42:50.073 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.074 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=63.042µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.076 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.260041ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.077 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.078 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.078 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:42:50.080 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.080 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=48.75µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.083 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.078583ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.084 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.085 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:42:50.085 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.085 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:42:50.086 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.086 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:42:50.088 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.090 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=110.916µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.092 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.26225ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.093 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.094 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:42:50.094 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.094 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:42:50.095 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.095 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:42:50.097 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.098 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=80.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.100 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.035125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.101 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.102 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:42:50.102 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.102 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:42:50.103 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.103 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:42:50.105 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.106 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=78.041µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.108 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.081583ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:42:50.109 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.110 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:42:50.111 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.111 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:42:50.113 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.113 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.666µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.116 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.480041ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.117 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.11 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.118 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:42:50.118 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.118 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:42:50.119 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.119 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:42:50.121 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.121 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=70.834µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.123 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.273208ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.125 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.128 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:42:50.128 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.128 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:42:50.130 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.130 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:42:50.131 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.133 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=86.292µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.135 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.141666ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.136 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.129 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.137 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:42:50.137 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.137 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:42:50.138 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.138 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:42:50.139 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.140 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=75.666µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.142 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.076667ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.143 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.144 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:42:50.144 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:42:50.145 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.145 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:42:50.147 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.147 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=97.458µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.150 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.494625ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.151 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:42:50.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.152 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:42:50.153 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.153 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:42:50.154 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.155 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=98.875µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.157 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.075792ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.158 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:42:50.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.159 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:42:50.160 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.160 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:42:50.162 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.162 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=95.959µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.164 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.111ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:42:50.166 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.167 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:42:50.168 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.168 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:42:50.170 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.171 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=139.208µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.173 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.353709ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.174 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.167 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.175 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:42:50.175 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.176 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:42:50.177 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.177 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:42:50.178 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.178 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=56.083µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:42:50.181 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.445292ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.182 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.183 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:42:50.183 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:42:50.186 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.187 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=93.708µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:42:50.189 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.195917ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.190 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:50.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:42:50.191 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:50.199 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=282.53125ms] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=792ns] -[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=542ns] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:42:50.200 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=375ns] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=209ns] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:42:50.200 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] ["take time"=131.791µs] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=5c3aaa38-c289-48fd-a3be-f59cab183dcb] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:42:50.200 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=183.334µs] -[2022/11/02 16:42:50.200 +08:00] [INFO] [misc.go:69] ["new domain"] [store=cc52f595-095b-497d-8b51-2610225f327e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.809125ms] -[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:42:50.203 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] [runWorker=true] -[2022/11/02 16:42:50.203 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:42:50.203 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:42:50.203 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:42:50.203 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:42:50.203 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:42:50.204 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:42:50.209 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:42:50.210 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:50.210 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:42:51.206 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.206 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=54.5µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:42:51.208 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.259667ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:50.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:42:51.209 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:51.209 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.000361292\n# Parse_time: 0.000019875\n# Compile_time: 0.000015208\n# Rewrite_time: 0.000001084\n# Optimize_time: 0.000007292\n# Wait_TS: 0.000001917\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] -[2022/11/02 16:42:51.209 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:42:51.210 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:51.210 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:42:51.211 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.211 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:42:51.211 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:42:51.211 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=49.458µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:42:51.213 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.038875ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:42:51.214 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:51.215 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:42:51.215 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:42:51.216 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.216 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=52.75µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:42:51.218 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.170334ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:42:51.214 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:42:51.219 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:42:51.219 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093288173633543] [checkTS=437093288173633544] -[2022/11/02 16:42:51.222 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:51.222 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:51.222 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:51.291 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:51.291 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:51.291 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:51.357 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:51.357 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:51.357 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:51.473 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:51.473 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:51.473 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:51.818 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:51.818 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:51.818 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:52.203 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:42:52.362 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:52.362 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:52.362 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:53.427 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:53.427 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:53.427 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:54.469 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:54.469 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:54.469 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:56.173 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:56.173 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:56.173 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:57.923 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:57.923 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:57.923 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:42:59.405 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:42:59.405 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:42:59.405 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:00.475 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:00.475 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:00.475 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:02.476 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:02.476 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:02.476 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:03.705 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:03.705 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:03.705 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:05.552 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:05.552 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:05.552 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:06.593 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:06.593 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:06.593 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:07.962 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:07.962 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:07.962 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:09.031 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:09.031 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:09.031 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:10.725 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:10.725 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:10.725 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:11.993 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:11.993 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:11.994 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:13.242 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:13.242 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:13.242 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:15.002 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:15.002 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:15.002 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:16.804 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:16.805 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:16.805 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:17.829 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:17.829 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:17.829 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:19.316 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:19.316 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:19.316 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:21.273 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:21.273 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:21.273 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:23.144 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:23.144 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:23.144 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:24.610 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:24.610 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:24.610 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:26.106 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:26.106 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:26.106 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:27.429 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:27.429 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:27.429 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:28.893 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:28.893 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:28.893 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:29.980 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:29.980 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:29.980 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:31.550 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:31.550 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:31.550 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:31.550 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:27.429958+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:28.893349+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:43:29.980695+08:00\nlongest sleep type: tiflashRPC, time: 40232ms"] -[2022/11/02 16:43:31.550 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093288192507904\n# Conn_ID: 1\n# Query_time: 40.259392709\n# Parse_time: 0.000028\n# Compile_time: 0.000153334\n# Rewrite_time: 0.0000405\n# Optimize_time: 0.000065958\n# Wait_TS: 0.000007\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDAuM3MsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDAuM3MsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nselect count(*) from t;"] -[2022/11/02 16:43:31.550 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:43:31.550 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=500ns] -[2022/11/02 16:43:31.551 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=334ns] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:43:31.551 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=208ns] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=84ns] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:43:31.551 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] ["take time"=94.125µs] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=18177e27-18c6-4f7f-92de-c904c0f6a159] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=196.083µs] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:43:31.551 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:43:31.573 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -[2022/11/02 16:43:31.671 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:31.671 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:31.672 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:31.672 +08:00] [INFO] [misc.go:69] ["new domain"] [store=9728d46b-ce84-4cb7-a745-59b45f6c4edd] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:43:31.673 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.267333ms] -[2022/11/02 16:43:31.674 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:43:31.674 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] [runWorker=true] -[2022/11/02 16:43:31.674 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] -[2022/11/02 16:43:31.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] -[2022/11/02 16:43:31.674 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:43:31.674 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:43:31.674 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:43:31.674 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:43:31.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.675 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:43:31.678 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.679 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=967.333µs] -[2022/11/02 16:43:31.679 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:43:31.680 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.261375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.681 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.682 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:43:31.682 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.682 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:43:31.682 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:43:31.684 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:43:31.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.688 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=359.667µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257792ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.691 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:43:31.692 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.692 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:43:31.693 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:43:31.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.695 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=72.958µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.697 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.26175ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:43:31.698 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.698 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:43:31.699 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.699 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:43:31.701 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.702 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=206.958µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.704 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.03575ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.705 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.699 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.706 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:43:31.706 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.706 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:43:31.707 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.707 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:43:31.709 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.710 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.712 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.258208ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.712 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.713 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:43:31.713 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.713 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:43:31.714 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:43:31.715 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=98.125µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.718 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.085917ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.719 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.713 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.720 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:43:31.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.722 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=70.5µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.724 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.344667ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:43:31.725 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.725 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:43:31.726 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.726 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:43:31.727 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.728 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=83.5µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.730 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.262584ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.726 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:43:31.731 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.731 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:43:31.732 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.732 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:43:31.733 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.734 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=81.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.736 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.258708ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.737 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.738 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.738 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:43:31.740 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.740 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=79.375µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.742 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.179209ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.738 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:43:31.743 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.744 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.744 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:31.745 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.746 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=130.042µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.749 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.259625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.749 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.750 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:43:31.750 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.750 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:43:31.751 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.751 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:43:31.752 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.753 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=105.25µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.755 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.160125ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.755 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.756 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:43:31.756 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.756 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:43:31.757 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.757 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:43:31.758 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.758 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=76.292µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.761 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.256416ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.761 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.756 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.762 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:43:31.762 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.762 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:43:31.763 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.763 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:43:31.764 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.764 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=83.375µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.767 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.227084ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.767 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.768 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:31.770 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.770 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=77.542µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.772 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.139041ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:43:31.773 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.773 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:43:31.774 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.774 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:43:31.775 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.776 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=87.708µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.778 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.256959ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:43:31.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:43:31.780 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.780 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:43:31.781 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.781 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=67.666µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.783 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.210083ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.785 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.785 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:43:31.786 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.787 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=104.042µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.789 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.259542ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.790 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.791 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:43:31.791 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:31.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:31.793 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.793 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=86.084µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.795 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.028333ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:43:31.796 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.796 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:43:31.797 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.797 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:43:31.798 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.798 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=56.625µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.801 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.259083ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.801 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.802 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:43:31.803 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.804 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.806 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.255416ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.806 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.807 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:43:31.807 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.807 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:43:31.808 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.808 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:43:31.809 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.810 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=108.875µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.812 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.254833ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:43:31.813 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.813 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:43:31.814 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.814 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:43:31.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.815 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=83.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.817 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.025209ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.818 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:31.819 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:31.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=76.041µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.263875ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.824 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:43:31.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:43:31.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:43:31.827 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.827 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.542µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.256334ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.830 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.831 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.831 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:43:31.832 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.833 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=69.709µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.835 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.259375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:43:31.836 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.836 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:43:31.837 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.837 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:43:31.838 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.839 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=72.167µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.841 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.258125ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.841 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.837 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.842 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:43:31.842 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.842 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:43:31.843 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.843 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:43:31.844 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.844 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=63.416µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.847 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.214958ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.847 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.848 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.848 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:43:31.849 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.850 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=90.167µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.852 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.091792ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:43:31.853 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.853 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:43:31.854 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.854 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:43:31.855 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.856 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=101.416µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.858 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.257209ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:43:31.859 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.859 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:43:31.860 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.860 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:43:31.861 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.862 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=86.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.864 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.257417ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:43:31.865 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.865 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:43:31.866 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:43:31.867 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=138.75µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.072333ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.871 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:43:31.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:43:31.873 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:43:31.874 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.874 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=69.958µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:43:31.876 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.271959ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.877 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.878 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:43:31.879 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.880 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.375µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:43:31.882 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.199709ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.883 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.878 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:31.884 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:43:31.884 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:31.890 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=216.014042ms] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=459ns] -[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=250ns] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:43:31.890 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=125ns] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=41ns] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:43:31.890 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] ["take time"=229.167µs] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=96e8a1e9-011c-48b8-9d7f-4ad124c8f314] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:43:31.890 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=289.833µs] -[2022/11/02 16:43:31.890 +08:00] [INFO] [misc.go:69] ["new domain"] [store=9728d46b-ce84-4cb7-a745-59b45f6c4edd] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.694833ms] -[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:43:31.893 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=81052367-a8eb-4422-9e1e-f2c4014c209c] [runWorker=true] -[2022/11/02 16:43:31.893 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] -[2022/11/02 16:43:31.893 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] -[2022/11/02 16:43:31.893 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:43:31.893 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:43:31.893 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:43:31.894 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:43:31.898 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:43:31.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:31.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:43:32.895 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.896 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=83.917µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:43:32.898 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.27975ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.899 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:31.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:32.900 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.002068875\n# Parse_time: 0.000021833\n# Compile_time: 0.000011375\n# Rewrite_time: 0.000000791\n# Optimize_time: 0.000005333\n# Wait_TS: 0.000001417\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] -[2022/11/02 16:43:32.900 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:32.900 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:43:32.902 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.902 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:43:32.902 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:43:32.903 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=58.166µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:43:32.905 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.055417ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:43:32.906 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:32.907 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:32.907 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:43:32.909 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.909 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=66.875µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:43:32.911 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.256708ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.912 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:32.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:32.913 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:43:32.913 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:32.913 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093299103465474] [checkTS=437093299103465475] -[2022/11/02 16:43:32.913 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:32.913 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:32.913 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:32.966 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:32.966 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:32.966 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:33.046 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:33.046 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:33.046 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:33.150 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:33.150 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:33.150 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:33.514 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:33.515 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:33.515 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:33.894 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:43:33.952 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:33.952 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:33.952 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:35.544 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:35.544 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:35.544 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:36.714 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:36.714 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:36.714 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:37.731 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:37.731 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:37.731 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:39.568 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:39.569 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:39.569 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:40.593 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:40.593 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:40.593 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:42.206 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:42.206 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:42.206 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:43.717 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:43.717 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:43.717 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:45.020 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:45.020 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:45.020 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:46.744 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:46.744 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:46.744 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:47.922 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:47.922 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:43:47.922 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] --- Test timed out at 2022-11-02 16:43:49 CST -- -================================================================================ -==================== Test output for //store:store_test: -[2022/11/02 16:43:50.284 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:50.284 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:50.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:43:50.285 +08:00] [INFO] [misc.go:69] ["new domain"] [store=64399a15-5930-42e3-81c3-2e77a53022aa] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=758.208µs] -[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:43:50.287 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] [runWorker=true] -[2022/11/02 16:43:50.288 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:43:50.288 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:43:50.303 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:43:50.303 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:43:50.303 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:43:50.304 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:43:50.305 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.305 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:43:50.307 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.308 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=857.875µs] -[2022/11/02 16:43:50.309 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:43:50.310 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.020041ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:43:50.311 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:43:50.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:43:50.313 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.313 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:43:50.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.317 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=295.125µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.319 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257125ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.320 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.321 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:43:50.321 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.321 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:43:50.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.322 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:43:50.323 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.324 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=112.166µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.326 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.194833ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:43:50.327 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.328 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:43:50.329 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.329 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:43:50.330 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.331 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=177.875µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.333 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.255083ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.334 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.335 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:43:50.335 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.335 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:43:50.336 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.337 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=102.209µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.339 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.257042ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.340 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.335 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.341 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.341 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:43:50.342 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.343 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=96.291µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.345 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.260917ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.346 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.341 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.347 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:43:50.348 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.349 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=50.709µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.351 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.258166ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:43:50.352 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.352 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:43:50.353 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.353 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:43:50.354 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.355 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=73.584µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.357 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.259ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:43:50.358 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.358 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:43:50.359 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.359 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:43:50.360 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.361 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=85.5µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.363 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.275709ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:43:50.364 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:43:50.365 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.365 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:43:50.367 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.367 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.334µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.369 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.092084ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.370 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.371 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:50.371 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:43:50.372 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.372 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:50.373 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.375 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=131.958µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.377 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.258792ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.377 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.378 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:43:50.378 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.378 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:43:50.379 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.379 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:43:50.380 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.381 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=120.125µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.383 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.142ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:43:50.385 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.385 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:43:50.386 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.386 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:43:50.388 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.388 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.5µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.390 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.074292ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.391 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.386 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.392 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:43:50.392 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.392 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:43:50.393 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.393 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:43:50.394 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.395 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=95.667µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.397 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.264542ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:43:50.398 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.398 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:50.399 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.401 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=79.666µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.403 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.258583ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.405 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:43:50.405 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.405 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:43:50.406 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.406 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:43:50.407 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.408 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=91.417µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.410 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.017708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.412 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.413 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:43:50.413 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.413 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:43:50.414 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.414 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:43:50.416 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.416 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=85.459µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.418 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.039916ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:43:50.419 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.420 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:43:50.420 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.420 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:43:50.422 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.423 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=110.25µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.425 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.09675ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.425 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.426 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:43:50.426 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.426 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:50.427 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.427 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:50.428 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.429 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=85.792µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.431 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.275125ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.427 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:43:50.432 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.433 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:43:50.433 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.433 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:43:50.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.435 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=62.958µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.437 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.152791ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:43:50.438 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.438 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:43:50.439 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:43:50.440 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.441 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=46.959µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.443 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.253208ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:43:50.444 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.444 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:43:50.445 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.445 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:43:50.447 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.447 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=94.875µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.449 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.18275ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.450 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.445 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.451 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:43:50.451 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.451 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:43:50.452 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.452 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:43:50.453 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.454 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=79.625µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.456 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.268917ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:43:50.457 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.458 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:43:50.458 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.459 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:43:50.460 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.461 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=93µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.463 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.160292ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:43:50.464 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.464 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:43:50.465 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.465 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:43:50.467 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.468 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=83.417µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.470 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.26775ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.471 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.472 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.472 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:43:50.474 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.475 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=75.708µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.477 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.242542ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.478 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.479 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.479 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:43:50.481 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.481 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=85.084µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.484 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.246042ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:43:50.485 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.485 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:43:50.488 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.488 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:43:50.489 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.490 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=70.792µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.492 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.258125ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.486 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.493 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:43:50.493 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:43:50.494 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.494 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:43:50.496 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.496 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=93.25µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.499 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.254375ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.499 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.500 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:43:50.500 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.500 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:43:50.501 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.501 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:43:50.502 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.503 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=94.542µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.505 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.134083ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:43:50.506 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.506 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:43:50.507 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.507 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:43:50.509 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.510 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=96.459µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.512 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.024625ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:43:50.513 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.513 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:43:50.514 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.514 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:43:50.515 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.516 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=129.333µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.519 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.170875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:43:50.520 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.521 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:43:50.521 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.521 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:43:50.522 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.523 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=65.417µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:43:50.525 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.251667ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:43:50.526 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:43:50.528 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.529 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=91.167µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:43:50.531 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.158375ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.532 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:50.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:43:50.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:50.539 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=235.614084ms] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=584ns] -[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=375ns] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:43:50.539 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=375ns] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=42ns] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:43:50.539 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] ["take time"=160.083µs] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=d9e2da6e-fcbc-4bed-8395-258c5332edd6] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:43:50.539 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=254.542µs] -[2022/11/02 16:43:50.539 +08:00] [INFO] [misc.go:69] ["new domain"] [store=64399a15-5930-42e3-81c3-2e77a53022aa] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.665958ms] -[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:43:50.542 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] [runWorker=true] -[2022/11/02 16:43:50.542 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:43:50.542 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:43:50.543 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:43:50.543 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:43:50.543 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:43:50.543 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:43:50.547 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:43:50.548 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:50.548 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:43:51.545 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.546 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=55.75µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:43:51.548 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.184583ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:50.548 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:43:51.549 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:51.549 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.002005\n# Parse_time: 0.000021458\n# Compile_time: 0.000013167\n# Rewrite_time: 0.000001084\n# Optimize_time: 0.000005708\n# Wait_TS: 0.000001583\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] -[2022/11/02 16:43:51.550 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:43:51.550 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:51.550 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:43:51.552 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.552 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:43:51.552 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:43:51.553 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=63.208µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:43:51.555 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.167292ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:43:51.556 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:51.557 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:43:51.557 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:43:51.558 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.559 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=63.792µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:43:51.561 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.263125ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.562 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:43:51.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:43:51.563 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:43:51.563 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:43:51.563 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093303992451075] [checkTS=437093303992451076] -[2022/11/02 16:43:51.564 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:51.564 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:51.564 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:51.642 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:51.642 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:51.642 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:51.728 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:51.728 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:51.728 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:51.889 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:51.889 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:51.889 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:52.174 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:52.174 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:52.174 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:52.543 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:43:52.726 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:52.726 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:52.726 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:53.714 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:53.714 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:53.714 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:55.154 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:55.154 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:55.154 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:56.464 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:56.464 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:56.464 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:58.121 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:58.121 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:58.121 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:43:59.357 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:43:59.357 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:43:59.357 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:00.672 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:00.672 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:00.672 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:01.858 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:01.858 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:01.858 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:03.404 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:03.404 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:03.404 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:04.956 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:04.956 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:04.956 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:06.568 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:06.568 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:06.568 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:07.938 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:07.938 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:07.938 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:09.190 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:09.190 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:09.190 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:10.742 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:10.742 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:10.742 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:11.874 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:11.874 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:11.874 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:13.791 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:13.791 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:13.791 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:15.610 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:15.610 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:15.610 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:17.247 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:17.247 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:17.247 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:18.370 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:18.370 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:18.370 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:19.545 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:19.545 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:19.545 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:21.235 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:21.235 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:21.235 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:22.436 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:22.436 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:22.436 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:23.940 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:23.940 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:23.940 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:25.493 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:25.493 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:25.493 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:27.403 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:27.403 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:27.403 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:29.092 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:29.092 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:29.092 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:31.086 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:31.086 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:31.086 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:32.508 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 2 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:32.508 +08:00] [WARN] [backoff.go:120] ["tiflashRPC backoffer.maxSleep 40000ms is exceeded, errors:\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:27.403667+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:29.092276+08:00\nsend request error: rpc error, ctx: region ID: 2, meta: id:2 region_epoch: peers: peers: , peer: id:5 store_id:4 , addr: tiflash0, idx: 0, reqStoreType: TiFlashOnly, runStoreType: tiflash, regionInfos: [{{2 2 1} id:2 region_epoch: peers: peers: [\"7480000000000000465f720000000000000000\", \"7480000000000000465f72ffffffffffffffff00\"] [4] 0}] at 2022-11-02T16:44:31.086818+08:00\nlongest sleep type: tiflashRPC, time: 40835ms"] -[2022/11/02 16:44:32.508 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 437093304013160448\n# Conn_ID: 1\n# Query_time: 40.8664515\n# Parse_time: 0.000029209\n# Compile_time: 0.000147041\n# Rewrite_time: 0.000034875\n# Optimize_time: 0.000065125\n# Wait_TS: 0.000005459\n# DB: test\n# Is_internal: false\n# Digest: 8e2dde9df445b943a04e3e717096baaafc4f20e463c06b0b7d16e03f529d62d6\n# Stats: t:pseudo\n# Num_cop_tasks: 0\n# Mem_max: 388\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('gwKIMAk1XzE2CTAJMQlmdW5jczpjb3VudChDb2x1bW4jNiktPkMJC/BDNAkwCXRpbWU6NDAuOXMsIGxvb3BzOjEJMzg4IEJ5dGVzCU4vQQoxCTMxXzE3CTAJMQlkYXRhOlN0cmVhbUFnZ184CTBSQQAAMB0/JDIJNV84CTFfMQk2jwAAMRmIAawMCU4vQQEEIAozCTQzXzE1CQUy3DAwMDAJdGFibGU6dCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJCU4vQQlOL0EK')\n# Plan_digest: ef728b05838b513af0549aae759e8f93c0c2f27d827f7254c833624047ccb10b\n# Binary_plan: tidb_decode_binary_plan('iwOgCoYDCgxTdHJlYW1BZ2dfMTYSmwIKDlRhYmxlUmVhZGVyXzE3EsABCgsZJBA4EmsKEAUiUEZ1bGxTY2FuXzE1IQAAAADAegBBKQEJ4ACIw0A4A0ADSgsKCQoEdGVzdBIBdFIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvcP///wkCBAF4CQgM////AQVZCEAkBA1ZCADwPwFZZFIYZnVuY3M6Y291bnQoMSktPkNvbHVtbiM2akYADPB8xUAJnwFGJAFAAVIQZGF0YTod21BaE3RpbWU6NDAuOXMsIGxvb3BzOjE+jgAEcH4+SAAAHy6OABGKGZUANFJXADxwhAN4////////////ARgB')\nselect count(*) from t;"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=375ns] -[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=208ns] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=333ns] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=42ns] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:44:32.508 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] ["take time"=98.667µs] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=fa25d184-dc96-42e9-ac3b-838483f7936b] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:44:32.508 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=186.875µs] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:44:32.546 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:44:32.738 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:44:32.739 +08:00] [INFO] [misc.go:69] ["new domain"] [store=e4ee3808-65c0-4c00-8d86-87873682405f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=855.833µs] -[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:44:32.740 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] [runWorker=true] -[2022/11/02 16:44:32.740 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] -[2022/11/02 16:44:32.740 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] -[2022/11/02 16:44:32.756 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:44:32.757 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:44:32.757 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:44:32.757 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:44:32.758 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.758 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:44:32.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.761 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=816.709µs] -[2022/11/02 16:44:32.761 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:44:32.762 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.111125ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.757 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:44:32.763 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.763 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:44:32.763 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:44:32.764 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:44:32.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.768 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=302.958µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.770 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.289416ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.771 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.773 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:44:32.773 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.773 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:44:32.774 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.774 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:44:32.775 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.775 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=65.708µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.777 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.174458ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.778 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.779 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:44:32.779 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.779 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:44:32.780 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.780 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:44:32.782 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.783 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=196.916µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.785 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.149208ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.786 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.788 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.788 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:44:32.790 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.790 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=98.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.792 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.094959ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.793 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.794 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:44:32.794 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.794 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:44:32.795 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.795 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:44:32.797 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.798 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=107.75µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.800 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.252625ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:44:32.801 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.802 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:44:32.802 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.802 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:44:32.803 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.804 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.334µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.806 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.268459ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:44:32.807 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.807 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:44:32.808 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.808 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:44:32.809 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.809 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=60.416µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.812 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.254ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.812 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.813 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.813 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:44:32.815 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.815 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=76.375µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.290291ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.818 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.813 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.819 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:44:32.819 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:44:32.820 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:44:32.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.792µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.254459ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.824 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:44:32.825 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:44:32.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:44:32.827 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.828 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=133.709µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.244084ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.831 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:44:32.832 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.832 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:44:32.833 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.833 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:44:32.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.836 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=121.25µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.838 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.270125ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:44:32.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.840 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:44:32.840 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.840 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:44:32.841 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.842 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=95.625µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.844 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.199333ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.845 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:44:32.846 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.846 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:44:32.847 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.847 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:44:32.848 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.849 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=80.916µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.851 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.268083ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.852 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:44:32.853 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.853 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:44:32.854 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.854 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:44:32.855 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.856 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=80.375µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.858 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.143125ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.859 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.860 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:44:32.860 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.860 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:44:32.861 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.861 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:44:32.862 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.863 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.865 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.158042ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.86 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:44:32.866 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.867 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:44:32.867 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.867 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:44:32.869 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.870 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=78.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.872 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.274209ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:44:32.873 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.873 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:44:32.874 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.874 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:44:32.876 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.877 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=135µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.880 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.287ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.881 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.874 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.882 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:44:32.882 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.882 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:44:32.883 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.884 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:44:32.885 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.886 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=107.208µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.888 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.058625ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.889 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.883 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.890 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:44:32.890 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.890 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:44:32.891 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.891 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:44:32.893 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.893 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=71µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.895 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.014416ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.896 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.89 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.897 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:44:32.897 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.897 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:44:32.898 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.898 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:44:32.900 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.900 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.416µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.902 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.268334ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.903 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.897 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.904 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:44:32.904 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.904 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:44:32.905 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.905 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:44:32.907 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.908 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=124.125µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.910 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.27025ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.911 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.904 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.912 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:44:32.912 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.912 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:44:32.913 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.913 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:44:32.914 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.915 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=91.292µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.917 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.177958ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.918 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.919 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:44:32.919 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.919 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:44:32.920 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.920 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:44:32.922 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.923 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=90.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.925 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.060084ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.926 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:44:32.927 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.927 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:44:32.928 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.928 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:44:32.930 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.932 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=102.708µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.934 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.136625ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.935 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.936 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:44:32.936 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.936 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:44:32.937 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.937 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:44:32.939 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.940 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=83.167µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.942 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.254666ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.936 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:44:32.943 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:44:32.944 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.944 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:44:32.946 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.947 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.875µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.949 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.059458ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.950 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.944 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.951 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:44:32.951 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.951 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:44:32.952 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.952 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:44:32.953 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.954 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=90.334µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.956 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.269166ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.957 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:44:32.958 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:44:32.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:44:32.960 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.961 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=89.917µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.963 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.12975ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.964 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.965 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:44:32.965 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.965 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:44:32.966 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.966 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:44:32.967 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.968 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=88.5µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.970 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.127916ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.971 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.972 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:44:32.972 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.972 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:44:32.973 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.973 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:44:32.974 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.975 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=104.25µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.977 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.246958ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.978 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.979 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:44:32.979 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.979 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:44:32.980 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.980 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:44:32.981 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.983 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=146.083µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.985 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.10625ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.986 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.987 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:44:32.987 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.987 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:44:32.988 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.988 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:44:32.989 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.990 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=89.75µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:44:32.992 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.083125ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.987 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:44:32.993 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:32.994 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:32.994 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:44:32.996 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:32.998 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.875µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:44:33.000 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.271625ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:32.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:44:33.001 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:33.008 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=251.726375ms] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=375ns] -[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=459ns] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:44:33.008 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=208ns] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=41ns] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:44:33.008 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:44:33.009 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] ["take time"=170.125µs] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=ed715f8c-855d-4a57-877f-a0ac390d790a] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:44:33.009 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=233.708µs] -[2022/11/02 16:44:33.009 +08:00] [INFO] [misc.go:69] ["new domain"] [store=e4ee3808-65c0-4c00-8d86-87873682405f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.896583ms] -[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:44:33.012 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=ab91eb3f-1bf7-4ac3-9ce2-e0879f106ce6] [runWorker=true] -[2022/11/02 16:44:33.012 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] -[2022/11/02 16:44:33.012 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] -[2022/11/02 16:44:33.012 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:44:33.012 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:44:33.012 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:44:33.013 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:44:33.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int not null, b int not null)"] [user=] -[2022/11/02 16:44:33.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:33.019 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int not null, b int not null)"] -[2022/11/02 16:44:34.014 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.015 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=57.666µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:44:34.017 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.027917ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:33.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:44:34.018 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:34.018 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000549291\n# Parse_time: 0.000019291\n# Compile_time: 0.000013291\n# Rewrite_time: 0.00000125\n# Optimize_time: 0.00000725\n# Wait_TS: 0.000002916\n# DB: test\n# Is_internal: false\n# Digest: 66482104721bfdda5214ed415ef2510d07ebd775583a766eec1a3ca6204ebb69\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int not null, b int not null);"] -[2022/11/02 16:44:34.018 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t set tiflash replica 1"] [user=] -[2022/11/02 16:44:34.019 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:34.019 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] start DDL job"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t set tiflash replica 1"] -[2022/11/02 16:44:34.020 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.020 +08:00] [INFO] [ddl_worker.go:1257] ["Set TiFlash replica pd rule"] [tableID=70] -[2022/11/02 16:44:34.020 +08:00] [INFO] [table.go:1261] [ConfigureTiFlashPDForTable] [tableID=70] [count=1] -[2022/11/02 16:44:34.021 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=53.667µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:44:34.023 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.256ms] [job="ID:72, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:1, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:72, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl_api.go:5155] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:44:34.024 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:34.025 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:44:34.025 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] start DDL job"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query=] -[2022/11/02 16:44:34.028 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.028 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=67.75µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:44:34.030 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.105709ms] [job="ID:73, Type:update tiflash replica status, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.031 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:73, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:44:34.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:44:34.032 +08:00] [INFO] [ddl_api.go:5284] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:44:34.032 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:44:34.032 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=437093315125444613] [checkTS=437093315125444614] -[2022/11/02 16:44:34.033 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:34.033 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:34.033 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:34.133 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:34.133 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:34.133 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:34.204 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:34.204 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:34.204 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:34.322 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:34.322 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:34.322 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:34.556 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:34.556 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:34.556 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:35.012 +08:00] [INFO] [ddl_tiflash_api.go:673] [SetTiFlashGroupConfig] -[2022/11/02 16:44:35.275 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:35.275 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:35.275 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:36.674 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:36.674 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:36.674 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:38.459 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:38.459 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:38.459 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:40.359 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:40.359 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:40.359 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:41.460 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:41.460 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:41.460 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:42.677 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:42.677 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:42.677 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:44.346 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:44.346 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:44.346 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:45.364 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:45.364 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:45.364 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:46.527 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:46.527 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash1] -[2022/11/02 16:44:46.527 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] -[2022/11/02 16:44:48.379 +08:00] [INFO] [batch_request_sender.go:107] ["Send fail for 1 regions, will switch region peer for these regions. Only first 1 regions will be logged if the log level is higher than Debug"] -[2022/11/02 16:44:48.379 +08:00] [INFO] [region_cache.go:999] ["mark store's regions need be refill"] [store=tiflash0] -[2022/11/02 16:44:48.379 +08:00] [INFO] [region_cache.go:199] ["switch region tiflash peer to next due to send request fail"] [region="{ region id: 2, ver: 1, confVer: 3 }"] [needReload=true] [error="rpc error"] [errorVerbose="rpc error\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:258\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/pingcap/tidb/store/copr.(*tikvClient).SendRequest\n\tstore/copr/store.go:69\ngithub.com/pingcap/tidb/store/copr.(*RegionBatchRequestSender).SendReqToAddr\n\tstore/copr/batch_request_sender.go:76\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTaskOnce\n\tstore/copr/batch_coprocessor.go:901\ngithub.com/pingcap/tidb/store/copr.(*batchCopIterator).handleTask\n\tstore/copr/batch_coprocessor.go:826\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] --- Test timed out at 2022-11-02 16:44:50 CST -- -================================================================================ -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3642) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3851) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3766) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3856) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3868) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3866) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3873) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -==================== Test output for //infoschema:infoschema_test (shard 5 of 50): -[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:08.047 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:08.047 +08:00] [INFO] [misc.go:69] ["new domain"] [store=edf02728-0c02-4731-8622-f81cc95dda6f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:08.049 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=911.709µs] -[2022/11/02 16:49:08.050 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:08.050 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] [runWorker=true] -[2022/11/02 16:49:08.050 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:49:08.050 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:49:08.065 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:08.065 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:08.065 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:08.066 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:08.068 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.068 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:08.070 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.071 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=823.917µs] -[2022/11/02 16:49:08.071 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:08.072 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.014917ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:08.073 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.074 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:08.074 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:08.075 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.075 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:08.076 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.079 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=293.625µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.081 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.054375ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.082 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.074 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.083 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:08.083 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.083 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:08.084 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.084 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:08.086 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.086 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=75.291µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.089 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.273208ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.089 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.090 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:08.090 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.090 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:08.091 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.091 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:08.092 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.094 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=188.375µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.096 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.23ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.097 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.091 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.098 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:08.098 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.098 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:08.099 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.099 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:08.100 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.101 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=103.834µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.103 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.261041ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.105 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.099 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.106 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:08.106 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.106 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:08.107 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.107 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:08.108 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.109 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=93.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.111 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.055792ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:08.112 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.113 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:08.113 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.113 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:08.114 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.115 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=58.584µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.117 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.096125ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:08.118 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.118 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:08.119 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.119 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:08.120 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.121 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=69.375µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.123 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.25675ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.124 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.125 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.125 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:08.126 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.127 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=81.333µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.129 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.268375ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.130 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.125 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.131 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:08.131 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.131 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:08.132 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.132 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:08.133 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.133 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=83.875µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.135 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.262708ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.136 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.131 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.137 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:08.137 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:08.138 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.138 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:08.139 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.140 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=141.25µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.142 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.027625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.143 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.144 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:08.144 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.144 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:08.145 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.145 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:08.147 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.148 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=118.875µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.150 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.260208ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:08.151 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.151 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:08.152 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:08.153 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.154 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=83.375µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.156 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.258042ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.157 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.152 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.158 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.158 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:08.160 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.161 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=89µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.163 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.058959ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.158 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:08.164 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.165 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:08.165 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.165 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:08.167 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.168 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=86.584µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.170 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.256417ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:08.171 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.171 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:08.172 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:08.173 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.174 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=79.5µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.176 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.224041ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.177 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.178 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:08.180 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.180 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=91.209µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.182 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.035458ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.183 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:08.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.184 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:08.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:08.187 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.188 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=122.041µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.191 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.25675ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.193 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.196 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:08.196 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.196 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:08.198 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:08.199 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.200 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=95.125µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.202 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.284417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:08.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:08.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:08.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=164.542µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.211 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=3.255167ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.212 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.213 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:08.213 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.213 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:08.214 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.214 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:08.216 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.217 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=53.25µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.219 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.246875ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.220 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.220 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:08.221 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.221 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:08.222 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.222 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:08.223 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.224 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=116.708µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.227 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.25775ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.221 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:08.228 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.228 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:08.230 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.230 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:08.232 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.233 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=85.667µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.235 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.261583ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.239 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:08.239 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.239 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:08.241 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.241 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:08.243 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.244 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=94.708µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.246 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.249042ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:08.248 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.248 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:08.251 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.251 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:08.253 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.255 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=89.75µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.257 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.168792ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:08.258 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.258 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:08.260 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.260 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:08.262 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.263 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=75.959µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.265 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.276291ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.266 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.267 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:08.267 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.267 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:08.268 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.268 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:08.270 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.272 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=95.042µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.274 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.135792ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.276 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:08.276 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.276 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:08.277 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.277 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:08.280 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.281 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=85.792µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.283 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.040917ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.284 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.285 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:08.285 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:08.286 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.286 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:08.288 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.290 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=106.459µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.292 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.318083ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.293 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.294 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:08.294 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.294 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:08.295 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:08.297 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.298 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=100.708µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.300 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.213375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.301 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.302 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:08.302 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.302 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:08.303 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.303 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:08.305 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.307 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=102.958µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.309 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.251083ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.310 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.311 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:08.311 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.311 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:08.313 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.313 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:08.315 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.317 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=231.667µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.319 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.229917ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.313 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:08.321 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.321 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:08.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.322 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:08.325 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.326 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=64.542µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:08.328 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.279542ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:08.329 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.330 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:08.330 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:08.331 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.332 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=99µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:08.334 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.018459ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.335 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:08.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:08.336 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:08.336 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:08.343 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=277.902833ms] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=541ns] -[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=334ns] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:08.343 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=292ns] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=84ns] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=41ns] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:08.343 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:08.344 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] ["take time"=132.166µs] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=c6f86851-f782-4086-a082-32f5abf82dc4] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:08.344 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=189.959µs] -[2022/11/02 16:49:08.344 +08:00] [INFO] [misc.go:69] ["new domain"] [store=edf02728-0c02-4731-8622-f81cc95dda6f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.831083ms] -[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:08.347 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] [runWorker=true] -[2022/11/02 16:49:08.347 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:49:08.347 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:49:08.357 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:08.357 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:08.357 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:08.358 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:09.866 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.503674\n# Parse_time: 0.00000925\n# Compile_time: 0.000059291\n# Rewrite_time: 0.000011875\n# Optimize_time: 0.000012292\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:09.867 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=666ns] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:09.867 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=292ns] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=41ns] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=42ns] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:09.867 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] ["take time"=69.833µs] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cd1c037f-4d95-49a9-b1dc-df383fdd41ee] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:09.867 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=152.583µs] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:09.904 +08:00] [INFO] [db.go:625] ["Waiting for closer"] ---- FAIL: TestForClusterServerInfo (2.09s) - cluster_tables_test.go:130: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5495/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 - Error: "0" is not greater than "0" - Test: TestForClusterServerInfo -[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:10.078 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:10.079 +08:00] [INFO] [misc.go:69] ["new domain"] [store=a5dfebf3-6910-45c2-b147-4b8096d3b29a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:10.079 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=813.583µs] -[2022/11/02 16:49:10.080 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:10.080 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] [runWorker=true] -[2022/11/02 16:49:10.080 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] -[2022/11/02 16:49:10.080 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] -[2022/11/02 16:49:10.080 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:10.080 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:10.080 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:10.080 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:10.081 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.081 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:10.083 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.084 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=785.917µs] -[2022/11/02 16:49:10.084 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:10.085 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.25ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.086 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.087 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:10.087 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.087 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:10.087 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:10.088 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.088 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:10.090 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.092 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=299.833µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.094 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.287583ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.096 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.087 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.097 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:10.097 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.097 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:10.098 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.098 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:10.099 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.100 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=93.666µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.102 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.198708ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:10.103 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.103 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:10.104 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.104 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:10.107 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.109 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=206.292µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.111 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.266834ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.112 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.113 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:10.113 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.113 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:10.114 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.115 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:10.116 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.117 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.125µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.119 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.298042ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.120 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.121 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:10.121 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.121 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:10.122 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.122 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:10.123 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.124 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=104.792µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.126 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.276583ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.127 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.128 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:10.128 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.128 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:10.129 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.129 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:10.130 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.131 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.625µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.133 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.031416ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.133 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.134 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.134 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:10.136 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.137 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=70.792µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.139 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.267167ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:10.140 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.140 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:10.141 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.141 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:10.142 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.143 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=84.75µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.145 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.077667ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.141 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:10.146 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.146 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:10.147 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.147 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:10.148 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.149 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=92.166µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.151 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.257875ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.152 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:10.152 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:10.153 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.153 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:10.154 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.155 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=129.584µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.158 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.408167ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.153 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:10.159 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.159 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:10.160 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.160 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:10.161 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.162 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=107.709µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.164 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.151541ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:10.165 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.166 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:10.166 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.166 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:10.167 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.168 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=84.375µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.170 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.198458ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.171 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.172 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.172 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:10.174 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.175 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=87µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.177 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.260708ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:10.178 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.178 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:10.179 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.179 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:10.180 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.181 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=84.709µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.183 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.277541ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:10.184 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.185 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:10.185 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.185 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:10.187 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.188 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90.417µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.190 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.2585ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:10.191 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.191 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:10.192 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.192 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:10.194 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.194 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=85.542µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.196 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.265542ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.197 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:10.198 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.198 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:10.199 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.199 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:10.200 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.201 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=120.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.203 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.209916ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:10.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:10.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:10.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=91.334µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.210 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.267417ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.211 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.212 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:10.214 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=66.542µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.216 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.071791ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.217 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.218 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:10.218 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.218 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:10.219 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.219 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:10.220 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.221 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=50µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.223 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.225834ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:10.224 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.224 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:10.225 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.225 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:10.227 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.227 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=107.375µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.229 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.279375ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.230 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.231 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:10.231 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.231 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:10.232 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:10.233 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.234 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=89.916µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.236 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.270708ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:10.237 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.237 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:10.238 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.238 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:10.240 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.240 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=82.542µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.242 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.259125ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.243 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.244 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:10.244 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.244 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:10.245 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.245 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:10.247 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.248 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.834µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.250 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.18425ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:10.251 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.251 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:10.252 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.252 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:10.253 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.254 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=76.417µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.256 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.268917ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.257 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.252 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.258 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.258 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:10.259 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.260 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=78.375µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.262 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.270333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.263 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.258 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.264 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.264 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:10.265 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.266 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=69.042µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.268 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.228334ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.269 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:10.269 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:10.270 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.270 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:10.271 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.272 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=84.083µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.274 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.279334ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:10.275 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.275 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:10.276 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.276 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:10.277 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.278 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=91.125µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.280 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.258834ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.281 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.282 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.282 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:10.284 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.284 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=88.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.287 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.256709ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.287 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.288 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:10.288 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.288 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:10.289 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.289 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:10.290 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.291 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=139.709µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.293 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.254541ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.294 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.288 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.295 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:10.296 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.297 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=53.667µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:10.299 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.270292ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:10.300 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.301 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.301 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:10.302 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.303 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=90.833µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:10.305 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.274791ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.306 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:10.307 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:10.307 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:10.313 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=233.081ms] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=458ns] -[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=333ns] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:10.313 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=209ns] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=83ns] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=42ns] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:10.313 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] ["take time"=183.792µs] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=2c2492e5-0fa6-4caa-9b6d-883b3374a49d] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:10.313 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=225.292µs] -[2022/11/02 16:49:10.313 +08:00] [INFO] [misc.go:69] ["new domain"] [store=a5dfebf3-6910-45c2-b147-4b8096d3b29a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.727666ms] -[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:10.316 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] [runWorker=true] -[2022/11/02 16:49:10.316 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] -[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:10.316 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] -[2022/11/02 16:49:10.317 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:10.317 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:10.317 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:10.317 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:10.322 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] -[2022/11/02 16:49:10.322 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:10.322 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] -[2022/11/02 16:49:11.319 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.321 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=25.958µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:49:11.323 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.059958ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.324 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:10.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.325 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:49:11.325 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.325 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.003098416\n# Parse_time: 0.000005458\n# Compile_time: 0.000017166\n# Rewrite_time: 0.000000791\n# Optimize_time: 0.000009958\n# Wait_TS: 0.000001417\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] -[2022/11/02 16:49:11.325 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] -[2022/11/02 16:49:11.326 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.326 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] -[2022/11/02 16:49:11.327 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.328 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=54.875µs] [phyTblIDs="[72]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.330 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.293459ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.331 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.325 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.332 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:49:11.332 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.332 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] -[2022/11/02 16:49:11.333 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.333 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] -[2022/11/02 16:49:11.335 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.336 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=64.25µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.338 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.241ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.339 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.340 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=77.959µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.342 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.259333ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.343 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.344 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] -[2022/11/02 16:49:11.344 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=3µs] -[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=417ns] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:11.345 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=375ns] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=41ns] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=41ns] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:11.345 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] ["take time"=1.057959ms] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cf257511-5b8d-4a16-8a50-5c5cb054fd33] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:11.345 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=1.173542ms] -[2022/11/02 16:49:11.345 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:11.365 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -FAIL -================================================================================ -==================== Test output for //infoschema:infoschema_test (shard 5 of 50): -[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:11.626 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:11.627 +08:00] [INFO] [misc.go:69] ["new domain"] [store=01893363-c0f7-4ca1-8f5e-91231294b660] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=809.667µs] -[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:11.629 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] [runWorker=true] -[2022/11/02 16:49:11.629 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:49:11.629 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:49:11.629 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:11.629 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:11.629 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:11.629 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:11.631 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.631 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:11.632 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.633 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=705.791µs] -[2022/11/02 16:49:11.633 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:11.635 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.265542ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.635 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.636 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:11.636 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.636 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:11.636 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:11.637 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.637 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:11.639 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.641 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=307.75µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.643 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.259791ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.644 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:11.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:11.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:11.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=67.875µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.259167ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.653 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:11.653 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.653 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:11.654 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:11.656 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.657 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=211.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.659 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.112583ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.660 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.661 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:11.661 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.661 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:11.662 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:11.663 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.664 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=109.167µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.666 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.256625ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.666 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.667 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:11.667 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.667 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:11.668 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.668 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:11.669 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.669 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=99.375µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.672 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.256958ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.672 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.673 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.673 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:11.675 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.675 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=57.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.677 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.2595ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.673 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:11.678 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.678 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:11.679 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.679 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:11.680 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.681 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=67.458µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.683 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.272625ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.679 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:11.684 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.685 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:11.685 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.685 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:11.687 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.687 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=80.75µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.25575ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.690 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:11.691 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.691 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:11.692 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:11.693 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.694 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=80.667µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.696 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.263334ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.696 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.697 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:11.697 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:11.698 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:11.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.700 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=131.25µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.255083ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.703 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.704 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.704 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:11.706 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.707 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=110.375µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.709 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.257584ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.709 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.710 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:11.710 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.710 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:11.711 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:11.712 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.713 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=77.708µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.715 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.260167ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.715 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.71 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.716 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:11.716 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.716 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:11.717 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.717 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:11.718 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.719 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=82.875µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.721 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.231417ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.721 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.722 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:11.722 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.722 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:11.723 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.723 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:11.724 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.725 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=88.334µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.727 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.2595ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.727 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:11.728 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.728 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:11.729 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.729 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:11.730 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.731 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=75.75µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.733 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.255209ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.733 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.728 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.735 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:11.735 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.736 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:11.736 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.736 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:11.738 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=88.083µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.741 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.257167ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:11.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.742 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:11.743 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.743 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:11.744 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.744 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=107.334µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.747 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.258333ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.747 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.748 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:11.748 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.748 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:11.749 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.749 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:11.750 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.750 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=79.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.752 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.2575ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.753 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.754 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:11.755 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.756 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=54.792µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.758 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.260959ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.754 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:11.759 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:11.760 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.760 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:11.761 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.761 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=40.792µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.260834ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:11.764 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.765 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:11.765 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:11.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=108.959µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.230542ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:11.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.770 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:11.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:11.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=88.333µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.226667ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.775 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.776 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:11.776 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.776 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:11.777 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:11.778 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.778 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=68.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.780 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.114709ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.776 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:11.781 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.781 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:11.782 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.782 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:11.783 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.784 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=78.125µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.786 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.112875ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.786 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.787 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.787 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:11.788 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.789 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=62µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.791 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.256583ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:11.792 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.792 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:11.793 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.793 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:11.794 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.795 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=67.25µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.797 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.256875ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.797 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.798 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.798 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:11.801 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.801 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=99µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.803 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.257416ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.804 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.805 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:11.805 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:11.806 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.806 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:11.807 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.807 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=86.875µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.810 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.25975ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.810 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.805 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.811 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:11.813 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.813 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=96.25µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.815 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.255791ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.816 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.817 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.817 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:11.818 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.819 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=82.583µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.821 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.257084ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:11.822 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.822 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:11.823 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.823 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:11.824 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.825 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=134.333µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.827 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.255875ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.828 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.829 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.829 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:11.830 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.831 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=48.875µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:11.833 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.255667ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.833 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:11.834 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:11.835 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.836 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=78.666µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:11.838 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.255042ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:11.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:11.839 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:11.845 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=216.393ms] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=584ns] -[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=250ns] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:11.845 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=250ns] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=83ns] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=41ns] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:11.845 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:11.846 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] ["take time"=125.083µs] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=6dd8a6bc-8448-47ce-8f4d-0229739db520] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:11.846 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=171.792µs] -[2022/11/02 16:49:11.846 +08:00] [INFO] [misc.go:69] ["new domain"] [store=01893363-c0f7-4ca1-8f5e-91231294b660] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.643208ms] -[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:11.848 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=d61306db-befd-41ad-8049-4114d0012373] [runWorker=true] -[2022/11/02 16:49:11.848 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:49:11.848 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:49:11.849 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:11.849 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:11.849 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:11.850 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:13.357 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.5034306659999999\n# Parse_time: 0.000005375\n# Compile_time: 0.000043416\n# Rewrite_time: 0.00001425\n# Optimize_time: 0.000009833\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:13.359 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=500ns] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:13.359 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=292ns] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=41ns] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=0s] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:13.359 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=d61306db-befd-41ad-8049-4114d0012373] ["take time"=86.208µs] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=d61306db-befd-41ad-8049-4114d0012373] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:13.359 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=201.667µs] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:13.378 +08:00] [INFO] [db.go:625] ["Waiting for closer"] ---- FAIL: TestForClusterServerInfo (1.85s) - cluster_tables_test.go:130: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5509/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 - Error: "0" is not greater than "0" - Test: TestForClusterServerInfo -[2022/11/02 16:49:13.459 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:13.459 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:13.460 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:13.460 +08:00] [INFO] [misc.go:69] ["new domain"] [store=f7a0b537-196f-4bb9-8b46-292a0d6b741a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=1.162709ms] -[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:13.461 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] [runWorker=true] -[2022/11/02 16:49:13.461 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] -[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] -[2022/11/02 16:49:13.461 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:13.477 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:13.477 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:13.477 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:13.477 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:13.478 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.478 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:13.480 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.481 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=944.292µs] -[2022/11/02 16:49:13.481 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:13.483 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.259625ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:13.484 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:13.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:13.486 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.486 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:13.488 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.490 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=357µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.492 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.273625ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.494 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.495 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:13.495 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.495 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:13.496 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.496 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:13.497 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.498 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=65.791µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.500 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.168833ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.500 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.501 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:13.501 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.501 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:13.502 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.502 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:13.503 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.505 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195.208µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.507 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.255167ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.508 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.509 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:13.509 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.509 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:13.510 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.510 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:13.511 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.511 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=112.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.514 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.280458ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.514 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.515 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:13.515 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.515 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:13.516 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.516 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:13.517 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.518 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=102.416µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.520 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.274708ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.521 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.516 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.522 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:13.522 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.522 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:13.523 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.523 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:13.524 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.524 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=67.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.526 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.271417ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:13.527 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.527 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:13.528 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.528 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:13.529 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.530 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=73µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.532 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.264459ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:13.533 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.533 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:13.534 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:13.535 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.536 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=113.375µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.538 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.243125ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.539 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.540 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:13.540 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.540 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:13.541 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.541 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:13.542 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.543 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=99.208µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.545 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.261625ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.546 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:13.546 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:13.547 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.547 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:13.548 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.550 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=157.75µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.552 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.2595ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:13.553 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.553 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:13.554 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:13.556 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.557 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=130.625µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.559 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.1835ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.554 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:13.560 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.561 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:13.561 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.561 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:13.563 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.563 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=87.041µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.566 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.253208ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.566 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.567 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.567 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:13.569 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.569 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=84.292µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.572 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.268458ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.572 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.573 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:13.573 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.573 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:13.574 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.574 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:13.575 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.576 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=93.375µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.578 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.020875ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.578 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.573 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.579 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:13.579 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.579 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:13.580 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.580 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:13.581 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.582 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=90.666µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.584 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.257417ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.584 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:13.585 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.585 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:13.586 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.586 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:13.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.588 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.583µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.590 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.260375ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:13.591 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:13.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:13.593 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.594 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=124.25µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.596 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.276417ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.597 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.598 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:13.598 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.598 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:13.599 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.599 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:13.600 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.601 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=93.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.603 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.263958ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.604 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.605 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.606 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.606 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:13.608 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.609 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=67.208µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.611 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.067375ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:13.612 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.612 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:13.613 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.613 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:13.614 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.615 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=53.542µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.617 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.256291ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.613 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:13.618 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.618 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:13.619 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.619 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:13.621 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.622 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=110.333µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.624 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.271166ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.625 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.619 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:13.626 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.626 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:13.627 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.627 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:13.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=89.084µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.188542ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:13.632 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.632 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:13.633 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:13.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.635 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=150.375µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.637 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.037208ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:13.638 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.639 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:13.639 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.639 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:13.641 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.641 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=77.667µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.249083ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.644 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:13.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:13.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:13.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=74.25µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.075833ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:13.651 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.651 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:13.652 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:13.653 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.654 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.292µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.656 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.164792ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:13.657 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.657 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:13.658 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.658 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:13.660 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.660 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=72.041µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.662 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.04425ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.658 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:13.663 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.663 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.664 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:13.666 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.667 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=154.959µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.668 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.070042ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.669 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.670 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:13.670 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.670 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:13.671 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.671 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:13.672 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.673 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.675 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.240833ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.67 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:13.676 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.676 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:13.677 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.677 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:13.678 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.679 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=98.375µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.681 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.27425ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.682 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.683 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:13.683 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.683 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:13.684 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.684 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:13.685 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.687 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=154.75µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.689 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.115708ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.689 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.684 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.690 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:13.690 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.690 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:13.691 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.691 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:13.692 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.693 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=64.375µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:13.695 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.231458ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:13.696 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.697 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:13.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.700 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=99.25µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:13.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.165459ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:13.703 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:13.710 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=232.453416ms] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=334ns] -[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=250ns] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:13.710 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=208ns] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=84ns] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=42ns] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:13.710 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] ["take time"=217.667µs] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=cc13e278-3a80-40f3-b582-84ced38ec7c3] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:13.710 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=274.625µs] -[2022/11/02 16:49:13.710 +08:00] [INFO] [misc.go:69] ["new domain"] [store=f7a0b537-196f-4bb9-8b46-292a0d6b741a] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.848084ms] -[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:13.713 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] [runWorker=true] -[2022/11/02 16:49:13.713 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] -[2022/11/02 16:49:13.713 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] -[2022/11/02 16:49:13.713 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:13.713 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:13.713 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:13.714 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:13.719 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] -[2022/11/02 16:49:13.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:13.720 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] -[2022/11/02 16:49:14.716 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=29.333µs] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:49:14.719 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.243416ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.720 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:13.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.721 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:49:14.721 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:14.721 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.001540416\n# Parse_time: 0.000005833\n# Compile_time: 0.000017375\n# Rewrite_time: 0.000000875\n# Optimize_time: 0.000006084\n# Wait_TS: 0.000001792\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] -[2022/11/02 16:49:14.721 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] -[2022/11/02 16:49:14.722 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:14.722 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] -[2022/11/02 16:49:14.724 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.725 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=47.834µs] [phyTblIDs="[72]"] [actionTypes="[8]"] -[2022/11/02 16:49:14.727 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.283375ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.728 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.729 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:49:14.729 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:14.729 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] -[2022/11/02 16:49:14.730 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:14.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] -[2022/11/02 16:49:14.732 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=81.958µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:14.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.169375ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.736 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.737 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=239.5µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:14.740 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=3.225166ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:14.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:14.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] -[2022/11/02 16:49:14.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=333ns] -[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=292ns] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:14.743 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=166ns] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=42ns] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=42ns] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:14.743 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] ["take time"=710.584µs] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=a6cd9eb0-a538-48a5-885c-52602ec58150] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:14.743 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:14.744 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:14.744 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=833.584µs] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:14.767 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -FAIL -================================================================================ -==================== Test output for //infoschema:infoschema_test (shard 5 of 50): -[2022/11/02 16:49:15.294 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:15.295 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:15.296 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c20b2a6d-7706-4f1e-a8bd-14e47fb2f5b9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=847µs] -[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:15.298 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] [runWorker=true] -[2022/11/02 16:49:15.298 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:49:15.298 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:49:15.334 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:15.353 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:15.353 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:15.354 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:15.357 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.357 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:15.359 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.361 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=975.417µs] -[2022/11/02 16:49:15.361 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:15.362 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.19075ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.356 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:15.364 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:15.364 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:15.366 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.366 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:15.368 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.372 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=321.208µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.374 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.286791ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.376 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.365 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.378 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:15.378 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.378 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:15.379 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.379 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:15.382 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.382 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=79.542µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.385 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.299125ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.386 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.387 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:15.387 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.387 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:15.388 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.388 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:15.390 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.392 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=219.75µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.394 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.041167ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.395 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.396 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:15.396 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.396 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:15.398 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.398 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:15.399 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.400 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=115.416µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.402 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.266417ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:15.404 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.404 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:15.408 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.408 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:15.410 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.411 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=104.291µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.413 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.261541ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.414 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.415 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:15.415 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.415 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:15.416 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.416 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:15.417 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.418 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=60.291µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.420 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.261ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.421 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.422 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:15.422 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.422 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:15.423 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.423 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:15.425 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.426 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=66.583µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.428 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.261542ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.429 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.430 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:15.430 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.430 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:15.431 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.431 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:15.433 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.434 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=96.875µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.436 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.263041ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.43 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:15.438 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.438 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:15.439 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.439 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:15.441 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.442 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=87.041µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.444 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.266209ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:15.445 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.445 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.446 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:15.448 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.449 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=143.292µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.451 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.015625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.452 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.453 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:15.453 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.453 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:15.454 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.454 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:15.456 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.461 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=128µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.463 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.111333ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.465 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.466 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:15.466 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.466 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:15.468 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.468 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:15.471 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.472 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=94.083µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.474 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.263292ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.475 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.476 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:15.476 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.476 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:15.477 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.477 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:15.479 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.480 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=103.458µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.482 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.3065ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.483 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.484 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.484 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:15.486 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.487 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=79.958µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.489 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.065042ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.490 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.484 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.491 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:15.491 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.491 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:15.492 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.492 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:15.493 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.494 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=98.375µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.496 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.086958ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.497 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.498 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:15.500 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.501 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.666µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.503 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.27325ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.504 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.505 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:15.505 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.505 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:15.506 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:15.509 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.511 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=127.667µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.513 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.265833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.514 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.517 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:15.517 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.518 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:15.519 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.519 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:15.520 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.521 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=89.583µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.524 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.267333ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.518 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:15.525 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.526 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:15.527 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.527 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:15.529 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.530 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=70.833µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.532 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.082125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:15.534 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.534 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:15.536 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.536 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:15.539 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.539 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.541 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.09375ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.543 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.544 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:15.544 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.544 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:15.546 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.546 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:15.548 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.549 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=132.583µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.551 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.1965ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.552 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.553 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:15.553 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.553 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:15.554 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.554 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:15.556 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.557 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=94.042µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.559 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.133125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.560 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.553 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.561 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:15.561 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.561 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:15.562 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.562 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:15.563 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.565 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=104.75µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.566 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.045041ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.568 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.561 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.569 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.569 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:15.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.572 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=109.917µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.574 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.224375ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.576 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:15.577 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.577 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:15.578 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.578 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:15.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=87.833µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.048667ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:15.584 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.584 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:15.585 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:15.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.588 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=95.334µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.590 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.267167ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:15.592 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.592 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:15.593 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.593 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:15.596 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.596 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=78.875µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.599 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.283583ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.593 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.600 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:15.600 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:15.601 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.601 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:15.604 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.606 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=101.666µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.608 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.283083ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:15.610 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.610 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:15.612 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.612 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:15.614 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.615 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=106.916µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.617 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.152375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.619 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.611 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.620 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:15.620 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.621 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:15.622 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.622 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:15.624 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.626 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=98.917µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.628 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.088958ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.629 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.630 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:15.630 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.630 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:15.632 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:15.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.636 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=169.833µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.638 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.175666ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.640 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.631 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.641 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:15.641 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.641 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:15.644 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:15.644 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=105.625µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:15.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.187875ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.642 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:15.652 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.655 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:15.655 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:15.657 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.658 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=104µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:15.660 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.268959ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:15.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:15.662 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:15.670 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=316.673792ms] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=708ns] -[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=500ns] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:15.670 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=458ns] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=42ns] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=1.458µs] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:15.670 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] ["take time"=154.291µs] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=abd85ff0-08c5-44d6-af5a-56b3e170e763] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:15.670 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=214.959µs] -[2022/11/02 16:49:15.670 +08:00] [INFO] [misc.go:69] ["new domain"] [store=c20b2a6d-7706-4f1e-a8bd-14e47fb2f5b9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=3.271583ms] -[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:15.674 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=db6cd884-acf1-47a8-9092-20795360245e] [runWorker=true] -[2022/11/02 16:49:15.674 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:49:15.674 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:49:15.683 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:15.683 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:15.683 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:15.684 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:17.193 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.50497325\n# Parse_time: 0.000006542\n# Compile_time: 0.000040458\n# Rewrite_time: 0.000011958\n# Optimize_time: 0.000010709\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 874b8f1e4b37eb7530d7505b999be2e9241a794650c018b147f745f6d7a81a7e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 87\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('QPA/MAkxMV80CTAJMTAwMDAJdGFibGU6Q0xVU1RFUl9MT0FECTg3CXRpbWU6MS41cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Plan_digest: 5e3ddd388f6012e328233dbcdda5d48f404e0536c6c54d9618233210f3d5762a\n# Binary_plan: tidb_decode_binary_plan('c0wKbwoOTWVtVGFibGVTY2FuXzQpAAEB8EaIw0AwVzgBQAFKJAoiChJpbmZvcm1hdGlvbl9zY2hlbWESDENMVVNURVJfTE9BRFoSdGltZToxLjVzLCBsb29wczoycP///wkDNAF4////////////ARgB')\nselect * from information_schema.CLUSTER_LOAD;"] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:17.194 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=417ns] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:17.194 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=417ns] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=208ns] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=0s] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:17.194 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=db6cd884-acf1-47a8-9092-20795360245e] ["take time"=56.667µs] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=db6cd884-acf1-47a8-9092-20795360245e] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:17.194 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=131.584µs] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:17.243 +08:00] [INFO] [db.go:625] ["Waiting for closer"] ---- FAIL: TestForClusterServerInfo (2.24s) - cluster_tables_test.go:130: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5512/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/infoschema/infoschema_test_/infoschema_test.runfiles/__main__/infoschema/cluster_tables_test.go:130 - Error: "0" is not greater than "0" - Test: TestForClusterServerInfo -[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:17.421 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:49:17.422 +08:00] [INFO] [misc.go:69] ["new domain"] [store=6e1e9476-9ae7-4ad6-9970-a1a1ecbc4add] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=886.375µs] -[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:17.423 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] [runWorker=true] -[2022/11/02 16:49:17.423 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:17.423 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:17.423 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:17.423 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:17.423 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 10, tp general"] -[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp add index"] -[2022/11/02 16:49:17.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:17.424 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.424 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:49:17.426 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.428 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=797.75µs] -[2022/11/02 16:49:17.428 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:49:17.429 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.2605ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.430 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.431 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:49:17.431 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:49:17.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:49:17.433 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.433 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:49:17.434 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.437 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=308.292µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.439 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.341875ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.441 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.431 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.442 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:49:17.442 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.443 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:49:17.443 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.443 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:49:17.445 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.445 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=76.333µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.447 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.052875ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.448 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.449 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:49:17.449 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.449 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:49:17.450 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.450 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:49:17.452 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.453 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=201.875µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.455 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.404125ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.457 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.458 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:49:17.459 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.459 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:49:17.460 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.460 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:49:17.461 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.462 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=127.75µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.465 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.437208ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.466 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.467 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:49:17.467 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.467 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:49:17.468 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.468 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:49:17.469 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.470 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=110.583µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.472 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.151083ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:49:17.474 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.474 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:49:17.475 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.475 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:49:17.476 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.477 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=66.292µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.479 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.259792ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:49:17.481 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.481 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:49:17.483 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.483 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:49:17.484 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.485 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=70.584µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.487 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.082291ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:49:17.489 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.489 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:49:17.490 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.490 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:49:17.492 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.493 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=95.417µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.495 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.171459ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.496 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.497 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:49:17.497 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.497 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:49:17.498 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.498 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:49:17.500 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.501 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=98.833µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.503 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.176541ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.504 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.498 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.505 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:17.505 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:49:17.506 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.506 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:17.507 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.509 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=140µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.511 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.279584ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.512 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.513 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:49:17.513 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.513 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:49:17.514 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.514 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:49:17.515 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.516 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=123.292µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.519 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.256042ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.513 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:49:17.520 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.520 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:17.521 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.521 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:17.523 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.524 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=85.917µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.526 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.2125ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.527 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.521 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.528 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:49:17.528 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.528 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:49:17.529 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.529 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:49:17.530 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.531 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=97.625µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.533 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.090667ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:49:17.535 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.535 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:17.536 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.536 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:17.537 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.538 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=81.084µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.540 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.138834ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.541 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.542 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:49:17.542 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.542 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:49:17.543 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.543 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:49:17.545 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.546 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=84.5µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.548 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.091292ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.549 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.550 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.550 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:49:17.552 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.553 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=83.167µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.555 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.131875ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.556 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.55 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.557 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:49:17.557 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.557 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:49:17.558 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.558 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:49:17.561 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.562 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=137.708µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.564 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.051833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.565 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.558 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.566 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:49:17.566 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.567 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:17.568 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.568 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:17.570 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.571 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=99.583µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.573 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.16125ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:49:17.575 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:49:17.577 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.577 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:49:17.579 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=67.834µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.582 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.01175ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:49:17.583 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.583 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:49:17.584 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:49:17.587 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.587 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=65.625µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.589 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.283042ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:49:17.591 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:49:17.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:49:17.595 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.596 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=123.292µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.598 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.265166ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.599 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:49:17.600 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.600 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:49:17.602 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.602 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:49:17.604 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.605 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=92.667µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.607 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.131458ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.608 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.609 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:49:17.609 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.609 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:49:17.610 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.610 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:49:17.612 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.613 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=88.833µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.615 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.297958ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:49:17.617 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.617 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:49:17.618 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.618 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:49:17.620 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.621 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=90.166µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.623 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.089875ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.624 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.625 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:49:17.625 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.625 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:49:17.626 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:49:17.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=87.792µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.262125ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:49:17.633 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.633 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:17.634 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.634 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:17.635 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.636 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=86.75µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.638 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.267ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.639 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.640 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:49:17.640 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.640 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:49:17.641 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.641 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:49:17.642 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.643 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=75.958µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.645 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.115792ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.64 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.646 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:49:17.646 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:49:17.647 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.647 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:49:17.648 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.649 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=98.959µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.651 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.189917ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.652 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.647 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.653 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:49:17.653 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.653 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:49:17.654 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.654 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:49:17.655 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.656 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=100.5µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.658 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.293375ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.659 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.660 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:49:17.660 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.660 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:49:17.661 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.661 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:49:17.662 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.663 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=93.542µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.665 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.264083ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:49:17.666 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.666 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:49:17.667 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.667 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:49:17.668 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.670 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=149.625µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.672 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.278625ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.673 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.667 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:49:17.674 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.674 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:49:17.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.675 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:49:17.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=70.875µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:49:17.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.296042ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:49:17.680 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.681 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:49:17.683 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.684 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=86.958µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:49:17.686 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.032167ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.687 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 12, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:17.688 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:49:17.688 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:17.694 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=271.260541ms] -[2022/11/02 16:49:17.694 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:17.694 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=541ns] -[2022/11/02 16:49:17.694 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=375ns] -[2022/11/02 16:49:17.694 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:17.695 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 12, tp general"] ["take time"=208ns] -[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 10, tp general"] ["take time"=42ns] -[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=41ns] -[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:17.695 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] ["take time"=232.125µs] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=7e0b0cd0-6283-47ba-97b5-e8cd9d94a2cb] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:17.695 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=296.334µs] -[2022/11/02 16:49:17.695 +08:00] [INFO] [misc.go:69] ["new domain"] [store=6e1e9476-9ae7-4ad6-9970-a1a1ecbc4add] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.706834ms] -[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:49:17.698 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] [runWorker=true] -[2022/11/02 16:49:17.698 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 15, tp general"] -[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:49:17.698 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp add index"] -[2022/11/02 16:49:17.706 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:49:17.706 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:49:17.706 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:49:17.707 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:49:17.711 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=] [sql="CREATE DATABASE referconstraints"] [user=] -[2022/11/02 16:49:17.712 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:17.712 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE referconstraints"] -[2022/11/02 16:49:18.718 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:queueing, SchemaState:none, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.420792ms] [phyTblIDs="[]"] [actionTypes="[]"] -[2022/11/02 16:49:18.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=4.064708ms] [job="ID:71, Type:create schema, State:done, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:71, Type:create schema, State:synced, SchemaState:public, SchemaID:70, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:17.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:49:18.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:18.758 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.04719575\n# Parse_time: 0.000005667\n# Compile_time: 0.000015\n# Rewrite_time: 0.000000959\n# Optimize_time: 0.000006125\n# Wait_TS: 0.000001542\n# Is_internal: false\n# Digest: 5a7e698b241cb7f2a67d1dcb9453a980bec91b127b5fc72f778c288017fbfabc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE DATABASE referconstraints;"] -[2022/11/02 16:49:18.758 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=referconstraints] [sql="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] [user=] -[2022/11/02 16:49:18.768 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:18.768 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY)"] -[2022/11/02 16:49:18.779 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.780 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=56.125µs] [phyTblIDs="[72]"] [actionTypes="[8]"] -[2022/11/02 16:49:18.782 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.040333ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.784 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:72, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.793 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=73] -[2022/11/02 16:49:18.793 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:18.793 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=36] [cur_db=referconstraints] [sql="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] [user=] -[2022/11/02 16:49:18.794 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:49:18.794 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE t2 (id INT NOT NULL PRIMARY KEY, t1_id INT DEFAULT NULL, INDEX (t1_id), CONSTRAINT `fk_to_t1` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`))"] -[2022/11/02 16:49:18.797 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.813 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=92.833µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:18.815 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.192334ms] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.816 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:running, SchemaState:write only, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.816 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=66.541µs] [phyTblIDs="[74]"] [actionTypes="[8]"] -[2022/11/02 16:49:18.818 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.08325ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:2, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.819 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 17, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:70, TableID:74, RowCount:0, ArgLen:0, start time: 2022-11-02 16:49:18.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:49:18.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=75] -[2022/11/02 16:49:18.820 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=500ns] -[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=542ns] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:49:18.821 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 17, tp general"] ["take time"=209ns] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 15, tp general"] ["take time"=125ns] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp add index"] ["take time"=42ns] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:49:18.821 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] ["take time"=1.137208ms] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=49abc8a7-3a22-4228-baf6-9fe9491aa49c] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:49:18.821 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=1.22775ms] -[2022/11/02 16:49:18.858 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:49:18.863 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -FAIL -================================================================================ -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-4127) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -==================== Test output for //br/pkg/storage:storage_test: -[2022/11/02 16:48:51.122 +08:00] [INFO] [azblob.go:187] ["Get azure sharedKey from environment variable $AZURE_STORAGE_KEY"] -[2022/11/02 16:48:54.722 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] -[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] -[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] -[2022/11/02 16:48:54.723 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] -[2022/11/02 16:48:54.724 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] -[2022/11/02 16:48:54.724 +08:00] [INFO] [s3.go:384] ["succeed to get bucket region from s3"] ["bucket region"=us-west-2] --- Test timed out at 2022-11-02 16:49:08 CST -- -================================================================================ -stdout (/private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/execroot/__main__/bazel-out/_tmp/actions/stdout-3992) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping -==================== Test output for //statistics/handle:handle_test (shard 18 of 50): -[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:48.675 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:48.676 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:48.676 +08:00] [INFO] [misc.go:69] ["new domain"] [store=0bf4e50b-0ae9-47a0-bd97-d29e6e38d65c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:48.677 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=761.25µs] -[2022/11/02 16:50:48.678 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:48.678 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] [runWorker=true] -[2022/11/02 16:50:48.678 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] -[2022/11/02 16:50:48.678 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] -[2022/11/02 16:50:48.694 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:48.694 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:48.694 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:48.695 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:50:48.696 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.696 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:50:48.697 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.699 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=764.208µs] -[2022/11/02 16:50:48.699 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:50:48.700 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.26375ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.696 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:50:48.701 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.701 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:50:48.701 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:50:48.703 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:50:48.704 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.706 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=296.291µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.708 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.255792ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.709 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.702 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.711 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.711 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:50:48.713 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.713 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=64.834µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.716 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.253083ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.716 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.717 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:50:48.717 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.717 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:50:48.718 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.718 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:50:48.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.723 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=195.917µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.725 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.266375ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.726 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.727 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:50:48.727 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.727 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:50:48.728 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.728 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:50:48.729 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.730 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=96µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.732 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.258292ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:50:48.733 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.733 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:50:48.734 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.734 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:50:48.735 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.736 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=96.75µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.738 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.237458ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.739 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.740 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:50:48.740 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.740 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:50:48.741 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.741 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:50:48.742 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.742 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=52.041µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.745 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.481833ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:50:48.746 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.746 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:50:48.747 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.747 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:50:48.748 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.749 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=68.667µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.751 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.255625ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.751 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.752 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:50:48.752 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.752 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:50:48.753 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.753 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:50:48.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=79.958µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.757 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.180333ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.757 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:50:48.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.758 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:50:48.759 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:50:48.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.760 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=73.709µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.256334ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.763 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.764 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.764 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:48.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=126.459µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.270791ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:50:48.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.770 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:50:48.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:50:48.773 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=104.458µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.776 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.258291ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.777 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:50:48.777 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.777 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:48.778 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.778 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:48.779 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.780 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.792µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.782 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.104375ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.777 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:50:48.783 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.783 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:48.784 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.784 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:48.786 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.786 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=90.75µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.788 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.171209ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.789 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.790 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.790 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:48.792 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.793 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=69.833µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.795 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.60425ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.79 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:50:48.796 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.796 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:50:48.797 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.797 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:50:48.799 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.799 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=86.541µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.802 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.256708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.802 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.797 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.803 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:50:48.803 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.803 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:50:48.804 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:50:48.805 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.806 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.807 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=84.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.809 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.282958ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.810 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.811 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:50:48.811 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.812 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:50:48.813 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.814 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=122.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.816 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.257833ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.817 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.811 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.818 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:50:48.818 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.819 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:48.820 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.820 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:48.821 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.822 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=79.625µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.824 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.201708ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:50:48.825 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.825 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:50:48.826 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.826 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:50:48.828 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.828 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=66.792µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.830 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.08875ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.831 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.826 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.832 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.832 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:50:48.834 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.834 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=50µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.836 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.167667ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:50:48.837 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.837 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:50:48.838 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.838 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:50:48.840 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.840 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=115.75µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.843 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.257334ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.844 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.845 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:50:48.845 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.845 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:50:48.846 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.846 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:50:48.847 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.849 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=91.75µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.851 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.253833ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:50:48.852 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.852 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:48.853 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.853 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:48.854 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.855 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=81.709µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.857 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.266459ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.858 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.853 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.859 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.859 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:50:48.861 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.862 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=81.458µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.864 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.279334ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:50:48.865 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.865 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:50:48.866 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.866 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:50:48.868 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.868 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=67.708µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.870 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.260375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.871 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.872 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:50:48.872 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.872 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:48.873 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.873 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:48.874 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.875 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=84.917µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.877 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.260333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.878 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.879 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:50:48.879 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.879 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:50:48.880 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.880 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:50:48.881 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.882 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=65.125µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.884 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.280708ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.885 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.886 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:48.886 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:50:48.887 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.887 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:48.890 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.891 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=89.417µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.893 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.2625ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:50:48.894 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.894 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:50:48.895 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.895 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:50:48.896 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.897 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=108.916µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.899 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.028666ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.900 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.895 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.901 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:50:48.901 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.901 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:50:48.902 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.902 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:50:48.903 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.904 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=90.041µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.906 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.286959ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.907 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.901 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.908 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:50:48.908 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.908 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:50:48.909 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.909 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:50:48.910 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.911 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=144.209µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.913 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.554958ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.914 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.908 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.915 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:50:48.915 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.915 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:50:48.916 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.916 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:50:48.917 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.917 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=49.209µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:50:48.919 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.032916ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.920 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.921 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:50:48.923 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.923 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=85.291µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:50:48.926 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.254541ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.926 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:48.927 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:50:48.927 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:48.933 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=238.700084ms] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=292ns] -[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=250ns] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:48.933 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=125ns] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=125ns] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=42ns] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:48.933 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] ["take time"=122.25µs] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=5afb57ce-6d20-4394-a844-5a638154474f] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:48.933 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=175.25µs] -[2022/11/02 16:50:48.933 +08:00] [INFO] [misc.go:69] ["new domain"] [store=0bf4e50b-0ae9-47a0-bd97-d29e6e38d65c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:48.933 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.688542ms] -[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:48.936 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] [runWorker=true] -[2022/11/02 16:50:48.936 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 6, tp general"] -[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:48.936 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 7, tp add index"] -[2022/11/02 16:50:48.953 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:48.953 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:48.953 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:48.954 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:50:48.958 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=34] [cur_db=test] [sql="create table t(a int, b int, c int)"] [user=] -[2022/11/02 16:50:48.959 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:48.959 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int, b int, c int)"] -[2022/11/02 16:50:49.938 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.938 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=54.5µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:50:49.940 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.057625ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.941 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:48.958 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.942 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:50:49.942 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:49.942 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.983752291\n# Parse_time: 0.00001175\n# Compile_time: 0.000010333\n# Rewrite_time: 0.000000833\n# Optimize_time: 0.000005458\n# Wait_TS: 0.000001541\n# DB: test\n# Is_internal: false\n# Digest: 8bb144e841a3b2f969aca11e4e5e690c278c9de8ce436602c1fabcff10573389\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int, b int, c int);"] -[2022/11/02 16:50:49.942 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=1] [startTS=437093413667995652] [checkTS=437093413667995653] -[2022/11/02 16:50:49.942 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,b)"] [user=] -[2022/11/02 16:50:49.943 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(b,c)"] [user=] -[2022/11/02 16:50:49.950 +08:00] [INFO] [analyze.go:262] ["analyze table `test`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:49.945 +08:00] ["end time"=2022/11/02 16:50:49.950 +08:00] [cost=4.944417ms] -[2022/11/02 16:50:49.954 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=35] [cur_db=test] [sql="alter table t drop column a"] [user=] -[2022/11/02 16:50:49.954 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:49.954 +08:00] [INFO] [ddl_api.go:4192] ["[ddl] start DDL job"] [job="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t drop column a"] -[2022/11/02 16:50:49.956 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.956 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=59.583µs] [phyTblIDs="[70]"] [actionTypes="[64]"] -[2022/11/02 16:50:49.958 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=2.136625ms] [job="ID:72, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.959 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.959 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=52.083µs] [phyTblIDs="[70]"] [actionTypes="[64]"] -[2022/11/02 16:50:49.962 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=2.138791ms] [job="ID:72, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:70, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.962 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.963 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=47.708µs] [phyTblIDs="[70]"] [actionTypes="[64]"] -[2022/11/02 16:50:49.965 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=2.137541ms] [job="ID:72, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:70, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.966 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.966 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=51.291µs] [phyTblIDs="[70]"] [actionTypes="[64]"] -[2022/11/02 16:50:49.968 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=2.024958ms] [job="ID:72, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:4, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.969 +08:00] [INFO] [ddl_worker.go:557] ["[ddl] add job into delete-range table"] [jobID=72] [jobType="drop column"] -[2022/11/02 16:50:49.969 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 8, tp general"] [job="ID:72, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:4, start time: 2022-11-02 16:50:49.954 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:49.970 +08:00] [INFO] [ddl_api.go:4192] ["[ddl] DDL job is finished"] [jobID=72] -[2022/11/02 16:50:49.970 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:49.972 +08:00] [INFO] [gc.go:50] ["mark mysql.stats_extended record as 'deleted' in GC due to dropped columns"] [table_name=t] [table_id=70] [stats_name=s1] [dropped_column_id=1] -[2022/11/02 16:50:49.974 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=542ns] -[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=500ns] -[2022/11/02 16:50:49.974 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:49.974 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 8, tp general"] ["take time"=250ns] -[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 6, tp general"] ["take time"=167ns] -[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=41ns] -[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:49.975 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] ["take time"=253.459µs] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=2b6c00e1-89ad-4d00-ac07-b0c70f103532] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:50:49.975 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=367.875µs] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:50:49.994 +08:00] [INFO] [db.go:625] ["Waiting for closer"] ---- FAIL: TestGCExtendedStats (1.44s) - result.go:49: - Error Trace: /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5629/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/statistics/handle/handle_test_/handle_test.runfiles/__main__/statistics/handle/result.go:49 - /private/var/tmp/_bazel_bba/079437cf07ef815a2221df7973af35c7/sandbox/darwin-sandbox/5629/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/statistics/handle/handle_test_/handle_test.runfiles/__main__/statistics/handle/gc_test.go:125 - Error: Not equal: - expected: "[s2 2 [2,3] 1.000000 1]\n" - actual : "[s1 2 [1,2] 1.000000 2]\n[s2 2 [2,3] 1.000000 1]\n" - - Diff: - --- Expected - +++ Actual - @@ -1 +1,2 @@ - +[s1 2 [1,2] 1.000000 2] - [s2 2 [2,3] 1.000000 1] - Test: TestGCExtendedStats - Messages: sql:select name, type, column_ids, stats, status from mysql.stats_extended, args:[] -[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:50.167 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:50.168 +08:00] [INFO] [misc.go:69] ["new domain"] [store=94b41052-fb1e-4c16-a862-8fa0f06c2ec6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=755.209µs] -[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:50.168 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] [runWorker=true] -[2022/11/02 16:50:50.169 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 12, tp add index"] -[2022/11/02 16:50:50.169 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 11, tp general"] -[2022/11/02 16:50:50.169 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:50.169 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:50.169 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:50.169 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:50:50.170 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.170 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:50:50.171 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.172 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=680.042µs] -[2022/11/02 16:50:50.172 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:50:50.173 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.243333ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:50:50.174 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.174 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:50:50.174 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:50:50.176 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.176 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:50:50.177 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.179 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=296.459µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.181 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.257375ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.182 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.175 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.183 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:50:50.183 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.183 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:50:50.184 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.184 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:50:50.185 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.186 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=67.625µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.188 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.265042ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:50:50.189 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.190 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:50:50.191 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.191 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:50:50.192 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.194 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=186.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.196 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.103666ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.197 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.198 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:50:50.198 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.198 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:50:50.199 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.199 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:50:50.200 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.201 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=112.875µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.203 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.2685ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.204 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.205 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:50:50.205 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.205 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:50:50.206 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.206 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:50:50.207 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.208 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=92.666µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.210 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.101291ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.210 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.211 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:50:50.211 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.211 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:50:50.212 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.212 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:50:50.213 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.214 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=61.333µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.216 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.282209ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.217 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.217 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:50:50.218 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.218 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:50:50.219 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:50:50.219 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.220 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.221 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=65.709µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.224 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.286958ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:50:50.225 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.225 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:50:50.226 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.226 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:50:50.228 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.228 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=90.125µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.230 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.258417ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.231 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.232 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.232 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:50:50.234 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.234 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=77.5µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.237 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.183708ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.237 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.238 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:50.238 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:50:50.239 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.239 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:50.240 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.241 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=138.75µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.243 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.2625ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.245 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.238 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.247 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:50:50.247 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.247 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:50:50.249 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.249 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:50:50.251 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.252 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=118.084µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.254 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.538791ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.255 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.256 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:50.256 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.257 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:50.258 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.258 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=82.458µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.260 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.122541ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.261 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.262 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.262 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:50.264 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.265 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=77.667µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.267 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.257416ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:50:50.268 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.268 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:50.269 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.269 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:50.270 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.271 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=76.417µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.273 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.214708ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.275 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.277 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:50:50.277 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.277 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:50:50.278 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.278 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:50:50.279 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.280 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=84.166µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.282 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.259334ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:50:50.283 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.283 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:50:50.284 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.284 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:50:50.285 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.286 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=130.75µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.288 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.017417ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.288 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.289 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:50:50.289 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.289 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:50:50.290 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.290 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:50:50.291 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.292 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=136.292µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.294 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.051ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:50:50.295 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.296 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:50.296 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.296 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:50.298 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.300 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=949.958µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.302 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.618833ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.303 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.304 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.304 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:50:50.306 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.306 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=63.375µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.309 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.398125ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:50:50.310 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.310 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:50:50.312 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.312 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:50:50.314 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.314 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=55.417µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.316 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.260167ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:50:50.317 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.317 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:50:50.318 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.318 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:50:50.319 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.320 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=103.084µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.322 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.259625ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.323 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.324 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:50:50.324 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.324 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:50:50.325 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.325 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:50:50.327 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.328 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=73.917µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.330 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.293084ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.331 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.324 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.332 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:50:50.332 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.332 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:50.333 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.333 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:50.334 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.335 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=83.834µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.337 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.055ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.338 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.332 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.338 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.339 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.339 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:50:50.341 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.342 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=81.667µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.344 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.268708ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.345 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.346 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:50:50.346 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.346 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:50:50.347 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.347 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:50:50.348 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.349 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=72.833µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.351 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.284917ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:50:50.353 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.353 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:50.356 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.356 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:50.358 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.359 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=81.75µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.361 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.280333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.362 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.363 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:50:50.363 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.363 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:50:50.364 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.364 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:50:50.366 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.367 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=91.958µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.369 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.276209ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.363 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.370 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:50.370 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:50:50.371 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.371 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:50.372 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.373 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=97.667µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.375 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.114042ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.376 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.371 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.377 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.377 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:50:50.380 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.381 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=102.083µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.383 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.270583ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.384 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.377 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.385 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:50:50.385 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.385 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:50:50.386 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.386 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:50:50.387 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.388 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=104.334µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.390 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.272458ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:50:50.391 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.391 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:50:50.392 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.392 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:50:50.394 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.395 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=138.416µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.397 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.259666ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.398 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.399 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:50:50.399 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.399 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:50:50.400 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.400 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:50:50.401 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.401 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=59.833µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:50:50.403 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.022375ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.404 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.405 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:50:50.405 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.406 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.406 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:50:50.408 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.409 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=90.083µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:50:50.411 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.246ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 13, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:50:50.412 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:50.419 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=250.49425ms] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 14, tp add index"] ["take time"=334ns] -[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=459ns] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:50.419 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 13, tp general"] ["take time"=209ns] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 11, tp general"] ["take time"=42ns] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=42ns] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:50.419 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:50.420 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] ["take time"=181.583µs] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=e21dffce-e3b6-46a6-8889-9c741890952f] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:50.420 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=232.167µs] -[2022/11/02 16:50:50.420 +08:00] [INFO] [misc.go:69] ["new domain"] [store=94b41052-fb1e-4c16-a862-8fa0f06c2ec6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.82625ms] -[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:50.423 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] [runWorker=true] -[2022/11/02 16:50:50.423 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] -[2022/11/02 16:50:50.423 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] -[2022/11/02 16:50:50.438 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:50.438 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:50.438 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:50.439 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:50:50.443 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=34] [cur_db=test] [sql="create table t(a int, b int, c int)"] [user=] -[2022/11/02 16:50:50.443 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:50.444 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int, b int, c int)"] -[2022/11/02 16:50:51.425 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.425 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=61.375µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.427 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.261792ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.428 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:50.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.429 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:50:51.429 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.429 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985865792\n# Parse_time: 0.000012792\n# Compile_time: 0.00001125\n# Rewrite_time: 0.000000917\n# Optimize_time: 0.000006166\n# Wait_TS: 0.000001708\n# DB: test\n# Is_internal: false\n# Digest: 8bb144e841a3b2f969aca11e4e5e690c278c9de8ce436602c1fabcff10573389\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(a int, b int, c int);"] -[2022/11/02 16:50:51.429 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,a)"] [user=] -[2022/11/02 16:50:51.429 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] -[2022/11/02 16:50:51.429 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="Cannot create extended statistics on duplicate column names 'a'"] [errorVerbose="Cannot create extended statistics on duplicate column names 'a'\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5221\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2609\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] -[2022/11/02 16:50:51.429 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,b)"] [user=] -[2022/11/02 16:50:51.430 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s1 correlation(a,c)"] [user=] -[2022/11/02 16:50:51.431 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] -[2022/11/02 16:50:51.431 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's1' for the specified table already exists"] [errorVerbose="extended statistics 's1' for the specified table already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1857\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2613\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] -[2022/11/02 16:50:51.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(a,b)"] [user=] -[2022/11/02 16:50:51.431 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] -[2022/11/02 16:50:51.431 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's2' with same type on same columns already exists"] [errorVerbose="extended statistics 's2' with same type on same columns already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1860\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2616\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] -[2022/11/02 16:50:51.431 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(b,a)"] [user=] -[2022/11/02 16:50:51.432 +08:00] [INFO] [tidb.go:249] ["rollbackTxn called due to ddl/autocommit failure"] -[2022/11/02 16:50:51.432 +08:00] [WARN] [testkit.go:279] ["run statement failed"] [schemaVersion=35] [error="extended statistics 's2' with same type on same columns already exists"] [errorVerbose="extended statistics 's2' with same type on same columns already exists\ngithub.com/pingcap/tidb/statistics/handle.(*Handle).InsertExtendedStats\n\tstatistics/handle/handle.go:1860\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTableAddStatistics\n\tddl/ddl_api.go:5236\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3371\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:377\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:147\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:324\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1106\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:879\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:727\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:543\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2325\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:279\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:254\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecToErr\n\ttestkit/testkit.go:313\ngithub.com/pingcap/tidb/statistics/handle_test.TestDuplicateExtendedStats\n\tstatistics/handle/handle_test.go:2619\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_arm64.s:1172"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] -[2022/11/02 16:50:51.432 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=35] [cur_db=test] [sql="alter table t add stats_extended s2 correlation(a,c)"] [user=] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=625ns] -[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 20, tp add index"] ["take time"=166ns] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:51.433 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 18, tp general"] ["take time"=375ns] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 16, tp general"] ["take time"=42ns] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 17, tp add index"] ["take time"=0s] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:51.433 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] ["take time"=54.833µs] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=1c071332-c069-4764-8bce-148b9c5db09b] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:51.433 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=292.125µs] -[2022/11/02 16:50:51.452 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:50:51.452 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:50:51.453 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] -[2022/11/02 16:50:51.567 +08:00] [INFO] [misc.go:69] ["new domain"] [store=ba6729d4-3832-45e1-9530-7247f77c6daf] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=789.792µs] -[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:51.568 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] [runWorker=true] -[2022/11/02 16:50:51.568 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 21, tp general"] -[2022/11/02 16:50:51.568 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 22, tp add index"] -[2022/11/02 16:50:51.569 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:51.569 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:51.569 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] -[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.569 +08:00] [INFO] [ddl_api.go:205] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] -[2022/11/02 16:50:51.571 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.572 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=719.792µs] -[2022/11/02 16:50:51.572 +08:00] [INFO] [domain.go:754] ["full load and reset schema validator"] -[2022/11/02 16:50:51.573 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=2.275125ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl_api.go:205] ["[ddl] DDL job is finished"] [jobID=3] -[2022/11/02 16:50:51.574 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.574 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] -[2022/11/02 16:50:51.575 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] [user=] -[2022/11/02 16:50:51.576 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.576 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPRIMARY KEY (Host, User));"] -[2022/11/02 16:50:51.577 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.580 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=293.667µs] [phyTblIDs="[4]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.581 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=2.091333ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.583 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.584 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=5] -[2022/11/02 16:50:51.584 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.585 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] -[2022/11/02 16:50:51.585 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.585 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] -[2022/11/02 16:50:51.586 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.587 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=59.958µs] [phyTblIDs="[6]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.589 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=2.011167ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=7] -[2022/11/02 16:50:51.590 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.591 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] -[2022/11/02 16:50:51.592 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.592 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] -[2022/11/02 16:50:51.593 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.595 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=188.625µs] [phyTblIDs="[8]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.597 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=2.186833ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.598 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.599 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=9] -[2022/11/02 16:50:51.599 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.599 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] -[2022/11/02 16:50:51.600 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.600 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] -[2022/11/02 16:50:51.601 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.602 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=104.792µs] [phyTblIDs="[10]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.604 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=2.063917ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=11] -[2022/11/02 16:50:51.605 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.605 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] -[2022/11/02 16:50:51.606 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.606 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] -[2022/11/02 16:50:51.609 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.610 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=106.917µs] [phyTblIDs="[12]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.612 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=2.262583ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.613 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=13] -[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.614 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [user=] -[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.614 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] -[2022/11/02 16:50:51.616 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.617 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=60.542µs] [phyTblIDs="[14]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.619 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=2.4365ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=15] -[2022/11/02 16:50:51.620 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.620 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] -[2022/11/02 16:50:51.621 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.621 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] -[2022/11/02 16:50:51.622 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.623 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=62.625µs] [phyTblIDs="[16]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.625 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=2.266042ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=17] -[2022/11/02 16:50:51.626 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.626 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] -[2022/11/02 16:50:51.627 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.627 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] -[2022/11/02 16:50:51.628 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.629 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=79.958µs] [phyTblIDs="[18]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.631 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=2.150625ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=19] -[2022/11/02 16:50:51.632 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.632 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] -[2022/11/02 16:50:51.633 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.633 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] -[2022/11/02 16:50:51.634 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.635 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=84µs] [phyTblIDs="[20]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.637 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=2.094959ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=21] -[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.638 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:51.638 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] -[2022/11/02 16:50:51.639 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.639 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:51.641 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.642 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=128.084µs] [phyTblIDs="[22]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.644 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=2.284583ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=23] -[2022/11/02 16:50:51.645 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.645 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] -[2022/11/02 16:50:51.646 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.646 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] -[2022/11/02 16:50:51.647 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.648 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=109.667µs] [phyTblIDs="[24]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.650 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=2.257209ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=25] -[2022/11/02 16:50:51.651 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.651 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:51.652 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.652 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:51.653 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.654 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=68.084µs] [phyTblIDs="[26]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.656 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=2.21075ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.656 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=27] -[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.657 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] -[2022/11/02 16:50:51.657 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.658 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] -[2022/11/02 16:50:51.659 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.659 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=75.5µs] [phyTblIDs="[28]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.661 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=2.258ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.662 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.657 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=29] -[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.663 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.663 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:51.664 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.665 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=69µs] [phyTblIDs="[30]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.667 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=2.269166ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=31] -[2022/11/02 16:50:51.668 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.668 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] -[2022/11/02 16:50:51.669 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.669 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] -[2022/11/02 16:50:51.670 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.671 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=79.875µs] [phyTblIDs="[32]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.673 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=2.283708ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=33] -[2022/11/02 16:50:51.674 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.675 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] -[2022/11/02 16:50:51.675 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.675 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] -[2022/11/02 16:50:51.676 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.677 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=66.5µs] [phyTblIDs="[34]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.679 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=2.258541ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=35] -[2022/11/02 16:50:51.680 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.680 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] -[2022/11/02 16:50:51.681 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.681 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] -[2022/11/02 16:50:51.682 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.683 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=106.125µs] [phyTblIDs="[36]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.685 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=2.079958ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.681 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=37] -[2022/11/02 16:50:51.686 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.687 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:51.687 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.687 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:51.688 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.689 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=73.5µs] [phyTblIDs="[38]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.691 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=2.08375ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=39] -[2022/11/02 16:50:51.692 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.692 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] -[2022/11/02 16:50:51.693 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.693 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] -[2022/11/02 16:50:51.694 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.694 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=58.708µs] [phyTblIDs="[40]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.696 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=2.203375ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=41] -[2022/11/02 16:50:51.697 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.697 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] -[2022/11/02 16:50:51.698 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.698 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] -[2022/11/02 16:50:51.699 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.699 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=43.833µs] [phyTblIDs="[42]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.702 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=2.151709ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=43] -[2022/11/02 16:50:51.702 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.703 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] -[2022/11/02 16:50:51.703 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.703 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] -[2022/11/02 16:50:51.704 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.705 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=99.125µs] [phyTblIDs="[44]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.707 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=2.256333ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=45] -[2022/11/02 16:50:51.708 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.708 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] -[2022/11/02 16:50:51.709 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.709 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] -[2022/11/02 16:50:51.710 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.710 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=74.375µs] [phyTblIDs="[46]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.713 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=2.263125ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.713 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=47] -[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.714 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] -[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.714 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] -[2022/11/02 16:50:51.715 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.716 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=80.209µs] [phyTblIDs="[48]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.718 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=2.259458ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=49] -[2022/11/02 16:50:51.719 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.719 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] -[2022/11/02 16:50:51.720 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.720 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] -[2022/11/02 16:50:51.721 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.721 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=69.334µs] [phyTblIDs="[50]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.724 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=2.257458ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.724 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.719 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=51] -[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.725 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] -[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.725 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] -[2022/11/02 16:50:51.726 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.727 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=60.334µs] [phyTblIDs="[52]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.729 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=2.257375ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.725 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=53] -[2022/11/02 16:50:51.730 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.730 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:51.731 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.731 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:51.732 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.733 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=63.875µs] [phyTblIDs="[54]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.735 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=2.535625ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=55] -[2022/11/02 16:50:51.736 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.736 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] -[2022/11/02 16:50:51.737 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.737 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] -[2022/11/02 16:50:51.738 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.738 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=67.125µs] [phyTblIDs="[56]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.741 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=2.259666ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.741 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=57] -[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.742 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] -[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:840] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] -[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.742 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] -[2022/11/02 16:50:51.743 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.744 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=77µs] [phyTblIDs="[58]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.746 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=2.162458ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=59] -[2022/11/02 16:50:51.747 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.747 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] [user=] -[2022/11/02 16:50:51.748 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.748 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no)\n\t);"] -[2022/11/02 16:50:51.749 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.750 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=97.292µs] [phyTblIDs="[60]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.752 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=2.269333ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=61] -[2022/11/02 16:50:51.753 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.753 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] [user=] -[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time)\n\t);"] -[2022/11/02 16:50:51.754 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.755 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=77.083µs] [phyTblIDs="[62]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.757 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=2.277333ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=63] -[2022/11/02 16:50:51.758 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.759 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] -[2022/11/02 16:50:51.759 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.759 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] -[2022/11/02 16:50:51.760 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.761 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=131.375µs] [phyTblIDs="[64]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.763 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=2.257ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.764 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=65] -[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.765 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] -[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.765 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] -[2022/11/02 16:50:51.766 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.767 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=51.459µs] [phyTblIDs="[66]"] [actionTypes="[8]"] -[2022/11/02 16:50:51.769 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=2.590375ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=67] -[2022/11/02 16:50:51.770 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.771 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.771 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] -[2022/11/02 16:50:51.772 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 23, tp general"] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.773 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=81.791µs] [phyTblIDs="[68]"] [actionTypes="[2097152]"] -[2022/11/02 16:50:51.775 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=2.25675ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 23, tp general"] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=69] -[2022/11/02 16:50:51.776 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:51.783 +08:00] [INFO] [session.go:2999] ["bootstrap successful"] ["take time"=214.134959ms] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 24, tp add index"] ["take time"=1.333µs] -[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 25, tp add index"] ["take time"=875ns] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:51.783 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 23, tp general"] ["take time"=17.667µs] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 21, tp general"] ["take time"=41ns] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 22, tp add index"] ["take time"=0s] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:51.783 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] ["take time"=271µs] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=795af8ce-fba2-4671-a69e-38cc4c32cc0e] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:51.783 +08:00] [INFO] [session.go:3004] ["domain closed"] ["take time"=378.166µs] -[2022/11/02 16:50:51.783 +08:00] [INFO] [misc.go:69] ["new domain"] [store=ba6729d4-3832-45e1-9530-7247f77c6daf] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] -[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:458] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=34] ["start time"=2.6915ms] -[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:1022] ["full load and reset schema validator"] -[2022/11/02 16:50:51.786 +08:00] [INFO] [domain.go:1027] ["[ddl] start DDL"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] [runWorker=true] -[2022/11/02 16:50:51.786 +08:00] [INFO] [ddl.go:713] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] -[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start delRange emulator"] -[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 26, tp general"] -[2022/11/02 16:50:51.786 +08:00] [INFO] [asm_arm64.s:1172] ["[ddl] start DDL worker"] [worker="worker 27, tp add index"] -[2022/11/02 16:50:51.787 +08:00] [INFO] [env.go:50] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] -[2022/11/02 16:50:51.787 +08:00] [INFO] [ddl.go:738] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=122880] ["lightning is initialized"=true] -[2022/11/02 16:50:51.787 +08:00] [WARN] [domain.go:1063] ["pd / etcd client not provided, won't begin Advancer."] -[2022/11/02 16:50:51.787 +08:00] [WARN] [sysvar_cache.go:62] ["sysvar cache is empty, triggering rebuild"] -[2022/11/02 16:50:51.791 +08:00] [INFO] [session.go:2182] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=34] [cur_db=test] [sql="create table t (a int, b int)"] [user=] -[2022/11/02 16:50:51.792 +08:00] [INFO] [ddl_worker.go:286] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] -[2022/11/02 16:50:51.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] start DDL job"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int, b int)"] -[2022/11/02 16:50:52.788 +08:00] [INFO] [ddl_worker.go:827] ["[ddl] run DDL job"] [worker="worker 28, tp general"] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:52.789 +08:00] [INFO] [domain.go:458] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=52.333µs] [phyTblIDs="[70]"] [actionTypes="[8]"] -[2022/11/02 16:50:52.791 +08:00] [INFO] [job_table.go:289] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=2.1615ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:2, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl_worker.go:757] ["[ddl] finish DDL job"] [worker="worker 28, tp general"] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:70, RowCount:0, ArgLen:0, start time: 2022-11-02 16:50:51.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl_api.go:2502] ["[ddl] DDL job is finished"] [jobID=71] -[2022/11/02 16:50:52.792 +08:00] [INFO] [ddl.go:1125] ["performing DDL change, must reload"] -[2022/11/02 16:50:52.792 +08:00] [WARN] [adapter.go:1351] ["# Txn_start_ts: 0\n# Conn_ID: 3\n# Query_time: 1.001000291\n# Parse_time: 0.000012791\n# Compile_time: 0.00001475\n# Rewrite_time: 0.000000958\n# Optimize_time: 0.000005083\n# Wait_TS: 0.000001416\n# DB: test\n# Is_internal: false\n# Digest: a40dc2698adc005c4f60f067c952899c54f602cd41e7502a92c75405301dde37\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t (a int, b int);"] -[2022/11/02 16:50:52.792 +08:00] [WARN] [2pc.go:1573] ["schemaLeaseChecker is not set for this transaction"] [sessionID=3] [startTS=437093414415106055] [checkTS=437093414415106056] -[2022/11/02 16:50:52.796 +08:00] [INFO] [analyze.go:262] ["analyze table `test`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:52.793 +08:00] ["end time"=2022/11/02 16:50:52.795 +08:00] [cost=2.500875ms] -[2022/11/02 16:50:52.808 +08:00] [INFO] [analyze.go:262] ["analyze table `mysql`.`stats_histograms` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2022/11/02 16:50:52.798 +08:00] ["end time"=2022/11/02 16:50:52.808 +08:00] [cost=10.311ms] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:796] ["[ddl] closing workerPool"] -[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 29, tp add index"] ["take time"=375ns] -[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 30, tp add index"] ["take time"=291ns] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:799] ["[ddl] closing workerPool"] -[2022/11/02 16:50:52.816 +08:00] [INFO] [resource_pool.go:174] ["[ddl] DDL worker closed"] [worker="worker 28, tp general"] ["take time"=125ns] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 26, tp general"] ["take time"=42ns] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:803] ["[ddl] DDL worker closed"] [worker="worker 27, tp add index"] ["take time"=42ns] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:808] ["[ddl] closing delRange"] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:811] ["[ddl] closing sessionPool"] -[2022/11/02 16:50:52.816 +08:00] [INFO] [ddl.go:638] ["[ddl] DDL closed"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] ["take time"=66.292µs] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:849] ["[ddl] stop DDL"] [ID=1212a806-95ea-4d07-a5c1-ee83ddf203bf] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1099] ["closestReplicaReadCheckLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1339] ["LoadSysVarCacheLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:788] ["loadSchemaInLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:576] ["infoSyncerKeeper exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1547] ["dumpFileGcChecker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:625] ["topologySyncerKeeper exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:538] ["topNSlowQueryLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:596] ["globalConfigSyncerKeeper exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1289] ["loadPrivilegeInLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1463] ["handleEvolvePlanTasksLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [domain.go:1424] ["globalBindHandleWorkerLoop exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [handle_hist.go:184] ["SubLoadWorker exited."] -[2022/11/02 16:50:52.816 +08:00] [INFO] [mockstore.go:88] ["domain closed"] ["take time"=140.333µs] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:567] ["Closing database"] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:592] ["Memtable flushed"] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:596] ["Compaction finished"] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:615] ["BlobManager finished"] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] -[2022/11/02 16:50:52.837 +08:00] [INFO] [db.go:625] ["Waiting for closer"] -FAIL -================================================================================ -==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): -[2022/11/02 16:48:06.160 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:07.161 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:08.162 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:09.163 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:10.164 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:11.165 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:12.166 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:13.167 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:14.168 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:15.169 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:16.169 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:17.171 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:18.176 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:19.177 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:20.178 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:21.179 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:22.180 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:23.182 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:24.183 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:25.184 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:26.185 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:27.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:28.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:29.186 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:30.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:31.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:32.188 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:33.189 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:34.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:35.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:36.190 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:37.191 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:38.192 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:39.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:40.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:41.193 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:42.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:43.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:44.194 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:45.195 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:46.196 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:47.197 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:48.197 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:49.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:50.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:51.200 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:52.201 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:53.202 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:54.202 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:55.203 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:56.203 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:57.204 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:58.205 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:48:59.206 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:00.207 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:01.208 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:02.209 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:03.210 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:04.210 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:05.211 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] --- Test timed out at 2022-11-02 16:49:06 CST -- -================================================================================ -==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): -[2022/11/02 16:49:06.543 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:07.544 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:08.544 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:09.545 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:10.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:11.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:12.547 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:13.548 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:14.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:15.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:16.549 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:17.550 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:18.551 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:19.552 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:20.552 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:21.554 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:22.555 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:23.555 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:24.556 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:25.557 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:26.560 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:27.561 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:28.562 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:29.562 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:30.564 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:31.564 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:32.565 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:33.565 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:34.566 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:35.567 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:36.569 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:37.570 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:38.570 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:39.571 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:40.572 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:41.573 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:42.574 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:43.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:44.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:45.575 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:46.576 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:47.576 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:48.577 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:49.578 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:50.579 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:51.581 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:52.581 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:53.582 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:54.583 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:55.583 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:56.585 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:57.586 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:58.586 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:49:59.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:00.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:01.587 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:02.588 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:03.589 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:04.589 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:05.591 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] --- Test timed out at 2022-11-02 16:50:06 CST -- -================================================================================ -==================== Test output for //br/pkg/lightning/backend/local:local_test (shard 11 of 20): -[2022/11/02 16:50:06.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:07.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:08.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:09.619 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:10.620 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:11.620 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:12.621 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:13.622 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:14.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:15.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:16.623 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:17.624 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:18.625 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:19.626 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:20.627 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:21.628 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:22.629 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:23.630 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:24.635 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:25.636 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:26.637 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:27.638 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:28.639 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:29.639 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:30.640 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:31.640 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:32.641 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:33.642 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:34.643 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:35.643 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:36.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:37.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:38.645 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:39.646 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:40.646 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:41.647 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:42.647 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:43.649 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:44.650 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:45.651 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:46.652 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:47.652 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:48.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:49.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:50.653 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:51.654 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:52.655 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:53.655 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:54.656 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:55.657 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:56.658 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:57.659 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:58.659 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:50:59.660 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:00.661 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:01.662 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:02.663 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:03.664 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:04.664 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] -[2022/11/02 16:51:05.666 +08:00] [WARN] [split.go:115] ["failed to scan region, retrying"] [error="scan region return empty result, startKey: 6200000000000000F8, endKey: 627A000000000000F9: [BR:PD:ErrPDBatchScanRegion]batch scan region"] --- Test timed out at 2022-11-02 16:51:06 CST -- -================================================================================ -Test cases: finished with 0 passing and 13 failing out of 13 test cases - -Executed 136 out of 231 tests: 221 tests pass and 10 fail locally. -There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. From 5c80ad774a8b61ffc90ff8eb8deca959cbad3ef5 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Wed, 2 Nov 2022 18:22:40 +0800 Subject: [PATCH 03/11] add explain Signed-off-by: wjhuang2016 --- .../r/collation_check_use_collation_disabled.result | 9 +++++++++ .../r/collation_check_use_collation_enabled.result | 9 +++++++++ cmd/explaintest/t/collation_check_use_collation.test | 1 + 3 files changed, 19 insertions(+) diff --git a/cmd/explaintest/r/collation_check_use_collation_disabled.result b/cmd/explaintest/r/collation_check_use_collation_disabled.result index 67659077e5371..c11f2e87fa719 100644 --- a/cmd/explaintest/r/collation_check_use_collation_disabled.result +++ b/cmd/explaintest/r/collation_check_use_collation_disabled.result @@ -168,4 +168,13 @@ SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; 0 SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); c0 +desc format='brief' SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); +id estRows task access object operator info +Projection 80000000.00 root is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20)))->Column#7 +└─HashJoin 80000000.00 root CARTESIAN inner join + ├─Selection(Build) 8000.00 root not(like(cast(is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20))), var_string(20)), cast(is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20))), binary(1)), 92)) + │ └─TableReader 10000.00 root data:TableFullScan + │ └─TableFullScan 10000.00 cop[tikv] table:t0 keep order:false, stats:pseudo + └─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:t1 keep order:false, stats:pseudo use test diff --git a/cmd/explaintest/r/collation_check_use_collation_enabled.result b/cmd/explaintest/r/collation_check_use_collation_enabled.result index 2e4002cf7aab7..98792edf21131 100644 --- a/cmd/explaintest/r/collation_check_use_collation_enabled.result +++ b/cmd/explaintest/r/collation_check_use_collation_enabled.result @@ -187,4 +187,13 @@ SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; 0 SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); c0 +desc format='brief' SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); +id estRows task access object operator info +Projection 80000000.00 root is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20)))->Column#7 +└─HashJoin 80000000.00 root CARTESIAN inner join + ├─Selection(Build) 8000.00 root not(like(cast(is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20))), var_string(20)), cast(is_ipv4(cast(collation_check_use_collation.t0.c1, var_string(20))), binary(1)), 92)) + │ └─TableReader 10000.00 root data:TableFullScan + │ └─TableFullScan 10000.00 cop[tikv] table:t0 keep order:false, stats:pseudo + └─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:t1 keep order:false, stats:pseudo use test diff --git a/cmd/explaintest/t/collation_check_use_collation.test b/cmd/explaintest/t/collation_check_use_collation.test index 6affb0abaa852..eab8197559e71 100644 --- a/cmd/explaintest/t/collation_check_use_collation.test +++ b/cmd/explaintest/t/collation_check_use_collation.test @@ -121,6 +121,7 @@ INSERT INTO t1(c0, c1) VALUES (true, 2); SELECT v0.c0 FROM v0; SELECT (v0.c0)NOT LIKE(BINARY v0.c0) FROM v0; SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); +desc format='brief' SELECT v0.c0 FROM v0 WHERE (v0.c0)NOT LIKE(BINARY v0.c0); # cleanup environment use test From d4aaac1dfc6e87173588a1714d9ab6fb7c2dc40c Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Mon, 30 Jan 2023 17:29:54 +0800 Subject: [PATCH 04/11] fix Signed-off-by: wjhuang2016 --- cmd/explaintest/r/explain_complex.result | 2 +- cmd/explaintest/r/explain_cte.result | 88 +++++++++++------------- cmd/explaintest/r/subquery.result | 20 +++--- cmd/explaintest/r/tpch.result | 21 +++--- 4 files changed, 66 insertions(+), 65 deletions(-) diff --git a/cmd/explaintest/r/explain_complex.result b/cmd/explaintest/r/explain_complex.result index e67668eeb45dc..d8e1f186a4028 100644 --- a/cmd/explaintest/r/explain_complex.result +++ b/cmd/explaintest/r/explain_complex.result @@ -250,7 +250,7 @@ Sort 1.00 root test.org_department.left_value └─HashAgg 1.00 root group by:test.org_department.id, funcs:firstrow(test.org_department.id)->test.org_department.id, funcs:firstrow(test.org_department.ctx)->test.org_department.ctx, funcs:firstrow(test.org_department.name)->test.org_department.name, funcs:firstrow(test.org_department.left_value)->test.org_department.left_value, funcs:firstrow(test.org_department.right_value)->test.org_department.right_value, funcs:firstrow(test.org_department.depth)->test.org_department.depth, funcs:firstrow(test.org_department.leader_id)->test.org_department.leader_id, funcs:firstrow(test.org_department.status)->test.org_department.status, funcs:firstrow(test.org_department.created_on)->test.org_department.created_on, funcs:firstrow(test.org_department.updated_on)->test.org_department.updated_on └─Selection 0.01 root or(eq(test.org_employee_position.user_id, 62), or(eq(test.org_department.id, 20), eq(test.org_department.id, 20))) └─HashJoin 0.02 root left outer join, equal:[eq(test.org_position.id, test.org_employee_position.position_id)] - ├─IndexHashJoin(Build) 0.01 root left outer join, inner:IndexLookUp, outer key:test.org_department.id, inner key:test.org_position.department_id, equal cond:eq(test.org_department.id, test.org_position.department_id) + ├─IndexJoin(Build) 0.01 root left outer join, inner:IndexLookUp, outer key:test.org_department.id, inner key:test.org_position.department_id, equal cond:eq(test.org_department.id, test.org_position.department_id) │ ├─IndexLookUp(Build) 0.01 root │ │ ├─IndexRangeScan(Build) 10.00 cop[tikv] table:d, index:org_department_ctx_index(ctx) range:[1,1], keep order:false, stats:pseudo │ │ └─Selection(Probe) 0.01 cop[tikv] eq(test.org_department.status, 1000) diff --git a/cmd/explaintest/r/explain_cte.result b/cmd/explaintest/r/explain_cte.result index 7d8b328fb4c50..b58ff83141b9d 100644 --- a/cmd/explaintest/r/explain_cte.result +++ b/cmd/explaintest/r/explain_cte.result @@ -391,52 +391,48 @@ order by t_s_secyear.customer_id ,t_s_secyear.customer_email_address limit 100; id estRows task access object operator info -TopN 40.00 root Column#180, Column#181, Column#182, Column#186, offset:0, count:100 -└─HashJoin 40.00 root inner join, equal:[eq(Column#170, Column#200)], other cond:gt(case(gt(Column#198, 0), div(Column#208, Column#198), 0.0), case(gt(Column#178, 0), div(Column#188, Column#178), 0.0)) - ├─Selection(Build) 40.00 root eq(Column#207, 2002), eq(Column#209, "w"), not(isnull(Column#200)) - │ └─CTEFullScan 50.00 root CTE:year_total AS t_w_secyear data:CTE_0 - └─HashJoin(Probe) 40.00 root inner join, equal:[eq(Column#170, Column#190)] - ├─Selection(Build) 40.00 root eq(Column#197, 2001), eq(Column#199, "w"), gt(Column#198, 0), not(isnull(Column#190)) - │ └─CTEFullScan 50.00 root CTE:year_total AS t_w_firstyear data:CTE_0 - └─HashJoin(Probe) 40.00 root inner join, equal:[eq(Column#170, Column#180)] - ├─Selection(Build) 40.00 root eq(Column#187, 2002), eq(Column#189, "s"), not(isnull(Column#180)) - │ └─CTEFullScan 50.00 root CTE:year_total AS t_s_secyear data:CTE_0 - └─Selection(Probe) 40.00 root eq(Column#177, 2001), eq(Column#179, "s"), gt(Column#178, 0), not(isnull(Column#170)) - └─CTEFullScan 50.00 root CTE:year_total AS t_s_firstyear data:CTE_0 -CTE_0 50.00 root Non-Recursive CTE -└─Union(Seed Part) 50.00 root - ├─Projection 25.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#73, s->Column#169 - │ └─Selection 25.00 root or(or(and(1, and(eq(test.date_dim.d_year, 2001), gt(Column#73, 0))), and(1, eq(test.date_dim.d_year, 2002))), 0) - │ └─HashAgg 31.25 root group by:Column#233, Column#234, Column#235, Column#236, Column#237, Column#238, Column#239, Column#240, funcs:sum(Column#224)->Column#73, funcs:firstrow(Column#225)->test.customer.c_customer_id, funcs:firstrow(Column#226)->test.customer.c_first_name, funcs:firstrow(Column#227)->test.customer.c_last_name, funcs:firstrow(Column#228)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#229)->test.customer.c_birth_country, funcs:firstrow(Column#230)->test.customer.c_login, funcs:firstrow(Column#231)->test.customer.c_email_address, funcs:firstrow(Column#232)->test.date_dim.d_year - │ └─Projection 31.25 root minus(test.store_sales.ss_ext_list_price, test.store_sales.ss_ext_discount_amt)->Column#224, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year - │ └─Projection 31.25 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.store_sales.ss_ext_discount_amt, test.store_sales.ss_ext_list_price, test.date_dim.d_year - │ └─IndexJoin 31.25 root inner join, inner:IndexLookUp, outer key:test.store_sales.ss_customer_sk, inner key:test.customer.c_customer_sk, equal cond:eq(test.store_sales.ss_customer_sk, test.customer.c_customer_sk) - │ ├─HashJoin(Build) 25.00 root inner join, equal:[eq(test.date_dim.d_date_sk, test.store_sales.ss_sold_date_sk)] - │ │ ├─TableReader(Build) 20.00 root data:Selection - │ │ │ └─Selection 20.00 cop[tikv] or(and(1, eq(test.date_dim.d_year, 2001)), or(and(1, eq(test.date_dim.d_year, 2002)), 0)) - │ │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo - │ │ └─TableReader(Probe) 9980.01 root data:Selection - │ │ └─Selection 9980.01 cop[tikv] not(isnull(test.store_sales.ss_customer_sk)), not(isnull(test.store_sales.ss_sold_date_sk)) - │ │ └─TableFullScan 10000.00 cop[tikv] table:store_sales keep order:false, stats:pseudo - │ └─IndexLookUp(Probe) 25.00 root - │ ├─IndexRangeScan(Build) 25.00 cop[tikv] table:customer, index:PRIMARY(c_customer_sk) range: decided by [eq(test.customer.c_customer_sk, test.store_sales.ss_customer_sk)], keep order:false, stats:pseudo - │ └─TableRowIDScan(Probe) 25.00 cop[tikv] table:customer keep order:false, stats:pseudo - └─Projection 25.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#158, w->Column#169 - └─Selection 25.00 root or(0, or(and(1, and(eq(test.date_dim.d_year, 2001), gt(Column#158, 0))), and(1, eq(test.date_dim.d_year, 2002)))) - └─HashAgg 31.25 root group by:Column#250, Column#251, Column#252, Column#253, Column#254, Column#255, Column#256, Column#257, funcs:sum(Column#241)->Column#158, funcs:firstrow(Column#242)->test.customer.c_customer_id, funcs:firstrow(Column#243)->test.customer.c_first_name, funcs:firstrow(Column#244)->test.customer.c_last_name, funcs:firstrow(Column#245)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#246)->test.customer.c_birth_country, funcs:firstrow(Column#247)->test.customer.c_login, funcs:firstrow(Column#248)->test.customer.c_email_address, funcs:firstrow(Column#249)->test.date_dim.d_year - └─Projection 31.25 root minus(test.web_sales.ws_ext_list_price, test.web_sales.ws_ext_discount_amt)->Column#241, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year - └─Projection 31.25 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.web_sales.ws_ext_discount_amt, test.web_sales.ws_ext_list_price, test.date_dim.d_year - └─IndexJoin 31.25 root inner join, inner:IndexLookUp, outer key:test.web_sales.ws_bill_customer_sk, inner key:test.customer.c_customer_sk, equal cond:eq(test.web_sales.ws_bill_customer_sk, test.customer.c_customer_sk) - ├─HashJoin(Build) 25.00 root inner join, equal:[eq(test.date_dim.d_date_sk, test.web_sales.ws_sold_date_sk)] - │ ├─TableReader(Build) 20.00 root data:Selection - │ │ └─Selection 20.00 cop[tikv] or(0, or(and(1, eq(test.date_dim.d_year, 2001)), and(1, eq(test.date_dim.d_year, 2002)))) - │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo - │ └─TableReader(Probe) 9980.01 root data:Selection - │ └─Selection 9980.01 cop[tikv] not(isnull(test.web_sales.ws_bill_customer_sk)), not(isnull(test.web_sales.ws_sold_date_sk)) - │ └─TableFullScan 10000.00 cop[tikv] table:web_sales keep order:false, stats:pseudo - └─IndexLookUp(Probe) 25.00 root - ├─IndexRangeScan(Build) 25.00 cop[tikv] table:customer, index:PRIMARY(c_customer_sk) range: decided by [eq(test.customer.c_customer_sk, test.web_sales.ws_bill_customer_sk)], keep order:false, stats:pseudo - └─TableRowIDScan(Probe) 25.00 cop[tikv] table:customer keep order:false, stats:pseudo +TopN 100.00 root Column#180, Column#181, Column#182, Column#186, offset:0, count:100 +└─HashJoin 10240.00 root inner join, equal:[eq(Column#170, Column#200)], other cond:gt(case(gt(Column#198, 0), div(Column#208, Column#198), 0.0), case(gt(Column#178, 0), div(Column#188, Column#178), 0.0)) + ├─Selection(Build) 10240.00 root eq(Column#207, 2002), eq(Column#209, "w"), not(isnull(Column#200)) + │ └─CTEFullScan 12800.00 root CTE:year_total AS t_w_secyear data:CTE_0 + └─HashJoin(Probe) 10240.00 root inner join, equal:[eq(Column#170, Column#190)] + ├─Selection(Build) 10240.00 root eq(Column#197, 2001), eq(Column#199, "w"), gt(Column#198, 0), not(isnull(Column#190)) + │ └─CTEFullScan 12800.00 root CTE:year_total AS t_w_firstyear data:CTE_0 + └─HashJoin(Probe) 10240.00 root inner join, equal:[eq(Column#170, Column#180)] + ├─Selection(Build) 10240.00 root eq(Column#187, 2002), eq(Column#189, "s"), not(isnull(Column#180)) + │ └─CTEFullScan 12800.00 root CTE:year_total AS t_s_secyear data:CTE_0 + └─Selection(Probe) 10240.00 root eq(Column#177, 2001), eq(Column#179, "s"), gt(Column#178, 0), not(isnull(Column#170)) + └─CTEFullScan 12800.00 root CTE:year_total AS t_s_firstyear data:CTE_0 +CTE_0 12800.00 root Non-Recursive CTE +└─Union(Seed Part) 12800.00 root + ├─Selection 6400.00 root or(or(and(and(not(isnull(Column#160)), eq(Column#169, "s")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "s"), eq(Column#167, 2002)))), or(and(and(not(isnull(Column#160)), eq(Column#169, "w")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "w"), eq(Column#167, 2002))))) + │ └─Projection 8000.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#73, s->Column#169 + │ └─HashAgg 8000.00 root group by:Column#233, Column#234, Column#235, Column#236, Column#237, Column#238, Column#239, Column#240, funcs:sum(Column#224)->Column#73, funcs:firstrow(Column#225)->test.customer.c_customer_id, funcs:firstrow(Column#226)->test.customer.c_first_name, funcs:firstrow(Column#227)->test.customer.c_last_name, funcs:firstrow(Column#228)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#229)->test.customer.c_birth_country, funcs:firstrow(Column#230)->test.customer.c_login, funcs:firstrow(Column#231)->test.customer.c_email_address, funcs:firstrow(Column#232)->test.date_dim.d_year + │ └─Projection 15593.77 root minus(test.store_sales.ss_ext_list_price, test.store_sales.ss_ext_discount_amt)->Column#224, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year + │ └─Projection 15593.77 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.store_sales.ss_ext_discount_amt, test.store_sales.ss_ext_list_price, test.date_dim.d_year + │ └─HashJoin 15593.77 root inner join, equal:[eq(test.store_sales.ss_sold_date_sk, test.date_dim.d_date_sk)] + │ ├─TableReader(Build) 10000.00 root data:TableFullScan + │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo + │ └─HashJoin(Probe) 12475.01 root inner join, equal:[eq(test.store_sales.ss_customer_sk, test.customer.c_customer_sk)] + │ ├─TableReader(Build) 9980.01 root data:Selection + │ │ └─Selection 9980.01 cop[tikv] not(isnull(test.store_sales.ss_customer_sk)), not(isnull(test.store_sales.ss_sold_date_sk)) + │ │ └─TableFullScan 10000.00 cop[tikv] table:store_sales keep order:false, stats:pseudo + │ └─TableReader(Probe) 10000.00 root data:TableFullScan + │ └─TableFullScan 10000.00 cop[tikv] table:customer keep order:false, stats:pseudo + └─Selection 6400.00 root or(or(and(and(not(isnull(Column#160)), eq(Column#169, "s")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "s"), eq(Column#167, 2002)))), or(and(and(not(isnull(Column#160)), eq(Column#169, "w")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "w"), eq(Column#167, 2002))))) + └─Projection 8000.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#158, w->Column#169 + └─HashAgg 8000.00 root group by:Column#250, Column#251, Column#252, Column#253, Column#254, Column#255, Column#256, Column#257, funcs:sum(Column#241)->Column#158, funcs:firstrow(Column#242)->test.customer.c_customer_id, funcs:firstrow(Column#243)->test.customer.c_first_name, funcs:firstrow(Column#244)->test.customer.c_last_name, funcs:firstrow(Column#245)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#246)->test.customer.c_birth_country, funcs:firstrow(Column#247)->test.customer.c_login, funcs:firstrow(Column#248)->test.customer.c_email_address, funcs:firstrow(Column#249)->test.date_dim.d_year + └─Projection 15593.77 root minus(test.web_sales.ws_ext_list_price, test.web_sales.ws_ext_discount_amt)->Column#241, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year + └─Projection 15593.77 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.web_sales.ws_ext_discount_amt, test.web_sales.ws_ext_list_price, test.date_dim.d_year + └─HashJoin 15593.77 root inner join, equal:[eq(test.web_sales.ws_sold_date_sk, test.date_dim.d_date_sk)] + ├─TableReader(Build) 10000.00 root data:TableFullScan + │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo + └─HashJoin(Probe) 12475.01 root inner join, equal:[eq(test.web_sales.ws_bill_customer_sk, test.customer.c_customer_sk)] + ├─TableReader(Build) 9980.01 root data:Selection + │ └─Selection 9980.01 cop[tikv] not(isnull(test.web_sales.ws_bill_customer_sk)), not(isnull(test.web_sales.ws_sold_date_sk)) + │ └─TableFullScan 10000.00 cop[tikv] table:web_sales keep order:false, stats:pseudo + └─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:customer keep order:false, stats:pseudo drop table if exists t1; create table t1 (id int, bench_type varchar(10),version varchar(10),tps int(20)); insert into t1 (id,bench_type,version,tps) values (1,'sysbench','5.4.0',1111111); diff --git a/cmd/explaintest/r/subquery.result b/cmd/explaintest/r/subquery.result index ea5a17f2ff3e3..8d932d85418e4 100644 --- a/cmd/explaintest/r/subquery.result +++ b/cmd/explaintest/r/subquery.result @@ -56,20 +56,24 @@ insert into exam values(1, 'math', 100); set names utf8 collate utf8_general_ci; explain format = 'brief' select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id estRows task access object operator info -HashJoin 8000.00 root anti semi join, equal:[eq(test.stu.id, test.exam.stu_id)], other cond:eq(test.stu.name, "guo") +Apply 10000.00 root CARTESIAN anti semi join, other cond:eq(test.stu.name, Column#8) ├─TableReader(Build) 10000.00 root data:TableFullScan -│ └─TableFullScan 10000.00 cop[tikv] table:exam keep order:false, stats:pseudo -└─TableReader(Probe) 10000.00 root data:TableFullScan - └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo +│ └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo +└─Projection(Probe) 100000.00 root guo->Column#8 + └─TableReader 100000.00 root data:Selection + └─Selection 100000.00 cop[tikv] eq(test.exam.stu_id, test.stu.id) + └─TableFullScan 100000000.00 cop[tikv] table:exam keep order:false, stats:pseudo select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id name set names utf8mb4; explain format = 'brief' select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id estRows task access object operator info -HashJoin 8000.00 root anti semi join, equal:[eq(test.stu.id, test.exam.stu_id)], other cond:eq(test.stu.name, "guo") +Apply 10000.00 root CARTESIAN anti semi join, other cond:eq(test.stu.name, Column#8) ├─TableReader(Build) 10000.00 root data:TableFullScan -│ └─TableFullScan 10000.00 cop[tikv] table:exam keep order:false, stats:pseudo -└─TableReader(Probe) 10000.00 root data:TableFullScan - └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo +│ └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo +└─Projection(Probe) 100000.00 root guo->Column#8 + └─TableReader 100000.00 root data:Selection + └─Selection 100000.00 cop[tikv] eq(test.exam.stu_id, test.stu.id) + └─TableFullScan 100000000.00 cop[tikv] table:exam keep order:false, stats:pseudo select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id name diff --git a/cmd/explaintest/r/tpch.result b/cmd/explaintest/r/tpch.result index a2fc266a653d7..53af59a5b39f6 100644 --- a/cmd/explaintest/r/tpch.result +++ b/cmd/explaintest/r/tpch.result @@ -972,16 +972,17 @@ l_partkey = p_partkey id estRows task access object operator info Projection 1.00 root div(Column#46, 7.0)->Column#47 └─StreamAgg 1.00 root funcs:sum(tpch.lineitem.l_extendedprice)->Column#46 - └─HashJoin 293773.83 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)], other cond:lt(tpch.lineitem.l_quantity, mul(0.2, Column#44)) - ├─HashJoin(Build) 293773.83 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)] - │ ├─TableReader(Build) 9736.49 root data:Selection - │ │ └─Selection 9736.49 cop[tikv] eq(tpch.part.p_brand, "Brand#44"), eq(tpch.part.p_container, "WRAP PKG") - │ │ └─TableFullScan 10000000.00 cop[tikv] table:part keep order:false - │ └─TableReader(Probe) 300005811.00 root data:TableFullScan - │ └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false - └─HashAgg(Probe) 9943040.00 root group by:tpch.lineitem.l_partkey, funcs:avg(Column#50, Column#51)->Column#44, funcs:firstrow(tpch.lineitem.l_partkey)->tpch.lineitem.l_partkey - └─TableReader 9943040.00 root data:HashAgg - └─HashAgg 9943040.00 cop[tikv] group by:tpch.lineitem.l_partkey, funcs:count(tpch.lineitem.l_quantity)->Column#50, funcs:sum(tpch.lineitem.l_quantity)->Column#51 + └─Selection 240004648.80 root eq(tpch.part.p_brand, "Brand#44"), eq(tpch.part.p_container, "WRAP PKG") + └─Projection 300005811.00 root tpch.lineitem.l_extendedprice, tpch.part.p_brand, tpch.part.p_container + └─HashJoin 300005811.00 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)], other cond:lt(tpch.lineitem.l_quantity, mul(0.2, Column#44)) + ├─HashJoin(Build) 9943040.00 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)] + │ ├─HashAgg(Build) 9943040.00 root group by:tpch.lineitem.l_partkey, funcs:avg(Column#50, Column#51)->Column#44, funcs:firstrow(tpch.lineitem.l_partkey)->tpch.lineitem.l_partkey + │ │ └─TableReader 9943040.00 root data:HashAgg + │ │ └─HashAgg 9943040.00 cop[tikv] group by:tpch.lineitem.l_partkey, funcs:count(tpch.lineitem.l_quantity)->Column#50, funcs:sum(tpch.lineitem.l_quantity)->Column#51 + │ │ └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false + │ └─TableReader(Probe) 10000000.00 root data:TableFullScan + │ └─TableFullScan 10000000.00 cop[tikv] table:part keep order:false + └─TableReader(Probe) 300005811.00 root data:TableFullScan └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false /* Q18 Large Volume Customer Query From a53fff79a29ca6b8f4e21c139796271ab31f6020 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Mon, 30 Jan 2023 18:01:51 +0800 Subject: [PATCH 05/11] fix Signed-off-by: wjhuang2016 --- cmd/explaintest/r/subquery.result | 20 ++++++++------------ cmd/explaintest/r/tpch.result | 21 ++++++++++----------- expression/util.go | 3 ++- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/cmd/explaintest/r/subquery.result b/cmd/explaintest/r/subquery.result index 8d932d85418e4..ea5a17f2ff3e3 100644 --- a/cmd/explaintest/r/subquery.result +++ b/cmd/explaintest/r/subquery.result @@ -56,24 +56,20 @@ insert into exam values(1, 'math', 100); set names utf8 collate utf8_general_ci; explain format = 'brief' select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id estRows task access object operator info -Apply 10000.00 root CARTESIAN anti semi join, other cond:eq(test.stu.name, Column#8) +HashJoin 8000.00 root anti semi join, equal:[eq(test.stu.id, test.exam.stu_id)], other cond:eq(test.stu.name, "guo") ├─TableReader(Build) 10000.00 root data:TableFullScan -│ └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo -└─Projection(Probe) 100000.00 root guo->Column#8 - └─TableReader 100000.00 root data:Selection - └─Selection 100000.00 cop[tikv] eq(test.exam.stu_id, test.stu.id) - └─TableFullScan 100000000.00 cop[tikv] table:exam keep order:false, stats:pseudo +│ └─TableFullScan 10000.00 cop[tikv] table:exam keep order:false, stats:pseudo +└─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id name set names utf8mb4; explain format = 'brief' select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id estRows task access object operator info -Apply 10000.00 root CARTESIAN anti semi join, other cond:eq(test.stu.name, Column#8) +HashJoin 8000.00 root anti semi join, equal:[eq(test.stu.id, test.exam.stu_id)], other cond:eq(test.stu.name, "guo") ├─TableReader(Build) 10000.00 root data:TableFullScan -│ └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo -└─Projection(Probe) 100000.00 root guo->Column#8 - └─TableReader 100000.00 root data:Selection - └─Selection 100000.00 cop[tikv] eq(test.exam.stu_id, test.stu.id) - └─TableFullScan 100000000.00 cop[tikv] table:exam keep order:false, stats:pseudo +│ └─TableFullScan 10000.00 cop[tikv] table:exam keep order:false, stats:pseudo +└─TableReader(Probe) 10000.00 root data:TableFullScan + └─TableFullScan 10000.00 cop[tikv] table:stu keep order:false, stats:pseudo select * from stu where stu.name not in (select 'guo' from exam where exam.stu_id = stu.id); id name diff --git a/cmd/explaintest/r/tpch.result b/cmd/explaintest/r/tpch.result index 53af59a5b39f6..a2fc266a653d7 100644 --- a/cmd/explaintest/r/tpch.result +++ b/cmd/explaintest/r/tpch.result @@ -972,17 +972,16 @@ l_partkey = p_partkey id estRows task access object operator info Projection 1.00 root div(Column#46, 7.0)->Column#47 └─StreamAgg 1.00 root funcs:sum(tpch.lineitem.l_extendedprice)->Column#46 - └─Selection 240004648.80 root eq(tpch.part.p_brand, "Brand#44"), eq(tpch.part.p_container, "WRAP PKG") - └─Projection 300005811.00 root tpch.lineitem.l_extendedprice, tpch.part.p_brand, tpch.part.p_container - └─HashJoin 300005811.00 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)], other cond:lt(tpch.lineitem.l_quantity, mul(0.2, Column#44)) - ├─HashJoin(Build) 9943040.00 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)] - │ ├─HashAgg(Build) 9943040.00 root group by:tpch.lineitem.l_partkey, funcs:avg(Column#50, Column#51)->Column#44, funcs:firstrow(tpch.lineitem.l_partkey)->tpch.lineitem.l_partkey - │ │ └─TableReader 9943040.00 root data:HashAgg - │ │ └─HashAgg 9943040.00 cop[tikv] group by:tpch.lineitem.l_partkey, funcs:count(tpch.lineitem.l_quantity)->Column#50, funcs:sum(tpch.lineitem.l_quantity)->Column#51 - │ │ └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false - │ └─TableReader(Probe) 10000000.00 root data:TableFullScan - │ └─TableFullScan 10000000.00 cop[tikv] table:part keep order:false - └─TableReader(Probe) 300005811.00 root data:TableFullScan + └─HashJoin 293773.83 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)], other cond:lt(tpch.lineitem.l_quantity, mul(0.2, Column#44)) + ├─HashJoin(Build) 293773.83 root inner join, equal:[eq(tpch.part.p_partkey, tpch.lineitem.l_partkey)] + │ ├─TableReader(Build) 9736.49 root data:Selection + │ │ └─Selection 9736.49 cop[tikv] eq(tpch.part.p_brand, "Brand#44"), eq(tpch.part.p_container, "WRAP PKG") + │ │ └─TableFullScan 10000000.00 cop[tikv] table:part keep order:false + │ └─TableReader(Probe) 300005811.00 root data:TableFullScan + │ └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false + └─HashAgg(Probe) 9943040.00 root group by:tpch.lineitem.l_partkey, funcs:avg(Column#50, Column#51)->Column#44, funcs:firstrow(tpch.lineitem.l_partkey)->tpch.lineitem.l_partkey + └─TableReader 9943040.00 root data:HashAgg + └─HashAgg 9943040.00 cop[tikv] group by:tpch.lineitem.l_partkey, funcs:count(tpch.lineitem.l_quantity)->Column#50, funcs:sum(tpch.lineitem.l_quantity)->Column#51 └─TableFullScan 300005811.00 cop[tikv] table:lineitem keep order:false /* Q18 Large Volume Customer Query diff --git a/expression/util.go b/expression/util.go index 2d215fd225e04..6e5a7c86aee46 100644 --- a/expression/util.go +++ b/expression/util.go @@ -415,6 +415,7 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression if v.InOperand { newExpr = SetExprColumnInOperand(newExpr) } + newExpr.SetCoercibility(v.Coercibility()) return true, false, newExpr case *ScalarFunction: substituted := false @@ -437,7 +438,7 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression // cowExprRef is a copy-on-write util, args array allocation happens only // when expr in args is changed refExprArr := cowExprRef{v.GetArgs(), nil} - coll, _ := v.CharsetAndCollation() + _, coll := v.CharsetAndCollation() var tmpArgForCollCheck []Expression if collate.NewCollationEnabled() { tmpArgForCollCheck = make([]Expression, len(v.GetArgs())) From 6884ed4436e58def57e4b4c496b999a1cc8b1696 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Mon, 30 Jan 2023 18:55:48 +0800 Subject: [PATCH 06/11] done Signed-off-by: wjhuang2016 --- expression/integration_test.go | 9 +++++++++ expression/util.go | 10 +++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/expression/integration_test.go b/expression/integration_test.go index a49df593d201c..5555de7e0aa62 100644 --- a/expression/integration_test.go +++ b/expression/integration_test.go @@ -7893,3 +7893,12 @@ func TestIssue39146(t *testing.T) { tk.MustExec("set @@tidb_enable_vectorized_expression = off;") tk.MustQuery(`select str_to_date(substr(dest,1,6),'%H%i%s') from sun;`).Check(testkit.Rows("20:23:10")) } + +func TestIssue40536(t *testing.T) { + store := testkit.CreateMockStore(t) + tk := testkit.NewTestKit(t, store) + tk.MustExec("use test") + tk.MustExec("CREATE TABLE `6bf9e76d-ab44-4031-8a07-418b10741580` (\n `e0b5f703-6cfe-49b4-bc21-16a6455e43a7` set('7','va','ung60','ow','1g','gxwz5','uhnh','k','5la1','q8d9c','1f') NOT NULL DEFAULT '7,1g,uhnh,5la1,q8d9c',\n `fbc3527f-9617-4b9d-a5dc-4be31c00d8a5` datetime DEFAULT '6449-09-28 14:39:04',\n PRIMARY KEY (`e0b5f703-6cfe-49b4-bc21-16a6455e43a7`) /*T![clustered_index] CLUSTERED */\n) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_bin;") + tk.MustExec("CREATE TABLE `8919f3f4-25be-4a1a-904a-bb5e863d8fc8` (\n `9804d5f2-cbc7-43b7-b241-ea2656dc941a` enum('s951','36d','ua65','49yru','6l2em','4ea','jf2d2','vprsc','3yl7n','hz','ov') DEFAULT '4ea',\n `323cdbcb-0c14-4362-90ab-ea42caaed6a5` year(4) NOT NULL DEFAULT '1983',\n `b9b70f39-1a02-4114-9d7d-fa6259c1b691` time DEFAULT '20:18:04',\n PRIMARY KEY (`323cdbcb-0c14-4362-90ab-ea42caaed6a5`) /*T![clustered_index] CLUSTERED */,\n KEY `a704d6bb-772b-44ea-8cb0-6f7491c1aaa6` (`323cdbcb-0c14-4362-90ab-ea42caaed6a5`,`9804d5f2-cbc7-43b7-b241-ea2656dc941a`)\n) ENGINE=InnoDB DEFAULT CHARSET=ascii COLLATE=ascii_bin;") + tk.MustExec("delete from `6bf9e76d-ab44-4031-8a07-418b10741580` where not( `6bf9e76d-ab44-4031-8a07-418b10741580`.`e0b5f703-6cfe-49b4-bc21-16a6455e43a7` in ( select `9804d5f2-cbc7-43b7-b241-ea2656dc941a` from `8919f3f4-25be-4a1a-904a-bb5e863d8fc8` where `6bf9e76d-ab44-4031-8a07-418b10741580`.`e0b5f703-6cfe-49b4-bc21-16a6455e43a7` in ( '1f' ) and `6bf9e76d-ab44-4031-8a07-418b10741580`.`e0b5f703-6cfe-49b4-bc21-16a6455e43a7` in ( '1g' ,'va' ,'uhnh' ) ) ) and not( IsNull( `6bf9e76d-ab44-4031-8a07-418b10741580`.`e0b5f703-6cfe-49b4-bc21-16a6455e43a7` ) );\n") +} diff --git a/expression/util.go b/expression/util.go index 6e5a7c86aee46..0b32df008bbf7 100644 --- a/expression/util.go +++ b/expression/util.go @@ -438,7 +438,11 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression // cowExprRef is a copy-on-write util, args array allocation happens only // when expr in args is changed refExprArr := cowExprRef{v.GetArgs(), nil} - _, coll := v.CharsetAndCollation() + oldCollEt, err := CheckAndDeriveCollationFromExprs(v.GetCtx(), v.FuncName.L, v.RetType.EvalType(), v.GetArgs()...) + if err != nil { + logutil.BgLogger().Error("should not happen", zap.Stack("stack")) + return false, false, v + } var tmpArgForCollCheck []Expression if collate.NewCollationEnabled() { tmpArgForCollCheck = make([]Expression, len(v.GetArgs())) @@ -459,12 +463,12 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression logutil.BgLogger().Error("should not happen", zap.Stack("stack")) return false, failed, v } - if coll == newCollEt.Collation { + if oldCollEt.Collation == newCollEt.Collation { if newFuncExpr.GetType().GetCollate() == arg.GetType().GetCollate() && newFuncExpr.Coercibility() == arg.Coercibility() { // It's safe to use the new expression, otherwise some cases in projection push-down will be wrong. changed = true } else { - changed = checkCollationStrictness(coll, newFuncExpr.GetType().GetCollate()) + changed = checkCollationStrictness(oldCollEt.Collation, newFuncExpr.GetType().GetCollate()) } } } From 28f15f30f2db4b2c4b8079a8992a76b9b26853eb Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Mon, 30 Jan 2023 18:59:25 +0800 Subject: [PATCH 07/11] fix Signed-off-by: wjhuang2016 --- cmd/explaintest/r/explain_cte.result | 88 +++++++++++++++------------- 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/cmd/explaintest/r/explain_cte.result b/cmd/explaintest/r/explain_cte.result index b58ff83141b9d..7d8b328fb4c50 100644 --- a/cmd/explaintest/r/explain_cte.result +++ b/cmd/explaintest/r/explain_cte.result @@ -391,48 +391,52 @@ order by t_s_secyear.customer_id ,t_s_secyear.customer_email_address limit 100; id estRows task access object operator info -TopN 100.00 root Column#180, Column#181, Column#182, Column#186, offset:0, count:100 -└─HashJoin 10240.00 root inner join, equal:[eq(Column#170, Column#200)], other cond:gt(case(gt(Column#198, 0), div(Column#208, Column#198), 0.0), case(gt(Column#178, 0), div(Column#188, Column#178), 0.0)) - ├─Selection(Build) 10240.00 root eq(Column#207, 2002), eq(Column#209, "w"), not(isnull(Column#200)) - │ └─CTEFullScan 12800.00 root CTE:year_total AS t_w_secyear data:CTE_0 - └─HashJoin(Probe) 10240.00 root inner join, equal:[eq(Column#170, Column#190)] - ├─Selection(Build) 10240.00 root eq(Column#197, 2001), eq(Column#199, "w"), gt(Column#198, 0), not(isnull(Column#190)) - │ └─CTEFullScan 12800.00 root CTE:year_total AS t_w_firstyear data:CTE_0 - └─HashJoin(Probe) 10240.00 root inner join, equal:[eq(Column#170, Column#180)] - ├─Selection(Build) 10240.00 root eq(Column#187, 2002), eq(Column#189, "s"), not(isnull(Column#180)) - │ └─CTEFullScan 12800.00 root CTE:year_total AS t_s_secyear data:CTE_0 - └─Selection(Probe) 10240.00 root eq(Column#177, 2001), eq(Column#179, "s"), gt(Column#178, 0), not(isnull(Column#170)) - └─CTEFullScan 12800.00 root CTE:year_total AS t_s_firstyear data:CTE_0 -CTE_0 12800.00 root Non-Recursive CTE -└─Union(Seed Part) 12800.00 root - ├─Selection 6400.00 root or(or(and(and(not(isnull(Column#160)), eq(Column#169, "s")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "s"), eq(Column#167, 2002)))), or(and(and(not(isnull(Column#160)), eq(Column#169, "w")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "w"), eq(Column#167, 2002))))) - │ └─Projection 8000.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#73, s->Column#169 - │ └─HashAgg 8000.00 root group by:Column#233, Column#234, Column#235, Column#236, Column#237, Column#238, Column#239, Column#240, funcs:sum(Column#224)->Column#73, funcs:firstrow(Column#225)->test.customer.c_customer_id, funcs:firstrow(Column#226)->test.customer.c_first_name, funcs:firstrow(Column#227)->test.customer.c_last_name, funcs:firstrow(Column#228)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#229)->test.customer.c_birth_country, funcs:firstrow(Column#230)->test.customer.c_login, funcs:firstrow(Column#231)->test.customer.c_email_address, funcs:firstrow(Column#232)->test.date_dim.d_year - │ └─Projection 15593.77 root minus(test.store_sales.ss_ext_list_price, test.store_sales.ss_ext_discount_amt)->Column#224, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year - │ └─Projection 15593.77 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.store_sales.ss_ext_discount_amt, test.store_sales.ss_ext_list_price, test.date_dim.d_year - │ └─HashJoin 15593.77 root inner join, equal:[eq(test.store_sales.ss_sold_date_sk, test.date_dim.d_date_sk)] - │ ├─TableReader(Build) 10000.00 root data:TableFullScan - │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo - │ └─HashJoin(Probe) 12475.01 root inner join, equal:[eq(test.store_sales.ss_customer_sk, test.customer.c_customer_sk)] - │ ├─TableReader(Build) 9980.01 root data:Selection - │ │ └─Selection 9980.01 cop[tikv] not(isnull(test.store_sales.ss_customer_sk)), not(isnull(test.store_sales.ss_sold_date_sk)) - │ │ └─TableFullScan 10000.00 cop[tikv] table:store_sales keep order:false, stats:pseudo - │ └─TableReader(Probe) 10000.00 root data:TableFullScan - │ └─TableFullScan 10000.00 cop[tikv] table:customer keep order:false, stats:pseudo - └─Selection 6400.00 root or(or(and(and(not(isnull(Column#160)), eq(Column#169, "s")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "s"), eq(Column#167, 2002)))), or(and(and(not(isnull(Column#160)), eq(Column#169, "w")), and(eq(Column#167, 2001), gt(Column#168, 0))), and(not(isnull(Column#160)), and(eq(Column#169, "w"), eq(Column#167, 2002))))) - └─Projection 8000.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#158, w->Column#169 - └─HashAgg 8000.00 root group by:Column#250, Column#251, Column#252, Column#253, Column#254, Column#255, Column#256, Column#257, funcs:sum(Column#241)->Column#158, funcs:firstrow(Column#242)->test.customer.c_customer_id, funcs:firstrow(Column#243)->test.customer.c_first_name, funcs:firstrow(Column#244)->test.customer.c_last_name, funcs:firstrow(Column#245)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#246)->test.customer.c_birth_country, funcs:firstrow(Column#247)->test.customer.c_login, funcs:firstrow(Column#248)->test.customer.c_email_address, funcs:firstrow(Column#249)->test.date_dim.d_year - └─Projection 15593.77 root minus(test.web_sales.ws_ext_list_price, test.web_sales.ws_ext_discount_amt)->Column#241, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year - └─Projection 15593.77 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.web_sales.ws_ext_discount_amt, test.web_sales.ws_ext_list_price, test.date_dim.d_year - └─HashJoin 15593.77 root inner join, equal:[eq(test.web_sales.ws_sold_date_sk, test.date_dim.d_date_sk)] - ├─TableReader(Build) 10000.00 root data:TableFullScan - │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo - └─HashJoin(Probe) 12475.01 root inner join, equal:[eq(test.web_sales.ws_bill_customer_sk, test.customer.c_customer_sk)] - ├─TableReader(Build) 9980.01 root data:Selection - │ └─Selection 9980.01 cop[tikv] not(isnull(test.web_sales.ws_bill_customer_sk)), not(isnull(test.web_sales.ws_sold_date_sk)) - │ └─TableFullScan 10000.00 cop[tikv] table:web_sales keep order:false, stats:pseudo - └─TableReader(Probe) 10000.00 root data:TableFullScan - └─TableFullScan 10000.00 cop[tikv] table:customer keep order:false, stats:pseudo +TopN 40.00 root Column#180, Column#181, Column#182, Column#186, offset:0, count:100 +└─HashJoin 40.00 root inner join, equal:[eq(Column#170, Column#200)], other cond:gt(case(gt(Column#198, 0), div(Column#208, Column#198), 0.0), case(gt(Column#178, 0), div(Column#188, Column#178), 0.0)) + ├─Selection(Build) 40.00 root eq(Column#207, 2002), eq(Column#209, "w"), not(isnull(Column#200)) + │ └─CTEFullScan 50.00 root CTE:year_total AS t_w_secyear data:CTE_0 + └─HashJoin(Probe) 40.00 root inner join, equal:[eq(Column#170, Column#190)] + ├─Selection(Build) 40.00 root eq(Column#197, 2001), eq(Column#199, "w"), gt(Column#198, 0), not(isnull(Column#190)) + │ └─CTEFullScan 50.00 root CTE:year_total AS t_w_firstyear data:CTE_0 + └─HashJoin(Probe) 40.00 root inner join, equal:[eq(Column#170, Column#180)] + ├─Selection(Build) 40.00 root eq(Column#187, 2002), eq(Column#189, "s"), not(isnull(Column#180)) + │ └─CTEFullScan 50.00 root CTE:year_total AS t_s_secyear data:CTE_0 + └─Selection(Probe) 40.00 root eq(Column#177, 2001), eq(Column#179, "s"), gt(Column#178, 0), not(isnull(Column#170)) + └─CTEFullScan 50.00 root CTE:year_total AS t_s_firstyear data:CTE_0 +CTE_0 50.00 root Non-Recursive CTE +└─Union(Seed Part) 50.00 root + ├─Projection 25.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#73, s->Column#169 + │ └─Selection 25.00 root or(or(and(1, and(eq(test.date_dim.d_year, 2001), gt(Column#73, 0))), and(1, eq(test.date_dim.d_year, 2002))), 0) + │ └─HashAgg 31.25 root group by:Column#233, Column#234, Column#235, Column#236, Column#237, Column#238, Column#239, Column#240, funcs:sum(Column#224)->Column#73, funcs:firstrow(Column#225)->test.customer.c_customer_id, funcs:firstrow(Column#226)->test.customer.c_first_name, funcs:firstrow(Column#227)->test.customer.c_last_name, funcs:firstrow(Column#228)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#229)->test.customer.c_birth_country, funcs:firstrow(Column#230)->test.customer.c_login, funcs:firstrow(Column#231)->test.customer.c_email_address, funcs:firstrow(Column#232)->test.date_dim.d_year + │ └─Projection 31.25 root minus(test.store_sales.ss_ext_list_price, test.store_sales.ss_ext_discount_amt)->Column#224, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year + │ └─Projection 31.25 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.store_sales.ss_ext_discount_amt, test.store_sales.ss_ext_list_price, test.date_dim.d_year + │ └─IndexJoin 31.25 root inner join, inner:IndexLookUp, outer key:test.store_sales.ss_customer_sk, inner key:test.customer.c_customer_sk, equal cond:eq(test.store_sales.ss_customer_sk, test.customer.c_customer_sk) + │ ├─HashJoin(Build) 25.00 root inner join, equal:[eq(test.date_dim.d_date_sk, test.store_sales.ss_sold_date_sk)] + │ │ ├─TableReader(Build) 20.00 root data:Selection + │ │ │ └─Selection 20.00 cop[tikv] or(and(1, eq(test.date_dim.d_year, 2001)), or(and(1, eq(test.date_dim.d_year, 2002)), 0)) + │ │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo + │ │ └─TableReader(Probe) 9980.01 root data:Selection + │ │ └─Selection 9980.01 cop[tikv] not(isnull(test.store_sales.ss_customer_sk)), not(isnull(test.store_sales.ss_sold_date_sk)) + │ │ └─TableFullScan 10000.00 cop[tikv] table:store_sales keep order:false, stats:pseudo + │ └─IndexLookUp(Probe) 25.00 root + │ ├─IndexRangeScan(Build) 25.00 cop[tikv] table:customer, index:PRIMARY(c_customer_sk) range: decided by [eq(test.customer.c_customer_sk, test.store_sales.ss_customer_sk)], keep order:false, stats:pseudo + │ └─TableRowIDScan(Probe) 25.00 cop[tikv] table:customer keep order:false, stats:pseudo + └─Projection 25.00 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, Column#158, w->Column#169 + └─Selection 25.00 root or(0, or(and(1, and(eq(test.date_dim.d_year, 2001), gt(Column#158, 0))), and(1, eq(test.date_dim.d_year, 2002)))) + └─HashAgg 31.25 root group by:Column#250, Column#251, Column#252, Column#253, Column#254, Column#255, Column#256, Column#257, funcs:sum(Column#241)->Column#158, funcs:firstrow(Column#242)->test.customer.c_customer_id, funcs:firstrow(Column#243)->test.customer.c_first_name, funcs:firstrow(Column#244)->test.customer.c_last_name, funcs:firstrow(Column#245)->test.customer.c_preferred_cust_flag, funcs:firstrow(Column#246)->test.customer.c_birth_country, funcs:firstrow(Column#247)->test.customer.c_login, funcs:firstrow(Column#248)->test.customer.c_email_address, funcs:firstrow(Column#249)->test.date_dim.d_year + └─Projection 31.25 root minus(test.web_sales.ws_ext_list_price, test.web_sales.ws_ext_discount_amt)->Column#241, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year, test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.date_dim.d_year + └─Projection 31.25 root test.customer.c_customer_id, test.customer.c_first_name, test.customer.c_last_name, test.customer.c_preferred_cust_flag, test.customer.c_birth_country, test.customer.c_login, test.customer.c_email_address, test.web_sales.ws_ext_discount_amt, test.web_sales.ws_ext_list_price, test.date_dim.d_year + └─IndexJoin 31.25 root inner join, inner:IndexLookUp, outer key:test.web_sales.ws_bill_customer_sk, inner key:test.customer.c_customer_sk, equal cond:eq(test.web_sales.ws_bill_customer_sk, test.customer.c_customer_sk) + ├─HashJoin(Build) 25.00 root inner join, equal:[eq(test.date_dim.d_date_sk, test.web_sales.ws_sold_date_sk)] + │ ├─TableReader(Build) 20.00 root data:Selection + │ │ └─Selection 20.00 cop[tikv] or(0, or(and(1, eq(test.date_dim.d_year, 2001)), and(1, eq(test.date_dim.d_year, 2002)))) + │ │ └─TableFullScan 10000.00 cop[tikv] table:date_dim keep order:false, stats:pseudo + │ └─TableReader(Probe) 9980.01 root data:Selection + │ └─Selection 9980.01 cop[tikv] not(isnull(test.web_sales.ws_bill_customer_sk)), not(isnull(test.web_sales.ws_sold_date_sk)) + │ └─TableFullScan 10000.00 cop[tikv] table:web_sales keep order:false, stats:pseudo + └─IndexLookUp(Probe) 25.00 root + ├─IndexRangeScan(Build) 25.00 cop[tikv] table:customer, index:PRIMARY(c_customer_sk) range: decided by [eq(test.customer.c_customer_sk, test.web_sales.ws_bill_customer_sk)], keep order:false, stats:pseudo + └─TableRowIDScan(Probe) 25.00 cop[tikv] table:customer keep order:false, stats:pseudo drop table if exists t1; create table t1 (id int, bench_type varchar(10),version varchar(10),tps int(20)); insert into t1 (id,bench_type,version,tps) values (1,'sysbench','5.4.0',1111111); From c81372c1bce73e8151ea642a69d1fc3bc1001900 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Mon, 30 Jan 2023 19:42:52 +0800 Subject: [PATCH 08/11] fix test Signed-off-by: wjhuang2016 --- expression/util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/expression/util.go b/expression/util.go index 0b32df008bbf7..29045cf03eb07 100644 --- a/expression/util.go +++ b/expression/util.go @@ -415,7 +415,6 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression if v.InOperand { newExpr = SetExprColumnInOperand(newExpr) } - newExpr.SetCoercibility(v.Coercibility()) return true, false, newExpr case *ScalarFunction: substituted := false From 54824439d35e593b623602a1719a582cc7f2bb20 Mon Sep 17 00:00:00 2001 From: wjHuang Date: Tue, 31 Jan 2023 14:35:21 +0800 Subject: [PATCH 09/11] Update expression/util.go Co-authored-by: Yiding Cui --- expression/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression/util.go b/expression/util.go index 29045cf03eb07..4d91f073f5dab 100644 --- a/expression/util.go +++ b/expression/util.go @@ -459,7 +459,7 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression tmpArgForCollCheck[idx] = newFuncExpr newCollEt, err := CheckAndDeriveCollationFromExprs(v.GetCtx(), v.FuncName.L, v.RetType.EvalType(), tmpArgForCollCheck...) if err != nil { - logutil.BgLogger().Error("should not happen", zap.Stack("stack")) + logutil.BgLogger().Error("Unexpected error happened during ColumnSubstitution", zap.Stack("stack")) return false, failed, v } if oldCollEt.Collation == newCollEt.Collation { From 674b0e88544c8e34fe53d4fcfe01ac0da5078c79 Mon Sep 17 00:00:00 2001 From: wjHuang Date: Tue, 31 Jan 2023 14:35:28 +0800 Subject: [PATCH 10/11] Update planner/core/exhaust_physical_plans.go Co-authored-by: Yiding Cui --- planner/core/exhaust_physical_plans.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planner/core/exhaust_physical_plans.go b/planner/core/exhaust_physical_plans.go index 093dcf1ea8a86..61575810da1fb 100644 --- a/planner/core/exhaust_physical_plans.go +++ b/planner/core/exhaust_physical_plans.go @@ -1327,7 +1327,7 @@ func (ijHelper *indexJoinBuildHelper) resetContextForIndex(innerKeys []*expressi if collate.NewCollationEnabled() && types.IsString(idxCol.RetType.GetType()) && types.IsString(outerKeys[ijHelper.curIdxOff2KeyOff[i]].RetType.GetType()) { et, err := expression.CheckAndDeriveCollationFromExprs(ijHelper.innerPlan.ctx, "equal", types.ETInt, idxCol, outerKeys[ijHelper.curIdxOff2KeyOff[i]]) if err != nil { - logutil.BgLogger().Error("should not happen", zap.Stack("stack")) + logutil.BgLogger().Error("Unexpected error happened during constructing index join", zap.Stack("stack")) } if !collate.CompatibleCollate(idxCol.GetType().GetCollate(), et.Collation) { ijHelper.curIdxOff2KeyOff[i] = -1 From 369c980de9378acf5165498256eaa9cda0af45e9 Mon Sep 17 00:00:00 2001 From: wjhuang2016 Date: Tue, 31 Jan 2023 14:36:13 +0800 Subject: [PATCH 11/11] refine Signed-off-by: wjhuang2016 --- expression/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression/util.go b/expression/util.go index 4d91f073f5dab..929dce489791d 100644 --- a/expression/util.go +++ b/expression/util.go @@ -439,7 +439,7 @@ func ColumnSubstituteImpl(expr Expression, schema *Schema, newExprs []Expression refExprArr := cowExprRef{v.GetArgs(), nil} oldCollEt, err := CheckAndDeriveCollationFromExprs(v.GetCtx(), v.FuncName.L, v.RetType.EvalType(), v.GetArgs()...) if err != nil { - logutil.BgLogger().Error("should not happen", zap.Stack("stack")) + logutil.BgLogger().Error("Unexpected error happened during ColumnSubstitution", zap.Stack("stack")) return false, false, v } var tmpArgForCollCheck []Expression