Commit Graph

424 Commits

Author SHA1 Message Date
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
8e4748a211 *: make auto-analyze concurrency configurable (#37078)
close pingcap/tidb#37183
2022-11-30 18:22:01 +08:00
e98e9594bc *: add telemetry support for IndexMerge (#39469)
close pingcap/tidb#39475
2022-11-30 12:23:59 +08:00
1b15732d11 telemetry: add telemetry for alter table compact partition (#39452)
ref pingcap/tidb#36175
2022-11-29 19:07:59 +08:00
5aa66cb5c2 domain: support dump plan replayer capture task during query (#39125)
ref pingcap/tidb#38779
2022-11-16 12:41:54 +08:00
6ab17074b8 telemetry: telemetry supports count flashback cluster (#38901)
close pingcap/tidb#38896
2022-11-04 17:46:03 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
e5d3195c89 executor: generate AST instead of SQL for foreign key cascade (#38796)
close pingcap/tidb#38795
2022-11-04 11:02:01 +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
38e9aa02ef *: support foreign key on update cascade and set null when execute update statement (#38652)
close pingcap/tidb#38651
2022-11-01 13:07:59 +08:00
bba321c91e *: skip log timeout on maxExecutiontime as slow query for DDL statement. (#38671)
close pingcap/tidb#38580
2022-10-27 19:17:57 +08:00
2cdfdf28c0 executor: fix issue of foreign key cascade delete very slow (#38633) 2022-10-25 17:45:50 +08:00
43468983d9 *: add foreign key cascade delete when execute delete statement (#38377)
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
e3e5471300 executor: fix data race in the ScanDetail.ProcessedKeys (#38371)
close pingcap/tidb#38372
2022-10-11 06:23:49 +08:00
fd468fffac executor: fix foreign key check bug when meeting pessimistic lock error (#38338)
close pingcap/tidb#38264
2022-10-09 18:01:48 +08:00
858b8a38ea *: add foreign key constraint check when execute insert statement (#37466)
close pingcap/tidb#37465
2022-09-24 00:41:43 +08:00
59b4a8e910 table partition: exchange partition telemetry (#37875)
close pingcap/tidb#37874
2022-09-22 01:25:02 +08:00
b0e073478f execution: commit the transaction before responding explain analyze results to the client (#38044)
close pingcap/tidb#37373
2022-09-21 20:45:03 +08:00
06a1659521 *: Telemetry for multi-column RANGE COLUMNS partitioning (#37828)
ref pingcap/tidb#36636
2022-09-17 00:16:59 +08:00
f78c148e02 txn: forbid savepoint when lazy uniqueness check is enabled (#37817)
ref pingcap/tidb#36579
2022-09-15 10:28:58 +08:00
0f4c3e6252 executor: fix setting system variables to original values failed after auto analyze (#37551)
close pingcap/tidb#37410
2022-09-14 18:30:59 +08:00
f0d8d47df5 telemetry: interval partitioning (#36486)
close pingcap/tidb#36525
2022-09-14 18:12:58 +08:00
5a8e1b2665 executor: exit all goroutines immediately when exceeded mem-quota (#37405)
close pingcap/tidb#37379
2022-09-14 14:12:58 +08:00
62480cf19b *: add telemetry support for account lock/unlock (#37344)
close pingcap/tidb#37324
2022-09-07 18:40:56 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
d5ce00e8b0 executor: generate fields in chunkRowRecordSet lazily (#37156)
ref pingcap/tidb#36049
2022-08-17 12:02:51 +08:00
b705a13c7b planner: unify the Compile and CompileExecStmt functions (#37065)
ref pingcap/tidb#36598
2022-08-16 18:36:51 +08:00
e38c45cd8c *: save some WithLabelValues (#37106)
ref pingcap/tidb#36049
2022-08-16 14:48:51 +08:00