|
|
b8ea8b6e29
|
planner: strengthen the cases the join reorder can apply (#34603)
close pingcap/tidb#34590, close pingcap/tidb#34591
|
2022-05-13 16:40:36 +08:00 |
|
|
|
1c6dcf0913
|
planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
|
2022-05-13 14:12:28 +08:00 |
|
|
|
0703a64f76
|
planner: plan cache always check scheme valid in RC isolation level (#34523)
close pingcap/tidb#34447
|
2022-05-13 10:42:35 +08:00 |
|
|
|
cd297b9f5c
|
planner: fix wrong cached plan in cachedPlanExec (#34579)
close pingcap/tidb#32371
|
2022-05-12 18:18:36 +08:00 |
|
|
|
12ee8f2cc8
|
planner: add more test cases for the new cost implementation (#34575)
ref pingcap/tidb#33945
|
2022-05-12 17:44:35 +08:00 |
|
|
|
fe07324290
|
planner: refactor the join reorder codes (#34380)
ref pingcap/tidb#29932
|
2022-05-11 21:10:34 +08:00 |
|
|
|
a5d91dc895
|
planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
|
2022-05-11 10:50:34 +08:00 |
|
|
|
199eb8e6c1
|
core: support left join and right join for join reorder (#23149)
close pingcap/tidb#19940
|
2022-05-10 23:24:35 +08:00 |
|
|
|
1d2a0b998d
|
planner: introduce a flag to cost calculation to control some behaviors (#34499)
ref pingcap/tidb#33945
|
2022-05-10 14:56:33 +08:00 |
|
|
|
c789478fa3
|
expression: use existing repertoire for Column if possible (#34501)
close pingcap/tidb#34500
|
2022-05-10 11:56:34 +08:00 |
|
|
|
53a3923358
|
planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
|
2022-05-10 11:16:34 +08:00 |
|
|
|
c16291392a
|
*: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
|
2022-05-09 22:00:33 +08:00 |
|
|
|
2f86eac3cf
|
planner: introduce Cond-FD to maintain null-constraint FD (#34147)
close pingcap/tidb#34148
|
2022-05-09 19:06:33 +08:00 |
|
|
|
9f15cac7a7
|
planner: fix the explain verbose to be NOT case insensitive (#34471)
close pingcap/tidb#34469
|
2022-05-09 15:44:33 +08:00 |
|
|
|
1f4fd0720e
|
planner: enable memtable operator support enforced property (#34449)
close pingcap/tidb#31609
|
2022-05-09 12:14:33 +08:00 |
|
|
|
8a2966ce1e
|
*: improve map copy (#34451)
close pingcap/tidb#34454
|
2022-05-09 11:44:33 +08:00 |
|
|
|
2258bc54c4
|
txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
|
2022-05-07 21:02:32 +08:00 |
|
|
|
cf5ad49561
|
planner: add enforce-mpp test cases for the new cost implementation (#34446)
ref pingcap/tidb#33945
|
2022-05-07 15:48:32 +08:00 |
|
|
|
1af12c2345
|
planner: refactor the cost implementation for TiFlash plans (#34338)
|
2022-05-07 14:08:08 +08:00 |
|
|
|
1f9d34aeef
|
*: Revert #33519 for performance fallback and fix the #33509 in another way (#34425)
close pingcap/tidb#33509
|
2022-05-06 21:20:56 +08:00 |
|
|
|
fa5e19010b
|
planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
|
2022-05-06 15:24:56 +08:00 |
|
|
|
2f8e52f9b1
|
planner: move all functions about cost calculation to plan_cost.go (#34408)
ref pingcap/tidb#33945
|
2022-05-06 15:08:56 +08:00 |
|
|
|
f88dab92f9
|
util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
|
2022-05-06 10:08:57 +08:00 |
|
|
|
2a0242284c
|
planner: add more randgen tests for cost refactor (#34383)
ref pingcap/tidb#33945
|
2022-05-05 19:38:55 +08:00 |
|
|
|
fa5291e57b
|
planner: fix missed OtherConditions in funcdep maintenance (#34304)
close pingcap/tidb#34303
|
2022-04-29 15:24:52 +08:00 |
|
|
|
2e820b9250
|
planner: refactor the cost implementation for Joins (#34297)
ref pingcap/tidb#33945
|
2022-04-29 14:50:52 +08:00 |
|
|
|
0fbdb6c81c
|
planner: refactor the cost implementation for PointGet/BatchGet (#34300)
ref pingcap/tidb#33945
|
2022-04-28 19:50:52 +08:00 |
|
|
|
42089cd9e3
|
statistics: separte Get/Put according to query for statsCacheInner (#34211)
ref pingcap/tidb#34052
|
2022-04-28 18:04:52 +08:00 |
|
|
|
d22cd59da4
|
planner: refactor the cost implementation for Aggs (#34227)
|
2022-04-27 20:12:39 +08:00 |
|
|
|
591c2050a7
|
planner: let apply be paralleled though there's order property can be used (#34238)
close pingcap/tidb#34237
|
2022-04-27 11:22:51 +08:00 |
|
|
|
1bf64c60f4
|
*: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
|
2022-04-26 19:28:51 +08:00 |
|
|
|
6b3b73bbec
|
*: ensure TxnContextProvider not nil in preprocess (#34232)
ref pingcap/tidb#33832
|
2022-04-26 16:16:52 +08:00 |
|
|
|
79a66d7bdb
|
planner: refactor the cost implementation for Sort/Topn, IndexMerge (#34169)
ref pingcap/tidb#33945
|
2022-04-26 10:38:50 +08:00 |
|
|
|
d23a81488a
|
*: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
|
2022-04-25 16:52:51 +08:00 |
|
|
|
99b871e20d
|
planner: add projection pushdown (#27029)
close pingcap/tidb#26242
|
2022-04-22 11:06:05 +08:00 |
|
|
|
a798e78328
|
planner: refactor the cost implementation for Table/IndexReader/Scan, IndexLookup, Proj and Sel (#34091)
ref pingcap/tidb#33945
|
2022-04-21 22:34:04 +08:00 |
|
|
|
571d97bb16
|
planner: using the funcdep to check the only_full_group_by (#33567)
ref pingcap/tidb#29766
|
2022-04-21 00:44:04 +08:00 |
|
|
|
a5033d14d0
|
*: use global auto analyze ID in order to kill auto analyze globally (#34075)
close pingcap/tidb#34076
|
2022-04-20 17:58:03 +08:00 |
|
|
|
d733cc73e4
|
planner: remove misleading comments and simplify code (#34045)
ref pingcap/tidb#22850
|
2022-04-19 18:36:04 +08:00 |
|
|
|
212a6b22af
|
planner: introduce the new cost interface (#33990)
|
2022-04-19 14:03:09 +08:00 |
|
|
|
e21b435d0c
|
*: fix index join on partition table data race (#33979)
ref pingcap/tidb#32846, close pingcap/tidb#33751, ref pingcap/tidb#33762
|
2022-04-19 09:48:02 +08:00 |
|
|
|
a523089d4a
|
planner: consider seek cost of probe-side for index join (#33867)
close pingcap/tidb#32362
|
2022-04-18 19:06:03 +08:00 |
|
|
|
645ae1ce19
|
*: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
|
2022-04-15 20:06:36 +08:00 |
|
|
|
56e1789cc4
|
planner: support MaxOneRow clone (#33888)
close pingcap/tidb#33887
|
2022-04-15 13:42:36 +08:00 |
|
|
|
19b9f53d5e
|
planner: remove task argument from IndexHashJoin.GetCost and IndexMergeJoin.GetCost (#33935)
close pingcap/tidb#33934
|
2022-04-13 19:14:36 +08:00 |
|
|
|
f5c2710cd4
|
planner: fix wrong row-sizes used in cost model (#33845)
close pingcap/tidb#33844
|
2022-04-13 14:02:36 +08:00 |
|
|
|
23e24d2fc8
|
planner: refactor net seek cost calculation for IndexScan and TableScan (#33717)
close pingcap/tidb#33727
|
2022-04-08 22:16:32 +08:00 |
|
|
|
dbd8f15302
|
*: Add support for execute prepared statement to staleread.Processor (#32941)
|
2022-04-07 14:33:19 +08:00 |
|
|
|
8b5150e5c8
|
expr: fix failed copr-test (#33730)
ref pingcap/tidb#32739
|
2022-04-07 10:52:32 +08:00 |
|
|
|
bd8c710185
|
planner: refactor a few methods about cost calculation (#33681)
close pingcap/tidb#33722
|
2022-04-06 14:06:31 +08:00 |
|