Commit Graph

813 Commits

Author SHA1 Message Date
0c22a2db40 planner: fix idxMergePartPlans forget to deal with RootTaskConds (#58507)
close pingcap/tidb#58476
2024-12-24 17:13:39 +00:00
457dcc6bbd planner: refactor some code of binding cache (#58504)
ref pingcap/tidb#51347
2024-12-24 09:57:15 +00:00
8ecdb54c51 planner: enhance stats derive suitable for memo derive and traditional logical tree derive (#58252)
ref pingcap/tidb#51664
2024-12-24 08:57:51 +00:00
33f0727dd8 planner: don't calc the heavy expression used in ORDER BY stmt twice (#58208)
ref pingcap/tidb#54245, close pingcap/tidb#56318
2024-12-23 18:11:21 +00:00
52de47d06e executor: fix the issue that the int primary key doesn't show in the index usage (#58257)
close pingcap/tidb#58256
2024-12-23 07:19:30 +00:00
078f5eef32 planner: add parent GE refs of group and prepare the global GE map for detecting group merge case. (#58382)
ref pingcap/tidb#51664
2024-12-23 04:34:15 +00:00
d0ea9e50d5 planner: prepare AccessPath.PartialAlternativeIndexPaths to handle MV indexes (#58397)
ref pingcap/tidb#58361
2024-12-21 05:22:27 +00:00
e53ec591b2 planner: extend predicate simplification for subquery and nested expressions (#58261)
close pingcap/tidb#58171
2024-12-20 18:59:39 +00:00
842b66e1b1 planner: fix "invalid memory address or nil pointer dereference" when using Instance Plan Cache in some cases (#58407)
close pingcap/tidb#58395
2024-12-19 12:22:26 +00:00
15d25e03fd planner: fix hash partition prune with is null condition (#58383)
close pingcap/tidb#58374
2024-12-19 12:22:12 +00:00
0bf3e01900 *: Update client-go and verify all read ts (#58054)
ref pingcap/tidb#57786
2024-12-19 11:08:12 +00:00
1fa29556ab planner: quickly get total count from index/column (#58365)
close pingcap/tidb#58366
2024-12-19 06:16:30 +00:00
tpp
a3574aa6a3 planner: Refactor out-of-range estimation based upon modifyCount (#57431)
close pingcap/tidb#58068
2024-12-18 17:28:42 +00:00
aa19d3f261 planner: remove unused Auto Capture (#58373)
ref pingcap/tidb#51347
2024-12-18 14:11:06 +00:00
80b34784bf planner: fix possible read-write DATA RACE on Instance Plan Cache (#58328)
close pingcap/tidb#58318
2024-12-18 12:43:15 +00:00
ec0dabcba6 planner: improve comments and clean up function for OR type IndexMerge logic (#58332)
ref pingcap/tidb#58361
2024-12-18 09:55:30 +00:00
d24ee4f722 planner, executor: support show traffic jobs (#58322)
close pingcap/tidb#58319
2024-12-18 09:55:15 +00:00
1405c5e1a5 planner: introduce hash collision consideration on group expression de-duplication (#58354)
ref pingcap/tidb#51664
2024-12-18 05:01:53 +00:00
f3e27f0ca6 planner: remove unnecessary methods in global binding handler (#58350)
ref pingcap/tidb#51347
2024-12-18 05:01:46 +00:00
22c91d0199 planner: remove unnecessary methods in global binding handler (#58343)
ref pingcap/tidb#51347
2024-12-17 14:05:36 +00:00
57a73ea05e planner: output create-index statements for recommend index run (#58293)
ref pingcap/tidb#12303
2024-12-16 16:43:51 +00:00
0dcadef6a8 planner: stabilize the vector index test (#58254)
ref pingcap/tidb#57871
2024-12-16 15:46:48 +00:00
f7449598a7 planner: convert cartesian semi join with other nulleq condition to cross semi join with equal condition (#58075)
close pingcap/tidb#57583
2024-12-16 12:11:06 +00:00
076615b9aa planner: add cascade basic interface definition and basic task type. (#57981)
ref pingcap/tidb#51664
2024-12-16 11:13:24 +00:00
27b53925b2 *: use DDL subscriber updating stats meta (#57872)
close pingcap/tidb#57871
2024-12-13 10:44:06 +00:00
033b1758a9 executor: support anti semi join (#57971)
close pingcap/tidb#56793
2024-12-13 09:21:00 +00:00
5e8d1b8ae1 planner: fix ExtractColumnsAndCorColumnsFromExpressions caller didn't update its may-expanded cache slice. (#58240)
ref pingcap/tidb#51664
2024-12-13 07:43:51 +00:00
a3fa29e58c planner: add test about memo derive stats. (#58207)
ref pingcap/tidb#51664
2024-12-12 12:14:18 +00:00
3ccd7e6ae6 executor: skip execution when build query for VIEW in I_S (#58203)
close pingcap/tidb#58184
2024-12-12 10:26:54 +00:00
1d53c858cb planner: add some e2e test cases for outer join elimination (#58070)
ref pingcap/tidb#54057
2024-12-12 08:17:15 +00:00
4e6468d26d expression: refactor names from VectorHelper to VSInfo (#58192)
ref pingcap/tidb#54245
2024-12-12 06:55:45 +00:00
ba55be5b4f planner: complete the memo/group-expression/group logic and add test for derive stats (#57973)
ref pingcap/tidb#51664
2024-12-11 10:37:51 +00:00
2a1f646d8f planner: fix index range intersection for in-list and other predicates (#58029)
close pingcap/tidb#57694
2024-12-10 14:21:21 +00:00
d6b313f268 planner: correct the vector index tests (#58039)
ref pingcap/tidb#57871
2024-12-09 17:04:36 +00:00
6b17068d75 planner: fix incorrectly using the schema for plan cache (#57964)
close pingcap/tidb#56733
2024-12-09 10:16:07 +00:00
tpp
cdfdb8a90e planner: Use/force to apply prefer range scan (#56928)
close pingcap/tidb#55632
2024-12-09 10:16:00 +00:00
53cecc1e2d executor, planner: send traffic requests to tiproxy (#58006)
close pingcap/tidb#58005
2024-12-09 04:34:15 +00:00
8c888234ff stmtsummary: implement tidb_statements_stats, a cumulative version of statements_summary (#57155)
ref pingcap/tidb#57147
2024-12-06 06:33:38 +00:00
da965d144c statistics: move JSON* to statistics/util (#57950)
ref pingcap/tidb#57949
2024-12-04 18:30:23 +00:00
8eebb2da00 executor: support semi join (#57658)
ref pingcap/tidb#56793
2024-12-04 07:00:56 +00:00
edba7e9ccb planner: Add left side operator info for hash join execution summary (#57814)
ref pingcap/tidb#56233, close pingcap/tidb#57819
2024-12-03 09:11:47 +00:00
ec5b26e127 planner: add test for logical topN and logical tableDual's hash64 and equals (#57906)
ref pingcap/tidb#51664
2024-12-03 06:32:48 +00:00
66661bd032 planner: make group expression inherit logical plan & refine rule interface. (#57782)
ref pingcap/tidb#51664
2024-12-03 06:32:41 +00:00
6aac3e82d7 *: add context.Context to ensureActiveUser() (#57351)
ref pingcap/tidb#55563
2024-12-02 12:54:11 +00:00
d43ba5c2b0 planner: move pattern logic to cascades pkg (#57864)
ref pingcap/tidb#51664
2024-12-02 11:01:05 +00:00
6d7407156c planner: use TableInfo.DBID to locate schema (#57785)
close pingcap/tidb#57779, close pingcap/tidb#57783
2024-12-02 05:12:47 +00:00
308c2b8a70 planner: fix wrong comment (#57839) 2024-12-01 08:30:29 +00:00
0e8c23fe82 planner: add test for hash64 and equals for logical show and sort operator. (#57832)
ref pingcap/tidb#51664
2024-11-29 08:41:41 +00:00
aac206138a planner: fix flaky test TestInstancePlanCacheConcurrencySysbench (#57833)
close pingcap/tidb#57514
2024-11-29 07:56:59 +00:00
f6ff4126dd planner: fix max-one-row will hash equals to each other because of no elements inside. (#57797)
ref pingcap/tidb#51664
2024-11-29 06:00:05 +00:00