Commit Graph

175 Commits

Author SHA1 Message Date
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
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
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +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
07508df51f ddl: introduce newReorgExprCtx to replace mock.Context usage (#53389)
ref pingcap/tidb#53388
2024-05-21 06:23:46 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
f0af7766a2 stmtctx, context: remove the redundant implementation of warnings/extraWarnings in statement context (#52862)
close pingcap/tidb#52848
2024-05-15 07:13:12 +00:00
acdb6f58e3 planner: UPDATE's select plan's output col IDs should be stable (#53268)
close pingcap/tidb#53236
2024-05-14 14:17:42 +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
17d3f7fd45 planner: small refactor for plan cache (#53028)
ref pingcap/tidb#50618
2024-05-06 09:04:07 +00:00
f7de725ef1 expression: introduce StaticExprContext to build expressions (#52853)
close pingcap/tidb#52852
2024-04-29 10:05:58 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +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
cd90f81880 statistics: support global singleflight for sync load (#52796)
close pingcap/tidb#52797
2024-04-24 09:51:11 +00:00
f383e0e685 ddl: add some comments to help readability (#52825) 2024-04-24 08:33:18 +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
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +00:00
f1ddb5a968 stmtsummary: add new columns plan_cache_unqualifed into statement_summary (#52725)
close pingcap/tidb#50618
2024-04-22 04:42:09 +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