Commit Graph

387 Commits

Author SHA1 Message Date
6f0adb8c4a executor: fix data race in parallel sort test (#52246)
close pingcap/tidb#52238
2024-04-01 03:55:46 +00:00
2cc964d1ad executor: add lock time in total time of insert execution info (#52211)
close pingcap/tidb#52174
2024-03-30 15:52:45 +00:00
422ae46b6e lightning/br: move some common code into outer pkg (#52191)
ref pingcap/tidb#52182
2024-03-29 07:03:55 +00:00
xhe
71985253a9 admintest: additional redaction test (#52158)
ref pingcap/tidb#51306
2024-03-29 02:57:49 +00:00
f58f5e1a68 infoschema: don't display tables in MemDB when query TIDB_HOT_REGIONS (#52180)
close pingcap/tidb#50810
2024-03-28 11:12:48 +00:00
dde0a5483f statistics: do not block when sending analyze result (#52107)
close pingcap/tidb#51993
2024-03-27 11:41:18 +00:00
a72b319257 executor: Support parallel sort spill (#50747)
close pingcap/tidb#50746
2024-03-27 11:08:18 +00:00
311eef9d03 expression: introduce SessionEvalContext to implement EvalContext (#52091)
close pingcap/tidb#52089
2024-03-26 09:42:54 +00:00
99ba63abf1 infoschema: fix drop schema for infoschema v2 (#52024)
ref pingcap/tidb#50959
2024-03-25 14:27:46 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
b4d9a7d282 executor: fix the panic that send on closed channel in the TestRandomFail (#52076)
close pingcap/tidb#52069
2024-03-25 11:15:53 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
cc842e8187 planner: remove unnessary atomic variables (#52060) 2024-03-25 08:27:46 +00:00
490e17c9ab importinto: add log for chunk checksum & replace codec with keyspace (#52054)
ref pingcap/tidb#49008
2024-03-25 05:45:46 +00:00
fb64325ee5 executor: handle the corner case that temp index is not exist but the normal index is exist (#51862)
close pingcap/tidb#51784
2024-03-22 13:20:14 +00:00
f23c6fce40 txn: fix race in p-dml caused by Transaction.SetOption running with background flushing (#51913)
ref pingcap/tidb#50215, close pingcap/tidb#52028
2024-03-22 10:36:44 +00:00
07ef009486 server, metrics: remove the connection count on server, only use the metrics (#51996)
close pingcap/tidb#51889
2024-03-22 09:47:15 +00:00
b9d83d3efb ddl: determine whether to use merge sort by each index separately (#52000)
close pingcap/tidb#52004
2024-03-22 06:59:13 +00:00
ef1eb3c42b infoschema_v2: refine infoschemaReader fetch columns process (#51995)
ref pingcap/tidb#50959
2024-03-22 06:27:45 +00:00
5e19822d0d importinto: precheck to avoid run 2 jobs to import the same table (#51997)
ref pingcap/tidb#49008
2024-03-21 14:45:43 +00:00
61ba63982d executor: align behavior of foreign keys in "SHOW CREATE TABLE" with MySQL. (#51294)
ref pingcap/tidb#51837
2024-03-21 14:14:14 +00:00
a04fed93a7 util: skip always false DNF (#51901)
close pingcap/tidb#40997
2024-03-21 10:35:14 +00:00
454e5a790e infoschema: fix regression on select table_rows from information_schema.tables for partition table (#51980)
close pingcap/tidb#51942
2024-03-21 10:00:43 +00:00
21e7939d94 expression: add more optional properties for EvalContext (#51725)
ref pingcap/tidb#51477
2024-03-21 07:12:43 +00:00
3a8271f186 executor: fix some unit tests when using infoschema v2 (#51782)
ref pingcap/tidb#50959
2024-03-20 10:35:14 +00:00
c27100a8dc executor: Fix pushdown caused correlated subquery issue (#51918)
close pingcap/tidb#51874
2024-03-20 09:41:13 +00:00
968f4f28b2 *: fix columns table query unstable (#51896)
close pingcap/tidb#51829
2024-03-20 04:45:42 +00:00
24e8333ef5 executor: adjust the order of initialize plan, kvExecCounter and TopSQL (#51816)
close pingcap/tidb#51815
2024-03-19 04:44:13 +00:00
af897798b9 txn: implement staging for Pipelined DML (#51832)
ref pingcap/tidb#50215
2024-03-18 12:27:43 +00:00
5a2b8e8e1a importinto: pass kv store directly when rebase ids (#51850)
close pingcap/tidb#51848
2024-03-18 07:54:42 +00:00
b3cb95db05 txn: save RPCs for Pipelined-DML (#51652)
close pingcap/tidb#51625
2024-03-16 11:59:11 +00:00
ea20982e50 executor: Fix compact for VARCHAR PK (#51812)
fix pingcap/tidb#51810
2024-03-15 07:36:55 +00:00
db434c4cf3 executor: remove parallel sort system variable (#51769)
close pingcap/tidb#51766
2024-03-15 03:06:40 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
c039855869 importinto: limit global sort minimum thread required (#51776)
ref pingcap/tidb#49008
2024-03-14 09:08:18 +00:00
ef30a6930f sessionctx,executor: support div_precision_increment sysvar (#51538)
close pingcap/tidb#51501
2024-03-14 08:14:10 +00:00
dbdae85432 importinto, disttask: allow multi import job & adjust total memory for cgroup v2 (#51575)
ref pingcap/tidb#49008
2024-03-14 05:05:09 +00:00
954592375d log: Support a dedicated log file to save general log (#51249)
ref pingcap/tidb#51248
2024-03-14 04:29:09 +00:00
1f58dd5d51 *: set right concurrency when to auto-analyze (#51748)
close pingcap/tidb#51749
2024-03-14 03:06:46 +00:00
b609fa6d27 *: fix SURVIVAL_PREFERENCES is not shown in SHOW CREATE PLACEMENT POLICY (#51732)
close pingcap/tidb#51699
2024-03-13 19:18:39 +00:00
893104ad2c *: support reading historial data for infoschema v2 (#51681)
ref pingcap/tidb#50959, close pingcap/tidb#51679
2024-03-13 11:32:10 +00:00
ccc453bfe9 lightning: improve post-import conflict detection 'error' semantic (#51277)
ref pingcap/tidb#51036
2024-03-13 10:48:40 +00:00
Bin
3801fc1fd5 feat: join errors (#51659) 2024-03-13 07:59:09 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
05a63f73a2 executor: skip TemporaryTableNoNetwork unit test under infoschema v2 (#51709)
ref pingcap/tidb#50959
2024-03-12 14:24:39 +00:00
xhe
15947c1cf2 logutil: adapt new redact functions (#51642)
close pingcap/tidb#51310, close pingcap/tidb#51641
2024-03-12 09:06:39 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
69ab2a4de6 import into: enable [] glob matching (#51643)
ref pingcap/tidb#50752
2024-03-12 04:02:09 +00:00
f2cbe00ed9 planner: allow the optimizer to cache query plans accessing generated columns by default (#51654)
close pingcap/tidb#45798
2024-03-11 12:24:38 +00:00
715399f321 executor: fix flaky test TestAnalyzeClusteredIndexPrimary (#51670)
close pingcap/tidb#51649
2024-03-11 11:26:11 +00:00