Commit Graph

141 Commits

Author SHA1 Message Date
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
6cca89c794 executor, planner: add a smaller context for ToPB method (#52369)
close pingcap/tidb#52368
2024-04-10 05:31:51 +00:00
12833e8278 executor, planner: minimize the context used by the ranger package (#52363)
close pingcap/tidb#52362
2024-04-09 10:57:21 +00:00
fab13afa2b expression: Move more methods from SessionVars to BuildContext (#52440)
ref pingcap/tidb#52366
2024-04-09 09:00:34 +00:00
9bb3697349 statistics: upgrade stats timeout checkpoint after it timeouts (#52424)
close pingcap/tidb#52425
2024-04-09 04:34:57 +00:00
1905e8973c expression: add some methods in BuildContext to read fields in SessionVars before (#52367)
close pingcap/tidb#52366
2024-04-09 02:39:20 +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
f7d66f4913 distsql: use a more accurate type of the context of distsql (#51618)
close pingcap/tidb#51617
2024-04-01 08:27:16 +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
bd17acde8c infoschema: introduce MetaOnlyInfoSchema to provide meta only information schema (#52070)
close pingcap/tidb#52072
2024-03-26 10:20:17 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
531e7730e7 bindinfo: fix compatibility of encoding SQL bindings between TiDB versions (#51868)
close pingcap/tidb#51859
2024-03-19 02:17:13 +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
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +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
xhe
6000c2a5e1 session: change tidb_redact_log to enum type (#51308)
close pingcap/tidb#51307
2024-03-05 08:08:05 +00:00
13bff87d08 variable: unifiy MaxExecuteTime usage and fix some problem (#50915)
close pingcap/tidb#50872, close pingcap/tidb#50914
2024-03-04 10:24:34 +00:00
36f94d7709 sessionctx: add sysvar to control low resolution tso update interval (#51437)
close pingcap/tidb#51081
2024-03-04 02:23:03 +00:00
6dd47fe671 *: add variable for priority queue (#51447)
ref pingcap/tidb#50132
2024-03-01 13:36:32 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
bda61f6767 *: remove useless stmtVars method in SessionVars (#51345)
close pingcap/tidb#51344
2024-02-29 09:44:12 +00:00
0e8533c0f2 *: support building infoschema V2, and introduce @@tidb_schema_cache_size (#51257)
close pingcap/tidb#51256
2024-02-29 09:44:01 +00:00
a59551b701 ddl: rename tidb_ddl_version to tidb_enable_fast_create_table (#51047)
close pingcap/tidb#50052
2024-02-28 08:39:31 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00