Commit Graph

1488 Commits

Author SHA1 Message Date
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
c8caa483db session variable: change default value of tidb_remove_orderby_in_subquery to true (#44164)
close pingcap/tidb#44163
2023-05-26 03:31:39 +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
4486008085 ldap: modify variable name and initialize connection with root_dn and root_pwd (#43824)
close pingcap/tidb#43822
2023-05-17 09:13:57 +00:00
8ae3cac826 *: Make DDL unaffected by killing TiDB instance (#43871) 2023-05-17 16:32:36 +08:00
a1f00978fd planner: enable non-prep plan cache by default on Master (#43904)
ref pingcap/tidb#36598
2023-05-17 07:43:35 +00: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
b78d534557 sessionctx: change default value of tidb_enable_non_prepared_plan_cache to false (#43692)
ref pingcap/tidb#43667
2023-05-10 15:29:21 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
a7b957a9b8 expression: add simple expression semantic equal check logic (#43558)
close pingcap/tidb#43572
2023-05-06 08:30:57 +00:00
957d1e2545 *: support writing rows with checksum values (#43163)
ref pingcap/tidb#42747
2023-04-27 07:43:53 +00:00
da4bc2b905 *: Update version in version_comment (#43425)
ref pingcap/tidb#7968
2023-04-26 08:13:52 +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
853c320d74 planner: keep tidb_prepared_plan_cache_size compatible (#43393)
close pingcap/tidb#43320
2023-04-25 09:53:52 +00:00
4f2ef40a0f *: fix warning message when to meet strconv.ErrSyntax (#43358)
close pingcap/tidb#41730
2023-04-24 12:16:01 +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
d6dfb1607c copr: set the default value of load-based replica read threshold to 1s (#43149)
close pingcap/tidb#43148
2023-04-20 01:01:19 +08:00
cd33faf209 planner: enable non-prep plan cache by default (#43145)
ref pingcap/tidb#36598
2023-04-19 21:25:20 +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
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +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
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
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
d7b7070070 sessionctx, planner: enable late materialization default (#42814)
close pingcap/tidb#40601
2023-04-11 13:31:00 +08:00
d6a5054b72 *: global memory controller should not kill session whose mem less than limit_sess_min_size (#42803) 2023-04-07 13:02: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
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
e6cf1ab854 executor: lock untouched unique keys on update (#42713)
close pingcap/tidb#36438
2023-03-31 21:46:55 +08:00
811974b7c0 session, sessionctx: ignore invalid session vars when migrating a session (#42696)
ref pingcap/tiproxy#255, close pingcap/tidb#42697
2023-03-30 13:00:54 +08:00
922a5d327a ddl: change system variables name (#42200)
close pingcap/tidb#42186
2023-03-25 16:36:43 +08:00
f1df935178 ddl: add a warning after successfully reorganizing partitions (#42367)
close pingcap/tidb#42183
2023-03-24 16:56:42 +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
d36a68a887 *: fix data race in the IgnoreTruncate (#42449)
close pingcap/tidb#42341
2023-03-22 15:28:42 +08:00
88174d2ef7 planner: support data compression in Broadcast / Passthrough exchange operator; optimize process about choosing Broadcast Join; (#41968)
ref pingcap/tidb#40494
2023-03-21 15:04:42 +08:00
4060cda69e *: data race at the SessionVars.PlanID (#42373)
close pingcap/tidb#42372
2023-03-20 15:02:40 +08:00
fb9c74c547 session: data race at the PlannerSelectBlockAsName (#42344)
close pingcap/tidb#42342
2023-03-17 14:32:46 +08:00
4f44dab83c test: fix data race (#42306)
close pingcap/tidb#42270
2023-03-17 01:02:39 +08:00
c4efc57b52 session,executor: add variables to support set tiflash spill threshold by sql statement (#42309)
close pingcap/tidb#42308
2023-03-16 20:16:41 +08:00
081643d251 planner: support push down some filter conditions to TiFlash table scan (#40562) 2023-03-16 17:37:39 +08:00
471c084017 planner, sessionctx: add variable to control index selection for "WHERE b ORDER BY a LIMIT n" (#42116)
close pingcap/tidb#42060
2023-03-16 01:52:41 +08:00