Commit Graph

455 Commits

Author SHA1 Message Date
f717e39a8e executor: split aggregate.go into several files (#46489)
close pingcap/tidb#46487
2023-08-30 08:50:10 +00:00
6dd4a3ae76 *: add session alias field in slowlog, general log and extension framework (#46273)
close pingcap/tidb#46272
2023-08-23 10:59:04 +00:00
0a5e0b3b2b kv request: configurable KV Timeout (#45601)
close pingcap/tidb#45380
2023-08-11 12:43:57 +00:00
c46da07be7 *: global runaway watch by system table and impl exector for query watch (#45465)
ref pingcap/tidb#43691
2023-08-01 06:14:37 +00:00
d5b006d35c executor: enable revive for executor/a* (#45401)
ref pingcap/tidb#40786
2023-07-18 05:47:16 +00:00
d639cb81af server: return empty org_name for resultField (#45146)
close pingcap/tidb#45145
2023-07-05 03:53:14 +00:00
c384c0a8da *: Move log category into a real field (#45058)
close pingcap/tidb#45057
2023-07-04 07:33:44 +00:00
30cafb3c3a executor: refactor executor and baseExecutor (#45065)
ref pingcap/tidb#44940
2023-07-03 07:56:12 +00:00
4fdae0b332 executor, distsql: enhance mpp cooridnator to handle execption and execution summaries better (#44697)
ref pingcap/tidb#44032
2023-06-30 06:54:41 +00:00
d6143a2053 *: add MVCC version ratio to slow log metrics (#44897)
close pingcap/tidb#44896
2023-06-23 01:59:42 +00:00
adfb34b94e executor: impl runaway watch check (#44474)
ref pingcap/tidb#43691
2023-06-16 10:05:09 +00:00
7a29bec6d8 domain: Introduce runaway manager (#44339)
ref pingcap/tidb#43691
2023-06-16 03:45:10 +00:00
beccd05f12 import into: redact sensitive info & check active job before create (#44674)
ref pingcap/tidb#42930
2023-06-15 11:21:09 +00:00
12c258ebca planner: add more test cases for quick binding (#44670)
ref pingcap/tidb#39199
2023-06-14 11:21:08 +00:00
e9c3b58a7e domain, executor: add the missing debug trace for manual plan replayer (#44600)
close pingcap/tidb#44599
2023-06-14 05:47:07 +00:00
0f7cae3afd planner: support limit_to_cop for quick binding (#44611)
ref pingcap/tidb#39199
2023-06-13 14:27:07 +00:00
6fbf29981e executor: avoid using fmt.Sprint to truncate the string (#44540)
close pingcap/tidb#44542
2023-06-09 09:38:47 +00:00
437157e720 *: fix cte miss cleaning spilled-disk file (#44501)
close pingcap/tidb#44477
2023-06-08 11:59:07 +00:00
fcd20a3189 linter: enable qf1004 (#44447)
ref pingcap/tidb#40786
2023-06-06 11:28:00 +00:00
4714df8a83 executor: fix issue of can not get the TxnStart if the SQL has a non-related subquery (#44232)
close pingcap/tidb#40851
2023-05-29 09:10:41 +00:00
5f92a50a66 *: fix incorrect handling of EXECUTE stmt in plan replayer capture (#43662)
close pingcap/tidb#43620
2023-05-10 13:46:07 +00:00
1bbc6924fd *: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
2023-04-20 07:13:19 +08:00
bcd2233901 *: format the error message when query/instance exceeds memory quota (#43182)
close pingcap/tidb#42044
2023-04-19 23:13:32 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
d6a5054b72 *: global memory controller should not kill session whose mem less than limit_sess_min_size (#42803) 2023-04-07 13:02:58 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
e6cf1ab854 executor: lock untouched unique keys on update (#42713)
close pingcap/tidb#36438
2023-03-31 21:46:55 +08:00
0344a3b70b *: add plan hint to slow log files when redaction is enabled (#42170)
close pingcap/tidb#42169
2023-03-25 14:54:42 +08:00
0fe2637137 server: fix unstable test-case TestInternalSessionTxnStartTS (#42392)
close pingcap/tidb#42269
2023-03-20 20:40:43 +08:00
cc54d1bba1 txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters (#42108)
ref pingcap/tidb#42107, close pingcap/tidb#42147
2023-03-14 15:54:39 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
zzm
5f0bdc14c5 slowlog: slowlog with keyspace (#41886)
close pingcap/tidb#41883
2023-03-07 16:49:12 +08:00
zzm
f43b1bb291 stmtsummary: stmtsummary with keyspace (#41882)
close pingcap/tidb#41881
2023-03-06 17:49:11 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
54a23ef986 adapter, txn: Move aggressive locking controlling logic to handlePessimisticXXX functions to avoid some potential misuses (#41726)
close pingcap/tidb#41724
2023-02-28 16:45:08 +08:00
8805b4c58c executor: fix race when collecting telemetry info of batch copr (#41413)
close pingcap/tidb#41412
2023-02-15 13:06:00 +08:00
696d7d06e9 *: REORGANIZE PARTITION (#38535) (#41096)
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
5e8cf8f6e1 metrics: Add metrics and telemetry for aggressive locking (#41038)
close pingcap/tidb#41037
2023-02-09 21:26:01 +08:00
1167fafdd6 stmtsummary: add persistence implementation (#40814)
ref pingcap/tidb#40812
2023-02-09 18:05:59 +08:00
bdef910bec store/copr: enable store batch by default & add extra copr concurrency and batch nums in stats (#40711)
ref pingcap/tidb#39361, close pingcap/tidb#40399
2023-02-09 03:07:59 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
fe4a81df82 sessionctx: add validation for tidb_enable_plan_replayer_continues_capture (#40787) 2023-01-29 17:15:54 +08:00
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
7beec04214 sysvar: add switch for plan replayer capture using historical stats (#40492)
* add switch

* fix

* fix

* fix

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 19:44:33 +08:00
669ba5cbae *: add warnings to slow log and slow query table (#39884)
ref pingcap/tidb#39893
2023-01-05 23:34:21 +08:00
25a247935b session: make plan replayer capture support prepared stmt (#40167)
close pingcap/tidb#40161
2023-01-03 11:32:19 +08:00
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
afbef28e56 executor: TiFlash supports stale read (#40048)
close pingcap/tidb#40047
2022-12-27 19:06:16 +08:00
b7e21a0dc4 *: fix slow query nil pointer panic when get session for TTL (#39865)
close pingcap/tidb#39864
2022-12-13 15:16:52 +08:00
63ce7931b0 *: add foreign key check/cascade runtime stats information in explain analyze result (#39203)
close pingcap/tidb#39202
2022-11-30 20:00:01 +08:00