Commit Graph

5587 Commits

Author SHA1 Message Date
382b388df6 planner: add new explain format for plan cache (#41965)
ref pingcap/tidb#36598
2023-03-08 00:03:12 +08:00
18f1ecdfcd planner: add monitor for non-prepared plan cache (#41752)
ref pingcap/tidb#36598
2023-03-07 19:41:12 +08:00
zzm
5f0bdc14c5 slowlog: slowlog with keyspace (#41886)
close pingcap/tidb#41883
2023-03-07 16:49:12 +08:00
f7d23ebdb0 lightning: gcs reader seekend should has an positive offset (#41900)
close pingcap/tidb#41899
2023-03-07 13:27:11 +08:00
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
a498911e7d metrics: fix lost tidb_executor_statement_total metric (#41821)
close pingcap/tidb#41820
2023-03-06 19:11:11 +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
1d293d8159 executor: implement part of restrictive LOAD DATA (#41793)
close pingcap/tidb#41784
2023-03-03 22:23:10 +08:00
04fefc97e6 load data: add with options (#41890)
ref pingcap/tidb#40499
2023-03-03 21:21:23 +08:00
324c3c299f planner: resolve the conflict for join hint (#41637)
close pingcap/tidb#36600
2023-03-03 17:03:10 +08:00
e1e1c05150 key: remove unnecesssary convert (#41887) 2023-03-03 11:47:10 +08:00
a4aa274c51 planner: fix the issue that cached IndexMerge plans can return wrong results in some cases (#41870)
close pingcap/tidb#41828
2023-03-02 18:53:10 +08:00
8a96edc399 util, executor: fix analyze stmts be killed unexpectedly (#41826)
close pingcap/tidb#41825
2023-03-02 11:33:09 +08:00
3e5518d73a asyncloaddata: add table and helper functions (#41765)
ref pingcap/tidb#40499
2023-03-01 22:13:09 +08:00
e45c97021f planner: add more test cases for non-prep plan cache (#41822)
ref pingcap/tidb#36598
2023-03-01 16:11:09 +08:00
1da60a3ce4 executor: check error message and refine LOAD DATA logic (#41640)
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
f0bd0da695 planner: remove the extra safe-guard Selection for plan-cache plan (#41723) 2023-02-28 17:25:12 +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
xhe
6c1674cb1e executor: fix revoke USAGE (#41774)
close pingcap/tidb#41773
2023-02-28 15:25:18 +08:00
1d2040a2ab DDL: Partition table supports key partition type (#41365)
close pingcap/tidb#41364
2023-02-24 22:27:07 +08:00
11ae573c2e planner: check rebuilt ranges more strictly for plan cache (#41713)
ref pingcap/tidb#36598
2023-02-24 17:09:07 +08:00
4716227e7d server: support server handler for extract handler (#41682)
close pingcap/tidb#41130
2023-02-24 14:15:07 +08:00
8d91a14250 session: let handleAssertionFailure work for partitioned table (#40630)
close pingcap/tidb#40629
2023-02-24 11:29:07 +08:00
31e1aab5f0 *: Standardize use of conn_id=, connID= and conn= in messages (#41700)
close pingcap/tidb#41699
2023-02-23 23:13:07 +08:00
e58e602072 metric: fix panic when status.record-db-label enable (#41692)
close pingcap/tidb#41688
2023-02-23 22:05:07 +08:00
96580f0f46 planner: add more test cases for non-prep cache (#41669)
ref pingcap/tidb#36598
2023-02-23 16:23:08 +08:00
0801e4210f executor: fix IndexMerge hang when got oom cancel (#41633)
close pingcap/tidb#41545
2023-02-22 17:45:07 +08:00
796d5b9bfa store/copr: set concurrency to partition number for limit statements (#41615)
ref pingcap/tidb#41480
2023-02-22 16:01:06 +08:00
4aa3a95f9f exeuctor: fix coprocessor goroutine leak for IndexMerge (#41610)
close pingcap/tidb#41605
2023-02-22 15:19:06 +08:00
484aa036f9 domain: support extract plan task handle (#41600)
* Revert "parser: support plan change capture collect stmt (#41478)"

This reverts commit 301a024ebca317e54124eb71b0afbfb399149e79.

* support extract worker

support extract worker

support extract worker

fix lint

fix lint

add test

add test

* add test

add test

* add test

* add test

* address the comment
2023-02-22 11:59:49 +08:00
741ac51d0d planner: enable tiflash path for generated col in disaggregated tiflash mode (#41359)
close pingcap/tidb#41360
2023-02-22 10:57:06 +08:00
1ee5d2597d executor: LOAD DATA support sqldumpfile and parquet FORMAT (#41620)
ref pingcap/tidb#40499
2023-02-21 16:09:05 +08:00
ac157caf0f sysvar: add test for tidb_historical_stats_duration (#41621) 2023-02-21 15:15:06 +08:00
5cbf6ebd0b executor: enhance global index (#41197)
close pingcap/tidb#40497
2023-02-21 13:51:05 +08:00
65e524a73f executor: fix LOAD DATA can't use uppercase user var (#41603)
close pingcap/tidb#41596, close pingcap/tidb#41611
2023-02-21 11:47:05 +08:00
90412c432a lightning/parser: add more options to support LOAD DATA (#41573)
ref pingcap/tidb#41543
2023-02-20 22:51:05 +08:00
23f6ac82f7 planner: plan cache support caching plan with subquery (#41080)
ref pingcap/tidb#40219
2023-02-20 21:25:04 +08:00
9e120b68ce executor: implement NULL DEFINED BY for LOAD DATA (#41541)
ref pingcap/tidb#40499
2023-02-20 20:43:05 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
df249e9f50 executor: make show stats_healthy case-insensitive (#41561)
close pingcap/tidb#41544
2023-02-20 15:47:12 +08:00
b0519d822e executor: detach memTracker when open executor (#41556)
close pingcap/tidb#41476
2023-02-20 15:47:05 +08:00
83687856d4 infoschema: fix unstable test TestTableIfHasColumn (#41547)
close pingcap/tidb#41308
2023-02-20 13:33:05 +08:00
301a024ebc parser: support plan change capture collect stmt (#41478)
ref pingcap/tidb#41130
2023-02-20 10:31:05 +08:00
79558c08ad metric: add some metric by database (#41477)
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
bc95a4f022 *: lock the temp index key properly in DML (#41516)
close pingcap/tidb#41515
2023-02-17 18:19:04 +08:00
fe5824ff7a sysvar: rename tidb_enable_plan_replayer_continues_capture (#41498) 2023-02-17 16:10:03 +08:00
28d2ab6787 planner,variable: disable tidb_enable_reuse_chunk when reading json/text column (#41368)
close pingcap/tidb#41366
2023-02-17 15:04:02 +08:00
c47bb5da53 executor: Check for column mismatch (#41411)
* executor: Check for column mismatch when the table and statement have the same number of columns

* Add test for LOAD DATA and column mismatch

* Set the correct error message for column mismatch in LOAD DATA
2023-02-16 15:32:47 +01:00
d161aa6e45 executor: LOAD DATA use lightning CSV parser (#40852)
ref pingcap/tidb#40499
2023-02-16 19:22:02 +08:00