Commit Graph

294 Commits

Author SHA1 Message Date
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
2041d494cc util: Adjust binary collate behavior to do pattern matching in bytes (#51113)
close pingcap/tidb#50393
2024-02-21 08:45:27 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
52052f1044 bootstrap: remove mysql.load_data_jobs (#51176)
ref pingcap/tidb#44078
2024-02-20 13:21:27 +00:00
fa340f3400 executor: fix CTE goroutine leak when exceeds mem quota (#50828)
close pingcap/tidb#50337
2024-02-19 09:42:26 +00:00
aca145b164 ddl, lightning: use TiDB PD client's discovery to create local backend (#51108)
close pingcap/tidb#51103
2024-02-18 10:55:55 +00:00
65d57c0a43 import into: log checksum for each KV group (#50871)
ref pingcap/tidb#50832
2024-02-18 08:55:55 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
fdcbd896e2 importinto: add disable_precheck option & change default threadcnt when import from select (#51077)
ref pingcap/tidb#49883
2024-02-08 13:20:46 +00:00
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
b94a2a8811 planner: adding missing code of similar definition for test (#51035)
close pingcap/tidb#45112
2024-02-07 17:07:15 +00:00
4c749f052b executor,planner: make used stats info thread safe (#51029)
close pingcap/tidb#50835
2024-02-07 09:40:22 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
f7aaf1cfa1 executor: change ut parameters in parallel aggregate hash spill ut (#51012)
ref pingcap/tidb#47733
2024-02-06 11:16:15 +00:00
cea36059cb expression: fix some failed tests in local env (#50954)
close pingcap/tidb#50953
2024-02-05 02:58:13 +00:00
9a0b6b6d32 executor,bootstrap: add tidb_index_usage table and cluster_tidb_index_usage table (#50824)
close pingcap/tidb#50823
2024-02-04 12:55:13 +00:00
402c52eedb executor: Support spill of parallel hash aggregate (#49074)
ref pingcap/tidb#47733
2024-02-04 10:23:42 +00:00
c6d727054a infoschema: remove some redundant methods from InfoSchema (#50916)
ref pingcap/tidb#50959
2024-02-04 08:41:42 +00:00
1befe9855d executor: record the index usage on a the whole table (#50816)
close pingcap/tidb#50814
2024-02-02 07:25:54 +00:00
9bad2027d5 importinto: support import from stale read (#50852)
ref pingcap/tidb#49883
2024-02-01 11:15:24 +00:00
efe8523d53 planner/infoschema: add predicate pushdown for system tables (#50779)
ref pingcap/tidb#50305
2024-02-01 10:30:25 +00:00
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
c76fe3ff97 plan replayer: fix cannot load bindings when the statement contains in (...) (#50762)
close pingcap/tidb#43192
2024-01-31 13:54:25 +00:00
acd4999594 executor: fix negative consumedbyte for hashRowcontainer (#50843)
close pingcap/tidb#50841
2024-01-31 10:24:24 +00:00
d0d4eca445 executor: enhance memory tracking for IndexLookup (#49336)
close pingcap/tidb#45901
2024-01-31 07:58:54 +00:00
7ca7a04da6 executor: log each response for checksum (#50833)
ref pingcap/tidb#50832
2024-01-31 04:15:23 +00:00
62e6bb307b *: remove redundant go_test (#50812)
close pingcap/tidb#50799
2024-01-30 08:39:30 +00:00
66401b5c06 executor: remove useless code for tidb_analyze_distsql_scan_concurrency (#50811)
close pingcap/tidb#50641
2024-01-30 08:39:24 +00:00
0250675b0b txn: deprecate the transaction auto retry and related statement count limit (#50782)
ref pingcap/tidb#50350
2024-01-30 08:10:59 +00:00
fdb13d1080 importinto: fix checksum always use default distsql-scan-concurrency (#50807)
close pingcap/tidb#50805
2024-01-30 06:33:22 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
6a87b80e2c sessionctx: fix data race of SessionVars.Status (#50729)
close pingcap/tidb#50715
2024-01-26 18:39:20 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
761b404fe2 executor: ChecksumTableExec respects SQLKiller (#50726)
close pingcap/tidb#50651
2024-01-26 03:39:28 +00:00
c072334a99 *: impl mock PD service discovery and update pd client version (#50718)
ref pingcap/tidb#35319
2024-01-26 03:39:21 +00:00
c852515fe2 lightning: convert pebbleDB block size to default when user passes in 0 (#50690)
ref pingcap/tidb#45037
2024-01-25 05:40:51 +00:00
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
7c5f9d4fab *: support display tiflash ru in explain analyze (#50406)
close pingcap/tidb#50637
2024-01-24 09:16:51 +00:00
8aff603df8 exeuctor: fix data race for test TestInterruptedDuringSort (#50681)
close pingcap/tidb#50679
2024-01-24 04:46:50 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
9a326b9619 executor: add kill signal check logic for sortPartition and rowContainer (#50510)
close pingcap/tidb#50511
2024-01-23 07:42:19 +00:00
301d1d2048 statistics/handle/usage: modify the SessionIndexUsageCollector to implement new index usage design (#50050)
close pingcap/tidb#49835
2024-01-22 14:40:50 +00:00
6957170f11 executor: use analyze scan concurrency to control index analyze (#50639)
close pingcap/tidb#50641
2024-01-22 11:37:49 +00:00
8d6e347386 executor: avoid the situation where processedRows is greater than totalCnt (#50615)
close pingcap/tidb#50632
2024-01-22 09:45:19 +00:00
1db15879c1 importinto: add more test (#50558)
ref pingcap/tidb#49883
2024-01-22 05:00:19 +00:00
4539d600e5 planner: clean BindRecord in the binding package (#50590)
ref pingcap/tidb#48875
2024-01-19 08:40:48 +00:00
188726aec6 importinto: fix multiple pd addr (#50587)
close pingcap/tidb#50586
2024-01-19 06:19:47 +00:00
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00