Commit Graph

52 Commits

Author SHA1 Message Date
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
b3bbe96020 util: add more log for expensive and global memory control (#39397) 2022-11-28 21:49:59 +08:00
f8a6bde954 *: add a reference count for StmtCtx (#39368)
close pingcap/tidb#27725
2022-11-28 17:02:01 +08:00
86d3b46555 util: change record analyze to explain in oom alarm (#39099)
close pingcap/tidb#39036, ref pingcap/tidb#39094, ref pingcap/tidb#39098
2022-11-13 10:23:53 +08:00
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
a151383acf util: fix panic cause by nil plan in memeory usage alarm (#38727) 2022-10-31 17:57:59 +08:00
4bdd20b540 *: support 2-phases flashback cluster (#38164)
ref pingcap/tidb#37961, close pingcap/tidb#38554
2022-10-26 17:01:58 +08:00
eca7ecdeae util: change some deprecate configs to system variables for OOM alarm (#38428)
close pingcap/tidb#38444
2022-10-14 14:17:51 +08:00
d10e195e20 util: record more information before OOM (#37987)
ref pingcap/tidb#37409
2022-10-12 10:45:50 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
7286061bc9 *: enable fieldalignment (#35802) 2022-08-24 15:56:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
43f83c0799 *: kill auto analyze when it runs too long (#34950)
close pingcap/tidb#34952
2022-05-27 13:36:47 +08:00
a5033d14d0 *: use global auto analyze ID in order to kill auto analyze globally (#34075)
close pingcap/tidb#34076
2022-04-20 17:58:03 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
62e20780e8 *: kill auto analyze (#31724)
close pingcap/tidb#32808
2022-03-07 13:49:48 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
f8b0d8f7ed infoschema: show query disk usage in information_schema.processlist (#22417) 2021-02-02 19:12:27 +08:00
1e17c6925a util: redact log for expensive sqls (#20852) 2020-11-09 10:50:07 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
17b7b5e815 *: add executor runtime info for explain for connection statement (#19183) 2020-09-27 20:44:11 +08:00
4f9b3508dd infoschema: add digest for process list (#19622)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-07 13:23:39 +08:00
1b56a070eb util: fix typo s/goods/good and update some function (#17612) 2020-08-25 22:34:32 +08:00
63c0ef8e5d planner: save explain result of plan in session for `explai ... (#17687) 2020-06-19 14:07:53 +08:00
d9770c1421 util:State column in show processlist provide readable information. (#15455) 2020-03-24 16:54:32 +08:00
5c68d537f4 *: support reload tls used by mysql protocol in place (#14749) 2020-03-03 10:01:39 +08:00
46cb64a257 server: reset current start ts in processlist when transaction committed (#12070) 2019-09-10 20:27:44 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
a08918ab74 fixup (#11688) 2019-08-12 11:53:03 +08:00
cf11ef3e31 executor: refactor info from interface to string to avoid runT… (#11510) 2019-07-30 09:32:27 +08:00
05b4e2299d infoschema: add current txn start time in processlist table (#11491) 2019-07-29 16:11:09 +08:00
1ddb317203 *: fix 'db' and 'Info' column of 'show processlist' (#10985) 2019-07-01 14:49:22 +08:00
a57b6e60a6 *: Add support for MAX_EXECUTION_TIME. (#10541) 2019-06-25 01:18:11 +08:00
75b9470a74 *: add a column describing memory usage for table information_schema.processlist (#10837)
*: add a column describing memory usage for table information_schema.processlist

Closes #10199
2019-06-20 11:48:49 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
278c3e81b4 *: support EXPLAIN FOR CONNECTION (#10030) 2019-04-09 10:45:22 +08:00
e53b56baaa remove an unnecessary argument (#9857) 2019-03-22 14:31:48 +08:00
3d9bd0ed9d infoschema, util: fix idle sessions in processlist (#9854)
additionally fixed a bug where i_s column heading is not in caps.
2019-03-22 09:36:26 +08:00
1da14b93a9 infoschema: fix panic in 'SELECT * FROM information_schema.processlist' (#9842) 2019-03-21 19:23:21 +08:00
09beefbe04 session,executor: performance improvement in SetProcessInfo (#9681) 2019-03-13 17:24:39 +08:00
3128e9b98a *: Hide "Mem" column from SHOW PROCESSSLIST (#8543) 2018-12-05 11:42:58 +08:00
7682a74d15 *: kill one's own connection doesn't require SUPER privilege (#6954)
`kill tidb connID`, if the user is the owner of that connection, there
is no need to check the SUPER privilege.
SessionManager interface is slightly modified.
2018-07-05 20:17:17 +08:00