Commit Graph

113 Commits

Author SHA1 Message Date
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
b6435d1fb1 variable: add all text series types into tidb_analyze_skip_column_types (#52663)
close pingcap/tidb#52636
2024-05-07 01:31:06 +00:00
f7de725ef1 expression: introduce StaticExprContext to build expressions (#52853)
close pingcap/tidb#52852
2024-04-29 10:05:58 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
9036169d2b variable: avoid generating stack for warning (#52782)
close pingcap/tidb#49291
2024-04-26 03:54:11 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
5954be7da2 *: let our unit test cover the infoschema v2 code (#52156)
ref pingcap/tidb#50959
2024-04-12 06:58:53 +00:00
7308ff1b10 disttask: enable on default (#52401)
ref pingcap/tidb#52441
2024-04-12 03:51:23 +00:00
8188ede43a linter, *: enable linters appends and unusedwrite (#52452)
ref pingcap/tidb#52449, close pingcap/tidb#52450
2024-04-10 11:45:22 +00:00
9bb3697349 statistics: upgrade stats timeout checkpoint after it timeouts (#52424)
close pingcap/tidb#52425
2024-04-09 04:34:57 +00:00
c39d79fca5 txn: set txn options in txn provider which avoid data race (#52304)
ref pingcap/tidb#50215
2024-04-08 09:04:50 +00:00
7a20e4390d expression: minimize the PushDownContext (#52135)
close pingcap/tidb#52134
2024-04-02 10:54:18 +00:00
528bd7e37a sysvar: Do not allow set tidb_auto_analyze_ratio to 0 (#52190)
close pingcap/tidb#51582
2024-03-29 07:03:49 +00:00
e7fa954fe4 infoschema_v2: disable tidb schema cache size (#51813)
ref pingcap/tidb#50959
2024-03-18 04:54:42 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
db434c4cf3 executor: remove parallel sort system variable (#51769)
close pingcap/tidb#51766
2024-03-15 03:06:40 +00:00
ef30a6930f sessionctx,executor: support div_precision_increment sysvar (#51538)
close pingcap/tidb#51501
2024-03-14 08:14:10 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
46e95f4c3f bindinfo: add timeout for loading binding from storage (#51550)
ref pingcap/tidb#51347
2024-03-12 12:14:09 +00:00
xhe
15947c1cf2 logutil: adapt new redact functions (#51642)
close pingcap/tidb#51310, close pingcap/tidb#51641
2024-03-12 09:06:39 +00:00
cbe52e6438 txn: introduce pipelined DML (#50389)
ref pingcap/tidb#50215
2024-03-08 10:12:37 +00:00
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00
72182b2d36 stmtctx, execdetails: migrate execdetails inside the stmtctx and related methods to execdetails (#51517)
close pingcap/tidb#51516
2024-03-08 05:38:06 +00:00
xhe
38cc7bed7f session: migrate to the new redact function (#51561)
close pingcap/tidb#51557
2024-03-08 03:21:37 +00:00
a8503e820c statistics: enable the auto-analysis priority queue (#51537)
ref pingcap/tidb#50132
2024-03-07 08:53:07 +00:00