Commit Graph

999 Commits

Author SHA1 Message Date
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
f61024b2dc variables: change tidb_rc_read_check_ts to instance level (#37803)
close pingcap/tidb#37802
2022-09-16 18:28:59 +08:00
20d46c2c53 planner: make unsafe substitute can be used in generated column (#37779)
close pingcap/tidb#35490
2022-09-16 12:50:59 +08:00
1d11283384 sessionctx: set DefTiDBEnableRateLimitAction to false (#37811)
close pingcap/tidb#37810
2022-09-15 18:44:59 +08:00
5209ac2fa1 sessionctx: support session var tidb_last_plan_replayer_token (#37851)
ref pingcap/tidb#37798
2022-09-15 18:15:00 +08:00
b5ab19c098 planner: remove old useless interfaces about cost model (#37801)
ref pingcap/tidb#35240
2022-09-15 15:47:00 +08:00
c677b2a86f sessionctx/variable: put TiDBOptRangeMaxSize to right place and set default value to 0 (#37835)
ref pingcap/tidb#37176
2022-09-15 13:10:59 +08:00
c646842f29 sessionctx: Change default tidb_partition_prune_mode from static to dynamic (#37712)
close pingcap/tidb#37713
2022-09-14 20:00:59 +08:00
563b4262d5 expression: allow json functions to be expression index (#37738)
close pingcap/tidb#37740
2022-09-14 17:22:59 +08:00
100b65819b Optimize: TiDB skip getting tso from PD at RC isolation for some special scenes (#36823)
close pingcap/tidb#36812
2022-09-13 16:40:58 +08:00
57febedb35 *: enable rowserrcheck for nogo (#37761) 2022-09-13 14:28:58 +08:00
d86e7956d4 *: support send flashback cluster RPC (#37659)
close pingcap/tidb#37651, close pingcap/tidb#37665
2022-09-09 11:40:56 +08:00
ca5de8928b session, planner: add a session variable "tidb_opt_force_inline_cte" (#37626)
close pingcap/tidb#36514
2022-09-08 15:52:57 +08:00
52c847651d sessionctx/variable: add system variable tidb_opt_range_max_size (#37706)
ref pingcap/tidb#37176
2022-09-08 15:20:57 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
47f44cae9d sessionctx/variable: turn off TiDBEnablePseudoForOutdatedStats by default (#36797)
ref pingcap/tidb#27601
2022-09-07 11:50:56 +08:00
36b6710c64 executor: disable closest replica read if cluster is not balanced (#36824)
ref pingcap/tidb#35926
2022-09-07 11:28:56 +08:00
878ac8e38f ddl/ingest: add the management infra for lightning struct (#37521)
ref pingcap/tidb#35983
2022-09-06 12:20:55 +08:00
3e39d4514f *: add a config to enable write statements to read on TiFlash (#37516)
close pingcap/tidb#37515
2022-09-02 17:54:25 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
ed7afe6663 sessionctx: enable clustered index by default (#37384) 2022-09-01 16:58:25 +08:00
a2ca4a89fb sessionctx/variable: improve test coverage (#36828)
ref pingcap/tidb#35051
2022-08-31 11:50:24 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
64c30c0a24 tests/realtikvtest: add tests for adding index (#37320)
ref pingcap/tidb#35983
2022-08-24 00:04:20 +08:00
2c22fff571 sessionctx/variable: fix range check for @@timestamp (#37249)
close pingcap/tidb#31585
2022-08-23 16:30:20 +08:00
21847fe58b planner: set EnableOuterJoinReorder to false by default (#37264)
ref pingcap/tidb#37238
2022-08-22 19:30:20 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
0039dd2fde planner: introduce tidb_general_plan_cache_size for general plan cache (#37087)
ref pingcap/tidb#36598
2022-08-16 12:04:52 +08:00
714db7e7d6 variable: move some of global definations to consts (#37088)
close pingcap/tidb#37089
2022-08-15 11:38:50 +08:00
323fdb224d ddl: add index acceleration introduce sysvars and config param (#36088)
ref pingcap/tidb#35983
2022-08-12 15:44:49 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00
d67e29e658 sessionctx/variable: remove further skipinit (#36199)
ref pingcap/tidb#35051
2022-08-10 14:22:48 +08:00
45f82afa20 executor: revert #36498 to avoid perf regression (#37005)
ref pingcap/tidb#36438
2022-08-10 10:42:48 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
6be08109fb variable: Remove WARN for variable tidb_enable_noop_variable (#36890)
close pingcap/tidb#36647
2022-08-05 14:26:06 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
e071841317 planner: fix redudent planID for partition table in optimizer trace (#36711)
close pingcap/tidb#36759
2022-08-04 15:50:06 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
bd3d138049 planner: remove the useless variable tidb_enable_point_get_cache (#36844)
close pingcap/tidb#36598
2022-08-03 20:20:05 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00