Commit Graph

208 Commits

Author SHA1 Message Date
2c30f865e3 session: set EnableWindowFunction for all SessionVars (#55991)
close pingcap/tidb#55981
2024-09-10 17:40:54 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
c8732f72b2 TopSQL: add table id in resource tag (#55555)
ref pingcap/tidb#55540
2024-09-10 07:14:48 +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
edbec22e2f ddl: use static contexts in NewReorgCopContext (#55823)
ref pingcap/tidb#53388
2024-09-05 06:03: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
e72089d01c statistics: fix a data race in auto-analyze (#55501)
ref pingcap/tidb#53460
2024-08-22 10:43:43 +00:00
1ee498eb1b ddl: abstract job submitter & move some fields from ddlCtx to jobContext (#55461)
ref pingcap/tidb#54436
2024-08-21 04:21:12 +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
e30408e869 variable: mark analyze-partition-concurrency-quota as deprecated (#55409)
ref pingcap/tidb#55043
2024-08-20 02:24:12 +00:00
f272707509 *: support concurrent auto analyze (#54432)
close pingcap/tidb#53460
2024-08-16 09:13:12 +00:00
1b172b674f sessionctx: fix a deadlock when set tidb_restricted_read_only = true (#55407)
close pingcap/tidb#53822, close pingcap/tidb#55373
2024-08-14 13:22:38 +00:00
70381eadc1 *: enable infoschema v2 by default (#55229)
ref pingcap/tidb#50959
2024-08-14 05:18:08 +00:00
594d02af68 planner: add more log and metrics for instance plan cache eviction (#55377)
ref pingcap/tidb#54057
2024-08-13 08:57:09 +00:00
3db0322bed ddl: support session level tidb_ddl_reorg_worker_cnt and batch_size (#55334)
close pingcap/tidb#55335
2024-08-13 04:34:32 +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
2a731e66cf planner: support using "KiB/MiB/GiB" to set isntance_plan_cache_target/max_mem_size (#55316)
ref pingcap/tidb#54057
2024-08-09 04:09: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
c981864c8a session: update comments for statistics related variables (#55220)
ref pingcap/tidb#55043
2024-08-07 09:30:55 +00:00
d940b7ddc2 *: init ctx for extractWorker (#55228)
close pingcap/tidb#55217
2024-08-06 14:48:40 +00:00
ffaefa9318 planner: add metrics for instance plan cache (#55218)
ref pingcap/tidb#54057
2024-08-06 10:27:46 +00:00
1985662294 table: add new option DupKeyCheckMode for table mutations (#55194)
ref pingcap/tidb#54397
2024-08-06 07:18: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
41bb8f57c7 ddl: integrate fast create table into normal general DDL workflow (#55025)
ref pingcap/tidb#54436
2024-07-31 15:59:50 +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
6854e60698 session, config, sessionctx, executor: Set tidb_opt_projection_push_down to false when tidb upgrades from versions older than 8.3.0 to 8.3.0 and later (#54861)
ref pingcap/tidb#51876
2024-07-25 01:54:05 +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
8cd82a44ad infoschema_v2: init schema cache size in meta (#54530)
ref pingcap/tidb#50959
2024-07-17 11:18:00 +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
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +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
d19fc99ec6 planner: refactor a few code of plan cache (#54464)
ref pingcap/tidb#54057
2024-07-05 03:50:58 +00:00
3d76a6f93b variable: deprecated tidb_auto_analyze_partition_batch_size (#53760)
close pingcap/tidb#53853
2024-07-03 17:28:28 +00:00
230bbc2ef5 *: reduce mem allocs caused by GetTextToLog (#54111)
ref pingcap/tidb#54047
2024-07-03 04:26:57 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
abfee2337c *: make changes to tidb_schema_cache_size effective immediately (#54279)
ref pingcap/tidb#50959
2024-07-02 13:32:56 +00:00
585c631742 session, infosync: add a cursor tracker to the session to keep tracking all needed information of the cursor. (#54114)
close pingcap/tidb#54113
2024-07-01 10:22:35 +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
1469fcfd59 sessionctx: add tidb_analyze_column_options global variable (#54200)
ref pingcap/tidb#53567
2024-06-26 11:10:29 +00:00
d1854a74e2 planner: add InstacnePlanCache to Domain (#54231)
ref pingcap/tidb#54057
2024-06-26 10:28:29 +00:00
6b0db7f013 variable: support tidb_schema_cache_size reasonable range (#54035)
close pingcap/tidb#54034
2024-06-26 07:58:23 +00:00