Commit Graph

138 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6b0db7f013 variable: support tidb_schema_cache_size reasonable range (#54035)
close pingcap/tidb#54034
2024-06-26 07:58:23 +00:00
fd2b5e97a1 statistics: always tracking predicate columns (#54152)
ref pingcap/tidb#53567
2024-06-24 06:56:56 +00:00
88c087b51e global sort: output clear error message (#54126)
close pingcap/tidb#54096
2024-06-21 05:16:18 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
c455119d81 sessionctx: mark tidb_enable_auto_analyze_priority_queue as deprecated (#54088)
ref pingcap/tidb#50132
2024-06-19 08:56:54 +00:00
7b8c91d5d6 ddl: clear MDL related tables for create view (#53944)
ref pingcap/tidb#53246
2024-06-12 11:46:30 +00:00
8d28b23c3c sessionctx: add warning for system variable tidb_enable_parallel_hashagg_spill (#53917)
close pingcap/tidb#53919
2024-06-12 02:04:29 +00:00
fc3132ce9b expression: JSON_SCHEMA_VALID() (#52780)
close pingcap/tidb#52779
2024-06-03 06:17:54 +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
100aa05042 sysvar: tidb_enable_column_tracking only takes effect when tidb_persist_analyze_options is turned on (#53481)
close pingcap/tidb#53478
2024-05-23 12:07:17 +00:00
def7c2313c *: adaptively control analyze distsql concurrency (#53261)
close pingcap/tidb#53262
2024-05-21 13:58:16 +00:00
53bf76f4eb variable: remove text as a default type in the tidb_analyze_skip_column_types (#53438)
close pingcap/tidb#52636
2024-05-21 11:04:16 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
81a7cf5548 variable: disable tidb_enable_historical_stats by default (#53046)
close pingcap/tidb#53048
2024-05-07 11:11:39 +00:00