Commit Graph

33 Commits

Author SHA1 Message Date
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
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
87d39986fe *: show processlist (#2744) 2017-03-01 14:39:13 +08:00