Commit Graph

655 Commits

Author SHA1 Message Date
241926749e planner: remove some empty file after logical ops are all classified. (#56361)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-09-27 09:27:29 +00:00
73f1cfe1f6 planner: move some test into tests package (#56353)
close pingcap/tidb#56352
2024-09-27 05:12:56 +00:00
tpp
a3a451196d planner: increase tablescan cost for high risk scenarios (#56203)
close pingcap/tidb#56012
2024-09-26 13:04:27 +00:00
80853d2809 planner: update opt_tracer.go (#56336) 2024-09-26 12:13:21 +00:00
d7ba47b473 planner: more test cases for index advisor (#56334)
ref pingcap/tidb#12303
2024-09-26 12:13:14 +00:00
d7f9027af2 planner: move logical datasource, table-scan, index-scan, tikv-gather to logicalop pkg (#56291)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-09-26 12:13:00 +00:00
01797cb3ae expression: pushdown add_date/sub_date expressions to tikv (#56298)
close pingcap/tidb#56297
2024-09-26 07:40:27 +00:00
ba9079349e planner: add Fix52592 control to disallow fast path (#56097)
close pingcap/tidb#52592
2024-09-26 03:59:21 +00:00
84016f9f9a planner: support to prune column for simple table's DELETE (#56077)
ref pingcap/tidb#38911
2024-09-25 19:48:28 +00:00
59a8acb9bf planner: support using with <opt>=<val> to set options when running index advisor (#56307)
ref pingcap/tidb#12303
2024-09-25 18:41:21 +00:00
3cb22d6a8a Optimizer : Add OR pruning to predicate simplification (#56136)
close pingcap/tidb#56005
2024-09-25 18:41:12 +00:00
8df006280e planner: make converge index merge path feel the prefer tiflash hint (#56227)
close pingcap/tidb#56217
2024-09-25 12:29:48 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
a0a741e91f planner: plan cache+partitioned tables benchmarks (#52170)
ref pingcap/tidb#33031, ref pingcap/tidb#45532
2024-09-25 08:55:18 +00:00
75d9830bd2 *: AnalyzeV2 supports processing special global indexes (#56115)
close pingcap/tidb#54233
2024-09-25 06:34:50 +00:00
fd38012d74 planner: support recommend index show to show all options (#56268)
ref pingcap/tidb#12303
2024-09-25 02:27:56 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
53a3d20a3c planner, sctx: open enhanced index join pattern by default (#56172)
ref pingcap/tidb#47233
2024-09-24 16:55:45 +00:00
3bcd243adb planner: consider path is global index path or not in skylinePruning function (#56196)
ref pingcap/tidb#52061
2024-09-24 13:45:56 +00:00
281462cb67 planner: support recommend index set <opt>=<val> (#56249)
ref pingcap/tidb#12303
2024-09-24 08:43:31 +00:00
8106d9304a planner: add a new sys table to store index advisor results and a new table to store kernel options (#56188)
ref pingcap/tidb#12303
2024-09-23 17:29:17 +00:00
fd41e605f7 planner, util/ranger: recognize the best matching index stats more accurately for OR list in Selectivity() (#56001)
close pingcap/tidb#54323
2024-09-23 17:29:07 +00:00
8c132db419 executor: push down LIKE patterns for some infoschema readers (#55844)
ref pingcap/tidb#50305
2024-09-23 11:45:33 +00:00
cf954e2057 planner: Removed check for prepared stmt during partition pruning (#55631)
close pingcap/tidb#55630
2024-09-20 07:23:16 +00:00
adbc0034ff tests: reduce some flaky timeout tests (#56171)
ref pingcap/tidb#41316
2024-09-20 05:02:17 +00:00
6b44ed4541 planner: support loading queries from statement_summary to run Index Advisor (#56160)
ref pingcap/tidb#12303
2024-09-20 05:02:08 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
66d8cdc3d0 executor: Add Global to SHOW INDEX output (#56028)
ref pingcap/tidb#55452
2024-09-19 21:04:31 +00:00
beee242769 planner: Covering tests for plan cache and partitioned tables. (#52168)
ref pingcap/tidb#33031
2024-09-19 17:25:45 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
70a26f8530 planner: fix unique key get wrong row count when to query the NULL value (#56117)
close pingcap/tidb#56116
2024-09-19 04:11:30 +00:00
d99d4451bc planner: add more test cases for instance plan cache (#56110)
ref pingcap/tidb#54057
2024-09-18 15:42:33 +00:00
ae86e046b6 importinto: fix panic when import to a temporary table, disallow import to cached table (#55983)
close pingcap/tidb#55970
2024-09-14 08:49:00 +00:00
22ef99ab51 planner: use intest.AssertFunc instead of intest.Assert when testing function (#56076) 2024-09-13 15:01:27 +00:00
1e6cec8b44 *: let planner decide the col refs for non-partition and non-foreignkey table's delete (#54065)
ref pingcap/tidb#38911
2024-09-13 13:28:54 +00:00
0116b99302 planner: add group/memo/groupExpression. (#55825)
ref pingcap/tidb#51664
2024-09-13 10:24:10 +00:00
2842fcba4e planner: reuse build batch cop tasks result (#55916)
close pingcap/tidb#55915
2024-09-12 07:38:57 +00:00
76098f5e16 importinto: check column assignment expressions in import into ... (#55968)
close pingcap/tidb#55497
2024-09-10 17:40:45 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
e5aad0260c *: apply prefiltering before json.Unmarshal for information_schema.ddl_jobs table (#55748)
ref pingcap/tidb#55725
2024-09-10 12:03:47 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
822bf99e78 planner: support new syntax for Index Advisor (#55947)
ref pingcap/tidb#12303
2024-09-10 01:01:45 +00:00
4ab1765ac9 planner: introduce hashEquals interface for expression.Expression (#55793)
ref pingcap/tidb#51664
2024-09-09 10:40:45 +00:00
b5ec2e33a3 *: update rules_go 0.50.1 (#55933) 2024-09-09 09:48:31 +00:00
7d75f23fed expression: Add GetUserVarsReader to EvalContext (#55866)
close pingcap/tidb#55865
2024-09-09 09:48:24 +00:00
95527cd700 statistics: use analysis worker to run analysis jobs (#55848)
close pingcap/tidb#55618
2024-09-09 03:04:27 +00:00
5dae1a3135 expression: support tidb encode key function (#51678)
close pingcap/tidb#51683
2024-09-06 07:03:37 +00:00
c011164834 planner: fix incorrect maintenance of handleColHelper for recursive CTE (#55732)
close pingcap/tidb#55666
2024-09-06 04:31:49 +00:00
e9124ddd3f planner: move index advisor into the kernel (#55874)
ref pingcap/tidb#12303
2024-09-05 13:38:16 +00:00
edf100118d executor: record index usage for the clustered primary keys (#55602)
close pingcap/tidb#55601
2024-09-05 05:12:57 +00:00