Commit Graph

1238 Commits

Author SHA1 Message Date
4cc6c6542f planner: create a separate unified function to update variables for statistics sctx (#47051)
ref pingcap/tidb#46905
2023-09-18 10:34:40 +00:00
42723fa9e3 *: rename variable tidb_kv_read_timeout to tikv_client_read_timeout and remove tidb_kv_read_timeout stmt hint (#46714)
close pingcap/tidb#46713
2023-09-14 14:33:10 +00:00
8f8c43319d sessionctx: change variable tidb_enable_tiflash_pipeline_model to global level (#46709)
close pingcap/tidb#45618
2023-09-13 05:07:38 +00:00
d399c47a18 planner: support default_collation_for_utf8mb4 for _utf8mb4'text' (#46667)
close pingcap/tidb#46666
2023-09-13 03:46:38 +00:00
9cb19af5b1 variable: fix empty cloud storage uri (#46901)
ref pingcap/tidb#45719
2023-09-12 14:01:41 +00:00
063a5b5678 variable: always truncate tidb_session_alias when it is not a valid value (#46707)
ref pingcap/tidb#46071
2023-09-12 09:58:41 +00:00
cbb7b0abdd global sort: support setting cloud storage uri variable (#46407)
ref pingcap/tidb#45719
2023-09-11 11:25:43 +00:00
968c7129bc sessionctx: add testcase for set_var hint (#46784)
ref pingcap/tidb#45892
2023-09-08 12:00:06 +00:00
ca425ea56c *: add global variable tidb_schema_version_cache_limit to control infoschema cache size (#46558)
close pingcap/tidb#46524
2023-09-08 09:01:17 +00:00
c6eb7bb7b1 planner, variable: add test and ga the SET_VAR hint (#45893)
close pingcap/tidb#45892
2023-09-08 06:29:14 +00:00
75fa8150da disttask: add role to select instance (#46453)
ref pingcap/tidb#46258
2023-09-08 04:29:13 +00:00
6e7f36b68d *: support the variable of default_collation_for_utf8mb4 and corresponding behaviors (#46370)
close pingcap/tidb#46371
2023-09-05 03:47:11 +00:00
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
60b1019ec1 tests: rewrite some expression IT, move them to UT (#46597)
ref pingcap/tidb#45961
2023-09-01 11:47:21 +00:00
61f882596b planner: disable non-prep plan cache by default (#46504)
close pingcap/tidb#36598
2023-08-30 10:54:38 +00:00
d9d2dd1a51 timer: support cron syntax for timer framework (#46331)
close pingcap/tidb#46330
2023-08-28 07:24:36 +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
dd593b2e03 session, sessionctx: consider the dependency of sysvars for session states (#46244)
close pingcap/tidb#46214
2023-08-22 08:30:34 +00:00
2abf83ddd5 *: remove feedback (#45969)
ref pingcap/tidb#46056
2023-08-21 11:03:34 +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
54fde485a7 executor: password masking in LDAP variable (#45835)
close pingcap/tidb#45752
2023-08-09 15:46:56 +00:00
d590ccb14e *: Setup OWNERS to control approving global variable and configuration changes (#45220)
ref pingcap/tidb#45183
2023-08-07 14:07:42 +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
93a880acad statscache: update config and metrics for stats cache (#45581)
close pingcap/tidb#45367
2023-07-26 11:55:34 +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
46f305facc *: ignore the semicolon at the end of the SQL when generating the SQL digest (#45105)
close pingcap/tidb#45104
2023-07-04 06:47:14 +00:00
e7e8fc1d1f sessionctx: use the defined default variables for "tidb_enable_external_ts_read" (#45117) 2023-07-03 08:48:43 +00:00
2d2b8d65c8 sessionctx: not use meaningless constants (#45116) 2023-07-03 05:44:12 +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
90c05ae4c6 sql: add switch for check constraint (#44954)
ref pingcap/tidb#41711
2023-06-26 13:10:04 +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
5b54baaf8f sessionctx: make session_vars' type closer to MySQL (#44578)
close pingcap/tidb#44574
2023-06-12 10:29:13 +00:00
f644a91bad planner: support hypo tiflash replicas (#44575)
ref pingcap/tidb#43817
2023-06-12 07:05:06 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00