Commit Graph

2763 Commits

Author SHA1 Message Date
7dd8ef6330 planner: performance optimization for plan-cache (#43183)
ref pingcap/tidb#36598
2023-04-19 15:51:19 +08:00
124abf61bc plan: Choose left table as build table for semi join when left one is smaller for MPPTask (#43064)
close pingcap/tidb#43062
2023-04-19 10:51:19 +08:00
c5cb7d2039 planner: optimize the performance of GetParamSQLFromAST for non-prep plan cache (#43161)
ref pingcap/tidb#36598
2023-04-19 00:35:19 +08:00
9af82b4298 planner: write statements to read on TiFlash only in strict sql mode (#43091)
close pingcap/tidb#43090
2023-04-19 00:03:18 +08:00
eb2771d1ee statistics, planner: add debug trace base utils and trace for GetRowCountByXXX() (#43120)
ref pingcap/tidb#43069
2023-04-18 22:37:19 +08:00
7908f697b4 planner: skip stats warnings for temporary table during optimize (#43147)
close pingcap/tidb#43142
2023-04-18 19:13:35 +08:00
b9f0b109a8 mpp: set recoveryTTL of tiflash_compute node as zero (#43136)
close pingcap/tidb#43137
2023-04-18 15:45:19 +08:00
1e343a8fcd util/ranger: fix collator missing of FullNotNullRange (#43124)
close pingcap/tidb#43116
2023-04-18 13:29:18 +08:00
e123433e2a planner: make LRUPlanCache.Close reenterable (#43117)
ref pingcap/tidb#36598
2023-04-18 11:51:25 +08:00
6271103321 parser,ast: support part of storage procedure grammar (#42260)
ref pingcap/tidb#42263
2023-04-18 00:19:19 +08:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
8e7ebb330f planner: add more test cases for non-prep plan cache (#43083)
ref pingcap/tidb#36598
2023-04-17 21:41:18 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
c7f5868df0 load data: physical mode part 3 (#43020)
ref pingcap/tidb#42930
2023-04-17 15:35:19 +08:00
579f47e412 statistics: remove statistics.Column.Count (#43033)
ref pingcap/tidb#42160
2023-04-14 20:10:46 +08:00
2d0564c8ff executor, planner: support indexMerge limit embeded with non partition table (#42811)
ref pingcap/tidb#41028
2023-04-14 15:29:01 +08:00
a5970efea4 *: enable more race and deadlock (#43047) 2023-04-14 12:05:01 +08:00
1535084f08 planner: introduce a new variable to control the maximum size of plans that can be cached (#43025)
ref pingcap/tidb#42975
2023-04-13 23:47:01 +08:00
a55a1f1b37 sql: support SHOW BACKUP METADATA FROM <storage:str> (#42914)
close pingcap/tidb#42913
2023-04-13 22:21:01 +08:00
5f6de26906 *: prefetch BatchPointGet for partition tables in multi-statement (#42506)
ref pingcap/tidb#41367
2023-04-13 20:35:01 +08:00
8a1e0c422e planner: optimize the parameterization(parser.Restore) performance for non-prep plan cache (#43018)
ref pingcap/tidb#36598
2023-04-13 15:41:02 +08:00
6122ca307e linter: support lll to avoid too long line (#42718)
close pingcap/tidb#42570
2023-04-12 23:23:01 +08:00
516b848372 planner: add more test cases for non-prep plan cache (#42988)
ref pingcap/tidb#36598
2023-04-12 22:35:02 +08:00
bb05f742ed planner: skip caching too large plan for plan cache (#42976)
close pingcap/tidb#42975
2023-04-12 17:09:02 +08:00
65e74578d1 planner: disable tidb_prefer_broadcast_join_by_exchange_data_size by default; set scale factor to optimize estimating broadcast join; (#42915)
ref pingcap/tidb#40494, ref pingcap/tidb#42961
2023-04-12 11:31:01 +08:00
86f215d8f5 planner: plan cache can be aware of statistics changes (#42921)
ref pingcap/tidb#36598
2023-04-11 19:35:00 +08:00
d7b7070070 sessionctx, planner: enable late materialization default (#42814)
close pingcap/tidb#40601
2023-04-11 13:31:00 +08:00
c282c9c942 planner: add more test cases for non-prep plan cache (#42901)
ref pingcap/tidb#36598
2023-04-10 21:49:00 +08:00
7e0c14650f planner: add more metrics for non-prep plan cache (#42888)
ref pingcap/tidb#36598
2023-04-10 17:11:09 +08:00
03b8605d9a planner: non-prep plan cache to support limit clauses (#42879)
ref pingcap/tidb#36598
2023-04-10 13:44:59 +08:00
a0dc9bbf3a planner: keep original select fields names for non-prep plan cache (#42853)
ref pingcap/tidb#36598
2023-04-07 18:38:59 +08:00
d77243eec8 planner: disable tiflash late materialization when fast scan is enable (#42683)
close pingcap/tidb#40601
2023-04-07 16:06:58 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
bc9c058975 planner: keep the original AST unchanged if hit non-prep plan cache (#42841)
ref pingcap/tidb#36598
2023-04-06 20:26:58 +08:00
e942ab6148 kazel: support auto-config shard_count (#42751)
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
4675e4e169 planner: add more test cases for non-prep plan cache (#42801)
ref pingcap/tidb#36598
2023-04-04 19:28:57 +08:00
2e1522b6a1 planner, executor: support mergeSort for partition tables in IndexLookUp (#42483)
ref pingcap/tidb#26166
2023-04-04 17:06:57 +08:00
51a25c714e planner: add more test cases for non-prep plan cache (#42793)
ref pingcap/tidb#36598
2023-04-04 13:20:57 +08:00
f907e5aa5f statistics: rename Table.Count to Table.RealtimeCount (#42764)
ref pingcap/tidb#42160
2023-04-04 05:38:57 +08:00
3eff64a5f1 planner: non-prep plan cache supports DML (#42765)
ref pingcap/tidb#36598
2023-04-03 20:30:57 +08:00
326568bb08 planner: non-prep plan cache supports 2-way joins (#42740)
ref pingcap/tidb#36598
2023-04-03 16:28:57 +08:00
a6093c70eb planner: skip non-prep plan cache if query has under-score charsets (#42723)
ref pingcap/tidb#36598
2023-03-31 18:00:55 +08:00
6273e22b04 planner: add more test cases for non-prep plan cache (#42716)
ref pingcap/tidb#36598
2023-03-31 12:18:55 +08:00
ebf9ce7118 planner: add more test cases for non-prep plan cache (#42715)
ref pingcap/tidb#36598
2023-03-30 20:40:55 +08:00
2dc5b02b08 planner: add more test cases for non-prep plan cache (#42711)
ref pingcap/tidb#36598
2023-03-30 17:12:55 +08:00
88d81cad74 parser: add warning when the hint in the wrong place (#42152)
close pingcap/tidb#42149
2023-03-30 09:18:55 +08:00
22ff00237d *: LOAD DATA support GBK character set (#42644)
ref pingcap/tidb#40499
2023-03-29 19:38:54 +08:00
39640ae709 planner: non-prep plan cache supports Agg and Order operators (#42671)
ref pingcap/tidb#36598
2023-03-29 16:56:54 +08:00
bf470aa99a planner: initialize charset, collation and repertoire correctly for parameter values (#42645)
ref pingcap/tidb#36598
2023-03-28 20:40:54 +08:00
a12be37172 planner: add more test cases for non-prep plan cache (#42614)
ref pingcap/tidb#36598
2023-03-28 12:00:54 +08:00