Commit Graph

707 Commits

Author SHA1 Message Date
7396f4efd0 session: add tiflash auto spill support (#46537)
close pingcap/tidb#46536
2023-09-04 11:06:56 +00:00
711941012a *: provide a variable to ignore the real-time stats in the planner (#43988)
close pingcap/tidb#46080
2023-09-01 15:03:42 +00:00
6dd4a3ae76 *: add session alias field in slowlog, general log and extension framework (#46273)
close pingcap/tidb#46272
2023-08-23 10:59:04 +00:00
ddb7b36cb6 *: Add system variable tidb_session_alias to log a custom field session_alias in session log (#46072)
close pingcap/tidb#46071
2023-08-18 07:36:39 +00:00
0a5e0b3b2b kv request: configurable KV Timeout (#45601)
close pingcap/tidb#45380
2023-08-11 12:43:57 +00:00
0eac1dba9d *: replace exp/slices with std (#45978)
ref pingcap/tidb#45933
2023-08-11 03:30:27 +00:00
2d23240b37 sessionctx: set tiflash pipeline model to true by default (#45516)
close pingcap/tidb#45618
2023-08-01 09:34:16 +00:00
2e8de8d412 *: Remove tidb_enable_default_list_partition variable (#45701)
close pingcap/tidb#45700
2023-08-01 04:41:38 +00:00
a53fd2d5c7 *: Support List default partition (#41537)
close pingcap/tidb#20679
2023-07-31 14:35:37 +00:00
a492a371a7 statistics: merge global stats even if some partition stats are missing (#41176)
ref pingcap/tidb#38999
2023-07-26 09:12:04 +00:00
2eb698c1d3 planner: support ScalarSubQuery to display them in EXPLAIN (#45252)
close pingcap/tidb#22076
2023-07-24 06:40:19 +00:00
3aa21d0937 *: label external the request source via sessionvar (#44770)
ref pingcap/tidb#44769
2023-07-11 04:21:42 +00:00
7df405dcc3 *: introduce tiflash_replica_read to support different policies of TiFlash node selection (#44107)
close pingcap/tidb#44106
2023-07-04 09:26:13 +00:00
440ece84c7 *: revise implementation of optimizer fix control (#44959)
close pingcap/tidb#43169
2023-06-27 07:37:06 +00:00
bc80cf9024 planner, sessionctx: reintroduce #41996 through optimizer fix control (#44865)
close pingcap/tidb#44855
2023-06-26 14:23:35 +00:00
3c45737ce2 txn: add a variable to control whether to lock unchanged unique keys (#44598)
close pingcap/tidb#44714
2023-06-26 04:17:37 +00:00
b8e282b1fd planner: plan cache supports Batch/PointGet converted from (primary keys) in ((...), ...) (#44838)
close pingcap/tidb#44830
2023-06-25 03:28:14 +00:00
c16b3f65b3 planner: plan cache supports queries with more than 200 parameters (#44829)
close pingcap/tidb#44823
2023-06-21 03:14:41 +00:00
ce99d5d25d planner: complete fall through into MPP task if up-layer can generate a cop tiflash (#44324)
close pingcap/tidb#37459
2023-06-20 12:46:11 +00:00
daf5f6fd70 *: use a new algorithm to improve the speed of admin check table/index (#43694)
close pingcap/tidb#43693
2023-06-20 08:05:42 +00:00
397062f2e7 planner, sessionctx: skip wide type columns such as JSON when collecting statistics (#44653)
close pingcap/tidb#44725
2023-06-19 15:22:10 +00:00
bf4b9362dd sessionctx: encode hypo indexes and tiflash replicas into session states (#44741)
close pingcap/tidb#44738
2023-06-17 09:17:10 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
f644a91bad planner: support hypo tiflash replicas (#44575)
ref pingcap/tidb#43817
2023-06-12 07:05:06 +00:00
3a83d1bb8d session,executor: add variables to support set if enable tiflash pipeline model by sql statement (#44467)
close pingcap/tidb#44468
2023-06-08 03:37:41 +00:00
85d6323e3a util/ranger: consider good non-point ranges from CNF item (#44384)
close pingcap/tidb#44389
2023-06-05 02:43:40 +00:00
91185a1591 planner, runtimefilter: Runtime filter generator, Support IN and Local RF (#42899)
close pingcap/tidb#40220
2023-05-31 09:34:42 +00:00
ff996e7068 planner: allow to use dynamic mode to access partitioning tables without global-stats (#44264)
close pingcap/tidb#44262
2023-05-30 06:46:41 +00:00
610ca18e06 *: support to execute CTE on MPP side (#42296)
close pingcap/tidb#43333
2023-05-24 14:03:40 +00:00
0c336cc1ef server: Add connection attributes and auth method to conninfo (#43783)
ref pingcap/tidb#43720
2023-05-22 17:05:38 +00:00
8ae3cac826 *: Make DDL unaffected by killing TiDB instance (#43871) 2023-05-17 16:32:36 +08:00
5db4b38f2c planner: support Hypo indexes (#43607)
close pingcap/tidb#43817
2023-05-16 10:43:17 +00:00
4d011d47ef server: Improve connection info (#43721)
close pingcap/tidb#43720
2023-05-12 13:32:23 +00:00
06220cbcd7 txn: introduce the statement buffer of pessimistic lock cache (#43530)
close pingcap/tidb#43294
2023-05-11 08:35:21 +00:00
957d1e2545 *: support writing rows with checksum values (#43163)
ref pingcap/tidb#42747
2023-04-27 07:43:53 +00:00
0b8f8807d0 *: add a new variable to control whether to invalidate plan cache when related table analyzed (#43390)
close pingcap/tidb#43295
2023-04-25 10:31:54 +00:00
ed485cacc4 *: fix wrong output for two deprecated system variables (#43292)
* fix wrong output for two deprecated system variables

Signed-off-by: gengliqi <gengliqiii@gmail.com>

* fix

Signed-off-by: gengliqi <gengliqiii@gmail.com>

* update

Signed-off-by: gengliqi <gengliqiii@gmail.com>

---------

Signed-off-by: gengliqi <gengliqiii@gmail.com>
2023-04-23 06:16:44 +00:00
78c50dcdde planner: disable non-prep plan cache for DML statements for now (#43258)
ref pingcap/tidb#36598
2023-04-20 23:37:19 +08:00
426671e91a planner, sessionctx: enable late materialization in disaggregated TiFlash (#43068)
close pingcap/tidb#40601
2023-04-20 10:21:19 +08:00
1bbc6924fd *: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
2023-04-20 07:13:19 +08:00
37d9a64fce planner, sessionctx: add tidb_opt_fix_control variable (#43191)
close pingcap/tidb#43169
2023-04-20 01:29:20 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
477fbaf864 sessionctx: support encoding resource group name into session states (#42886)
close pingcap/tidb#42884
2023-04-14 13:59: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
d7b7070070 sessionctx, planner: enable late materialization default (#42814)
close pingcap/tidb#40601
2023-04-11 13:31:00 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32: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
e6cf1ab854 executor: lock untouched unique keys on update (#42713)
close pingcap/tidb#36438
2023-03-31 21:46:55 +08:00
2e8a982cb0 session, com_stmt: fetch all rows during EXECUTE command (#42473)
close pingcap/tidb#41891, close pingcap/tidb#42424
2023-03-23 17:34:43 +08:00