Commit Graph

1644 Commits

Author SHA1 Message Date
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
51ccce23eb ddl: only use runningJobs to check job dependency (#54003)
ref pingcap/tidb#52795
2024-06-19 06:46:17 +00:00
tpp
8ee4897b39 planner: reduce topn count to exclude non-skewed values (#53035)
close pingcap/tidb#53111
2024-06-19 05:37:17 +00:00
e41a47cab6 unistore: use location cache to reduce the syscall (#54098)
close pingcap/tidb#54097
2024-06-19 02:41:47 +00:00
a8de5891fe lightning: improve TotalMemoryConsume for write step (#53856)
ref pingcap/tidb#53858
2024-06-19 01:55:17 +00:00
f568b21553 executor: reuse memory in the deleteSingleTableByChunk (#54082)
close pingcap/tidb#54080
2024-06-18 15:10:17 +00:00
dfa6b7cfeb txn: do not create hook closure if it is already set (#53764)
close pingcap/tidb#53763
2024-06-18 12:40:17 +00:00
ab42bca043 *: batch frequent tracker.Consume in the write path (#53976)
ref pingcap/tidb#53973
2024-06-18 11:40:17 +00:00
9906339471 planner: fix the issue that statement-level hints in sub-queries of Insert/Replace can not take effect (#54083)
close pingcap/tidb#53834
2024-06-18 11:02:47 +00:00
9008d23c83 *: remove ExtraPidCol and replace it with ExtraPhysTblIDCol (#53974)
close pingcap/tidb#53929
2024-06-18 09:58:24 +00:00
a5a1b674bd executor: reset groupCount when Close is called in streamagg executor (#53874)
close pingcap/tidb#53867
2024-06-18 09:58:17 +00:00
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +00:00
01a45732ad planner: fix the issue that bindings with query-level hint can not take effect for replace statements (#54048)
close pingcap/tidb#53834
2024-06-18 05:19:16 +00:00
2cea9949f2 statistics: stop loading too many stats when to init stats (#53999)
close pingcap/tidb#54000
2024-06-18 04:26:46 +00:00
8f568472a3 ddl: enlarge general ddl worker pool (#54041)
ref pingcap/tidb#53246
2024-06-18 03:22:22 +00:00
7b259929a9 expression: Fix errors for JSON functions (#53800)
close pingcap/tidb#53799
2024-06-18 03:22:16 +00:00
42852ee632 planner: refactor a few code of plan cache (#54058)
ref pingcap/tidb#54057
2024-06-18 02:13:16 +00:00
e7d67b198f planner: use logical output cols to record positions of tables to be deleted (#54010)
ref pingcap/tidb#38911
2024-06-17 13:32:46 +00:00
26d1096580 ddl: check table/database existance using infoschema only (#53882)
ref pingcap/tidb#53246
2024-06-17 10:50:46 +00:00
53901e8f90 ddl: clean ingest temp data dir in background loop (#54008)
close pingcap/tidb#54007
2024-06-17 08:44:45 +00:00
72d22d60fc privilege: fix auth_socket bug, should only allow os user name to login (#54032)
close pingcap/tidb#54031
2024-06-17 07:28:15 +00:00
tpp
a8af911cf2 planner: improve range underestimation (#53860)
close pingcap/tidb#53907
2024-06-16 16:04:16 +00:00
6ba94359d5 planner: skip index scan plan for tablesample (#54016)
close pingcap/tidb#54015
2024-06-14 15:29:44 +00:00
efb8afc31f ddl: record the used indexID for global-sort reorg (#53975)
ref pingcap/tidb#53677
2024-06-14 10:32:43 +00:00
21089fd667 executor: add test for pr 53855 (#54011)
close pingcap/tidb#53871
2024-06-14 09:17:44 +00:00
518b512609 ddl: set proper default flen of decimal(0) columns (#54028)
close pingcap/tidb#53779
2024-06-14 08:35:50 +00:00
152db14934 executor: add hash join v2 (#53208)
ref pingcap/tidb#53127
2024-06-14 08:35:44 +00:00
29fc940ae4 resource_control: introduce privilege RESOURCE_GROUP_USER to restrict the switch of resource group (#53483)
close pingcap/tidb#53440
2024-06-14 07:40:14 +00:00
b4563c0692 executor: fix TestBRIEBuilderOPtions change global config (#54020) 2024-06-14 07:04:14 +00:00
b96a775753 Optimizer: Fix range extraction for CNF(conjunctive normal form) (#53908)
ref pingcap/tidb#41598
2024-06-14 05:13:13 +00:00
bb3a4d21fd infoschema: avoid growslices in the infoSchema.SchemaTables (#54023)
close pingcap/tidb#54021
2024-06-14 04:31:13 +00:00
d53b34412f planner: prevent pushing Projection with virtual columns down to UnionScan (#53981)
close pingcap/tidb#53951
2024-06-13 18:43:55 +00:00
0731b761e7 planner: swap codes of buildDelete for further changes (#54009)
ref pingcap/tidb#38911
2024-06-13 14:06:26 +00:00
329a9800c4 ddl: fast-reorg set memory limit for local writer based on current usage (#53873)
ref pingcap/tidb#53789
2024-06-13 12:09:27 +00:00
6cf8776242 executor: try to optimize index lookup query may send too many cop task (#53855)
close pingcap/tidb#53871
2024-06-13 11:04:52 +00:00
fc342dba1f executor: avoid use fmt.Sprintf (#54002)
close pingcap/tidb#54001
2024-06-13 09:09:00 +00:00
f124165c9b statistics: update some vars for internal sessions correctly (#53977)
close pingcap/tidb#53972
2024-06-13 05:19:29 +00:00
2ee6d22383 statistics: updating stats cache can trigger evict (#53979)
close pingcap/tidb#53742
2024-06-13 04:43:29 +00:00
fab0940c21 datum: check len(s) before calculating and checking runeCount (#53941)
close pingcap/tidb#53942
2024-06-13 04:09:06 +00:00
d5fece20f7 ddl: Regenerating AutoIDs for _tidb_rowid during Reorganize Partition (#53770)
close pingcap/tidb#53385
2024-06-13 04:09:00 +00:00
25d1c83769 expression: Fix JSON quote (#53961)
close pingcap/tidb#37294
2024-06-13 01:04:30 +00:00
7b8c91d5d6 ddl: clear MDL related tables for create view (#53944)
ref pingcap/tidb#53246
2024-06-12 11:46:30 +00:00
3fcf785461 planner: return an error when meeting unexpected operator under UnionScan (#53956)
ref pingcap/tidb#53951
2024-06-12 10:38:59 +00:00
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
ec6f56e826 *: fix flaky test TestTiDBTrx (#53932)
close pingcap/tidb#53901
2024-06-12 03:22:29 +00:00
fe5003be41 util: mock disk hang and slow in random fail tests (#53924)
close pingcap/tidb#53923
2024-06-12 02:41:59 +00:00
8d28b23c3c sessionctx: add warning for system variable tidb_enable_parallel_hashagg_spill (#53917)
close pingcap/tidb#53919
2024-06-12 02:04:29 +00:00
395edabbae statistics: not convert the database names to lowercase duration the auto analyze (#53906)
close pingcap/tidb#53905
2024-06-11 11:50:59 +00:00
2372cf828c hint: avoid duplicate hints in QBHintHandler (#53921)
close pingcap/tidb#53767
2024-06-11 09:52:30 +00:00
fedf3b7ba9 executor: make channel buffer small in sort executor (#53881)
close pingcap/tidb#53866
2024-06-11 08:52:30 +00:00