Commit Graph

108 Commits

Author SHA1 Message Date
fd73942112 executor, planner, util: optimize query statements summary table by conditional pushdown (#27563) 2021-09-29 00:30:46 +08:00
8f61a69e99 ddl: add index to support rule override (#27660) 2021-09-26 14:20:46 +08:00
5de2ce7441 ddl: change attributes to key-value form (#27945) 2021-09-11 11:06:39 +08:00
48e12ae07b util: change super to process privilege when reading statements_summary (#27431) 2021-08-23 19:04:03 +08:00
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
6ac43f4f2a executor: add sequence info for infoschema (#27094) 2021-08-12 14:55:16 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
7f5c0fa2e8 ddl: support showing label rule through information schema table (#26637) 2021-08-09 12:39:14 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
c3f92c28bb infoschema, executor: Add SQL Text to INFORMATION_SCHEMA.(CLUSTER_)DEADLOCKS table (#26711) 2021-08-04 18:19:07 +08:00
de3bc62d54 infoschema, executor: Add SQL text column to DATA_LOCK_WAITS table (#26632) 2021-08-03 14:55:06 +08:00
89e5ce0686 infoschema, executor: Support getting current executing SQL text in TIDB_TRX table (#26357) 2021-07-28 16:08:17 +08:00
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18:14 +08:00
9833e6487a exec: access the table_storage_stats need privilege (#26298) 2021-07-19 18:59:34 +08:00
32bf0c4950 executor: fix user without process privilege can access cluster_statements_summary_evicted table (#26208) 2021-07-19 18:09:34 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
946b3841e7 executor, privilege: require CONFIG or Process privilege for is.cluster_* (#26220) 2021-07-16 09:19:33 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
xhe
3bbb2c0fec ddl: refactor bundle[2/2] [6/6] (#22415) 2021-07-08 11:57:29 +08:00
a8d23fda41 *: optimize query statements summary table by avoid decode plan for each row (#25892) 2021-07-06 12:51:28 +08:00
b687413b66 executor: query memory table TIKV_REGION_PEERS and TIKV_REGION_STATUS get error (#25854) 2021-07-02 11:13:26 +08:00
46a0385576 executor: fix character_octet_length from information_schema.columns (#25476) 2021-06-25 15:55:24 +08:00
03847a8ded executor, infoschema: Add cluster_statements_summary_evicted table to TiDB (#25418) 2021-06-17 21:02:38 +08:00
4d9c667aab infoschema, executor, txn: encode key field in DATA_LOCK_WAITS table (#25060) 2021-06-03 18:14:26 +08:00
0367c54698 inforschema, executor, util/kvcache, util/statement_summary : Add STATEMENTS_SUMMARY_EVICTED into information_schema (#24513) 2021-05-28 15:19:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
96ab4a3f0a store/helper, infoschema: fix the bug that cannot find down-peer (#24881) 2021-05-27 13:25:35 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
c5ca2ea7f9 *: add security enhanced mode part 2 (#24279) 2021-04-30 00:31:57 +08:00
xhe
feea6d6424 ddl: refactor constraints [3/6] (#24006) 2021-04-22 12:53:53 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00
d460a9c49a *: add column End_time in show analyze status and add related log (#23674) 2021-04-14 18:31:51 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
xhe
4e95e7612e *: do not report error if objectID is invalid (#22951) 2021-03-17 14:46:55 +08:00
9c48b24cb1 *: add clustered index info in show index from stmt (#23329) 2021-03-16 20:16:55 +08:00
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
3d4def7eef planner, statistics: allow (auto) analyze single partition in dynamic-only mode (#22625) 2021-03-01 17:23:31 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00