Commit Graph

92 Commits

Author SHA1 Message Date
dfc4eee0b4 planner: a new function to get all relevant optimizer variables related to a certain SQL for SPM (#61119)
ref pingcap/tidb#60148
2025-05-15 18:36:20 +00:00
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
tpp
3dc48a1653 planner: add skew risk for equals (#60648)
close pingcap/tidb#60722
2025-04-24 04:11:46 +00:00
tpp
d46ecaa4c3 planner: add optimizer cost factors (#60333)
close pingcap/tidb#60357
2025-04-10 21:56:33 +00:00
84183c5550 session: set default value for hash join v2 in NewSessionVars (#60365)
ref pingcap/tidb#53127
2025-04-02 06:51:51 +00:00
914e4ce8d8 session: add a session variable to control whether to use hash join v2 in TiFlash (#60300)
close pingcap/tidb#60299
2025-03-29 04:39:31 +00:00
95181316d5 planner: revert and fix "remove the useless variable tidb_enable_point_get_cache from #36844". (#60272)
close pingcap/tidb#36598
2025-03-27 16:39:52 +00:00
797674c899 sessionctx: reuse Mutex in StatementContext struct (#60004)
close pingcap/tidb#58600
2025-03-12 07:49:54 +00:00
cca5361a8e variable: tidb_pipelined_dml_resource_policy (#57352)
ref pingcap/tidb#50215
2025-03-06 12:03:20 +00:00
b7e1c201db session, variable: add privilege check to set session_states (#59601)
close pingcap/tidb#59600
2025-02-18 17:51:31 +00:00
0c99ccb269 session: track LastCommitTS in SessionVars and check timestamps of later txns are larger (#57305)
close pingcap/tidb#57165
2025-02-13 05:11:58 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
51d723b5e2 sessionctx, executor, infoschema: Add fine grained network traffic stats in slow log (#59041)
ref pingcap/tidb#57543
2025-01-22 02:19:05 +00:00
bf939fa79a *: don't handle live updates of column size (#58596)
close pingcap/tidb#58595
2025-01-06 19:42:49 +00:00
0097df9034 executor,sessionctx: handle last_insert_id(0) like MySQL (#58204)
close pingcap/tidb#58201
2024-12-27 21:22:00 +00:00
a3d60bcfc6 executor: Optimize statement summary performance by avoiding heap memory allocation (#58023)
ref pingcap/tidb#56649
2024-12-11 17:00:12 +00:00
12b942112e *: avoid unlock of unlocked mutex panic on TableDeltaMap (#57799)
close pingcap/tidb#57798
2024-12-05 02:22:14 +00:00
0374ae26b9 planner: provide a system view information_schema.tidb_plan_cache to allow users to see info in the cache (#57699)
ref pingcap/tidb#54057
2024-11-27 03:16:47 +00:00
e5c98671a4 ddl: support scatter region in cluster/global level (#56157)
ref tikv/pd#8424, ref pingcap/tidb#54886, close pingcap/tidb#55184
2024-09-25 15:25:29 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
0442c68e1c *: Deprecated and always set to ON tidb_enable_global_index (#56169)
ref pingcap/tidb#45133
2024-09-24 22:59:43 +00:00
ad68216538 executor: Add session variable for hash join v2 (#56023)
ref pingcap/tidb#53127
2024-09-24 00:10:45 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
a21d9ea447 *: Change cpu usages related representation format (#56044)
ref pingcap/tidb#55542
2024-09-14 10:58:50 +00:00
4371a1d485 *: set default shard_row_id_bits and pre_split_regions for all tables (#55717)
close pingcap/tidb#55716
2024-09-13 08:15:42 +00:00
2c30f865e3 session: set EnableWindowFunction for all SessionVars (#55991)
close pingcap/tidb#55981
2024-09-10 17:40:54 +00:00
7d75f23fed expression: Add GetUserVarsReader to EvalContext (#55866)
close pingcap/tidb#55865
2024-09-09 09:48:24 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
dd64d25266 lightining,expression: support user variable for BuildSimpleExpr and remove PlanContext dependency in lightning context (#55617)
ref pingcap/tidb#53388
2024-09-02 04:55:18 +00:00
adc7597a35 *: replace maps.Copy which is for map clone with std maps.Clone (#55530)
close pingcap/tidb#55527
2024-08-20 11:19:49 +00:00
6a340883bf server: support global scope for tidb_low_resolution_tso sys var (#55000)
close pingcap/tidb#54999
2024-08-12 14:00:02 +00:00
2675c66452 variable: fix data race in GetTemporaryTable (#55338)
close pingcap/tidb#55337
2024-08-09 15:06:41 +00:00
0cfa66fcf0 *: add tiflash_hashagg_preaggregation_mode sys var (#54186)
close pingcap/tidb#54867
2024-08-08 13:03:40 +00:00
99857e33e8 server: add tidb_enable_shared_lock_promotion to support for share lock upgrade (#55023)
close pingcap/tidb#55022
2024-08-08 12:26:10 +00:00
d4c26cae55 table: Add option DupKeyCheckLazy to check duplicated key lazily (#55246)
ref pingcap/tidb#54397
2024-08-08 10:09:40 +00:00
d383367ead planner: add new variables for instance plan cache (#55193)
ref pingcap/tidb#54057
2024-08-06 02:51:39 +00:00
f838cc89fe txn: fix the lock behaviours when for update is used when low resolution tso is used (#54738)
close pingcap/tidb#54684
2024-07-25 03:22:34 +00:00
47179ae14d table: introduce RowIDShardGenerator and ReservedRowIDAlloc to alloc auto row id (#54789)
ref pingcap/tidb#54397
2024-07-24 09:01:35 +00:00
afd6d6a33a server: add protocol support for lazy cursor fetch (#54527)
close pingcap/tidb#54526
2024-07-18 10:22:32 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
4fe31ed95e table: make slices in ColSizeDeltaBuffer private (#54539)
close pingcap/tidb#54392
2024-07-12 03:36:06 +00:00
bf50430eee session, executor, domain: use the SQL start time to calculate the runaway deadline (#54496)
ref pingcap/tidb#54434
2024-07-08 10:12:02 +00:00
7a0611ff35 planner: consider using instance level plan cache (#54472)
ref pingcap/tidb#54057
2024-07-05 15:42:01 +00:00
230bbc2ef5 *: reduce mem allocs caused by GetTextToLog (#54111)
ref pingcap/tidb#54047
2024-07-03 04:26:57 +00:00
0106f4c216 *: fix empty SQL in slow log for internal statement (#54274)
close pingcap/tidb#52743, close pingcap/tidb#53264, close pingcap/tidb#54190
2024-06-28 07:34:24 +00:00
7b8c91d5d6 ddl: clear MDL related tables for create view (#53944)
ref pingcap/tidb#53246
2024-06-12 11:46:30 +00:00
8483dc538b table: Update delta from column slice, instead of map (#53670)
close pingcap/tidb#53660
2024-06-01 12:59:53 +00:00