Commit Graph

2091 Commits

Author SHA1 Message Date
f272707509 *: support concurrent auto analyze (#54432)
close pingcap/tidb#53460
2024-08-16 09:13:12 +00:00
fe70f250c6 infoschema: let applyDropSchemaV2 return affected table IDs (#55445)
close pingcap/tidb#55425
2024-08-16 08:38:48 +00:00
4917ebb8c0 pkg/metrics: improve the TiDB-Runtime->Memory Usage panel (#55391)
ref pingcap/tidb#55390
2024-08-16 08:38:41 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +00:00
f73e3e34c5 ddl: clone table meta for recover table (#55443)
close pingcap/tidb#55442
2024-08-16 06:23:41 +00:00
20454187d2 ddl: Global index more restrictions (#55440)
close pingcap/tidb#55424
2024-08-15 13:14:41 +00:00
881eedd00e *: add extractor for cluster_tidb_index_usage (#55416)
ref pingcap/tidb#50305
2024-08-15 12:01:11 +00:00
281c75842e ddl: move structs related to scheduler out from ddlCtx & add job context (#55411)
ref pingcap/tidb#54436
2024-08-15 11:02:42 +00:00
fcff6e1a45 *: fix an unstable test case TestJoinSystemTableContainsView (#55431)
close pingcap/tidb#55414
2024-08-15 08:59:41 +00:00
c74a2330c0 planner: move logical union all to logicalop pkg. (#55402)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-15 05:13:11 +00:00
34d275d66e planner: fix index merge typo (#55410) 2024-08-15 04:16:10 +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
6499137a0c table: remove method Txn() in MutateContext (#55400)
close pingcap/tidb#55378
2024-08-14 11:18:07 +00:00
afd7b979e5 domain/rg: organize and enhance the code of RunawayChecker (#55331)
ref pingcap/tidb#54434
2024-08-14 10:07:38 +00:00
aa4e2b323b planner/core: define extractors for sequences and constraints memtables (#55257)
ref pingcap/tidb#50305
2024-08-14 09:00:08 +00:00
eeb3d73f7c planner: move logical apply to logicalop pkg. (#55370)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-14 07:51:15 +00:00
cfcd1641fd *: update extractor for tidb_index_usage and columns table (#55263)
ref pingcap/tidb#50305
2024-08-14 07:51:08 +00:00
c48e53a9e0 kv: reduce the distsql concurrency if the runaway query action is COOLDOWN (#55310)
ref pingcap/tidb#55029
2024-08-14 07:18:07 +00:00
70381eadc1 *: enable infoschema v2 by default (#55229)
ref pingcap/tidb#50959
2024-08-14 05:18:08 +00:00
0e47f9acd7 table: Add PessimisticLazyDupKeyCheckMode to determine lazy mode in pessimistic txn (#55360)
close pingcap/tidb#54397
2024-08-14 03:07:37 +00:00
bab3667b40 executor: fix data race in hash agg spill test (#55387)
close pingcap/tidb#55376
2024-08-13 08:57:16 +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
89bb81b3a7 planner: add more test cases for instance plan cache (#55385)
ref pingcap/tidb#54057
2024-08-13 08:10:46 +00:00
bbe52667b0 planner/core: infoschema tables should show global temp tables (#55379)
close pingcap/tidb#55375
2024-08-13 08:10:32 +00:00
7e9f85320d planner: move rule_constant_propagation to rule pkg. (#55231) (#55345)
ref pingcap/tidb#55231
2024-08-13 05:06:10 +00:00
bc6a18df27 *: update v2 infoschema reader support for tables Indexes, Views, KeyColumnUsage, TableConstraints (#55241)
ref pingcap/tidb#50959
2024-08-13 05:06:03 +00:00
fcc2f72945 planner: move logical aggregation to logicalop pkg (#55371)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-13 04:34:39 +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
9a7e5cc2f7 planner: incorrect query result using ISNULL in the nested expressions (#55306)
close pingcap/tidb#55299
2024-08-13 03:36:09 +00:00
29d52a7bff meta, util: skip unmarshal unneeded JSON fields (#55304)
ref pingcap/tidb#55324
2024-08-13 03:36:02 +00:00
1f40cb0bc2 *: support batch create/drop bindings from plan/sql digest (#55315)
close pingcap/tidb#55343
2024-08-12 19:52:31 +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
cde560352a *: fix flaky test TestRecordHistoryStatsAfterAnalyze (#55365)
close pingcap/tidb#55364
2024-08-12 12:52:38 +00:00
2fb61a5eb2 *: Require GLOBAL IndexOption for creating Global Index (#55264)
close pingcap/tidb#52994
2024-08-12 12:52:31 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
4baaa182ed infoschema: update two tests to make them robust and a tiny fix (#55362)
ref pingcap/tidb#50959, close pingcap/tidb#55132
2024-08-12 11:43:31 +00:00
bc0af68244 planner: add more test cases for instance plan cache (#55363)
ref pingcap/tidb#54057
2024-08-12 10:09:02 +00:00
66e192d842 tables: remove unnecessary function (#55361) 2024-08-12 08:40:32 +00:00
e767f86c53 executor: try to optimize index join query by reduce cop task count (#55359)
close pingcap/tidb#55357
2024-08-12 07:52:31 +00:00
51d57aaa36 *: rename current_affected_rows to rows_affected (#54921)
ref pingcap/tidb#54486
2024-08-12 07:19:31 +00:00
67d6e70f94 executor: fix incorrect result when hash agg spill is triggered (#55322)
close pingcap/tidb#55290
2024-08-12 06:46:38 +00:00
813fe19df9 executor, infoschema: filter out the PRIMARY index and foreign keys in table_constraints (#55255)
close pingcap/tidb#55253
2024-08-12 06:46:31 +00:00
2abd334934 planner: move logical join and logical selection to logicalop (#55272)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-12 05:42:01 +00:00
004b442fb9 pkg/planner: set proj.AvoidColumnEvaluator in postOptimize (#55333)
close pingcap/tidb#52985
2024-08-12 04:49:38 +00:00
d78bb91e32 gc_worker: make deleteRanges concurrent (#54571)
close pingcap/tidb#54570
2024-08-12 04:49:31 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
6df7aba3b8 planner: support generating leading and hash_join_build hint from physical plan (#55195)
close pingcap/tidb#55280
2024-08-09 16:20:11 +00:00
2675c66452 variable: fix data race in GetTemporaryTable (#55338)
close pingcap/tidb#55337
2024-08-09 15:06:41 +00:00
240702efb4 planner: move base physical plan into physicalop pkg. (#55131)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-09 12:47:12 +00:00