bb0e8a18d2
executor: split hashjoin part3 ( #39089 )
...
ref pingcap/tidb#39061
2022-11-15 15:07:54 +08:00
d734cc8e8e
*: refactor some functions for better reusability ( #39133 )
2022-11-14 17:13:55 +08:00
238caf6571
*: add statistic lock/unlock function ( #38387 )
2022-11-11 22:25:54 +08:00
b5e1f7a2e4
executor: split hashjoin into workers(part2) ( #39079 )
...
ref pingcap/tidb#39061
2022-11-11 16:31:53 +08:00
42ff5e6ec6
executor: split hashjoin into workers(part1) ( #39063 )
...
ref pingcap/tidb#39061
2022-11-11 10:47:54 +08:00
ea26284ea3
*: avoid special cases DATA RACE ( #38918 )
...
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
6ab17074b8
telemetry: telemetry supports count flashback cluster ( #38901 )
...
close pingcap/tidb#38896
2022-11-04 17:46:03 +08:00
0b3e1e9be0
*: Chunkreuse try reuse chunk in operator ( #38607 )
...
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
5fa9e2512c
executor: support foreign key on update cascade in insert on duplicate update statement ( #38793 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2022-11-02 12:25:35 +08:00
38e9aa02ef
*: support foreign key on update cascade and set null when execute update statement ( #38652 )
...
close pingcap/tidb#38651
2022-11-01 13:07:59 +08:00
0e23da6e7c
*: create a user using tidb_auth_token authentication ( #38585 )
...
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
40f059a289
executor: add some memory tables to observe memory usage ( #38452 )
...
ref pingcap/tidb#37816
2022-10-28 15:05:59 +08:00
43468983d9
*: add foreign key cascade delete when execute delete statement ( #38377 )
...
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
4699c7d896
*: support ATTRIBUTE and COMMENT in CREATE USER and ALTER USER statements ( #38201 )
...
close pingcap/tidb#38172
2022-10-20 14:35:54 +08:00
298ce91ab4
ddl: LINEAR HASH as HASH partitioned table ( #38451 )
...
close pingcap/tidb#38450
2022-10-19 17:15:54 +08:00
61eed5c362
copr: increase extra concurrency for small coprocessor tasks ( #37725 )
...
close pingcap/tidb#37724
2022-10-14 16:13:52 +08:00
9c85f33a09
*: add foreign key constraint check when execute delete statement ( #38222 )
...
close pingcap/tidb#38221
2022-10-11 15:09:51 +08:00
6a9da0f71c
executor: better error message for ADMIN CHECK INDEX ( #38298 )
...
close pingcap/tidb#37323
2022-10-11 11:45:50 +08:00
24723e00e1
*: add foreign key constraint check when execute update statement ( #38156 )
...
close pingcap/tidb#38155
2022-09-29 14:25:44 +08:00
415d03f956
executor: ALTER TABLE COMPACT support partition ( #36173 )
...
ref pingcap/tiflash#5315 , close pingcap/tidb#36175
2022-09-28 13:41:44 +08:00
858b8a38ea
*: add foreign key constraint check when execute insert statement ( #37466 )
...
close pingcap/tidb#37465
2022-09-24 00:41:43 +08:00
c4f6de159b
planner: PhysicalPlan memory trace 7 ( #38030 )
...
ref pingcap/tidb#37632
2022-09-23 15:29:43 +08:00
59b4a8e910
table partition: exchange partition telemetry ( #37875 )
...
close pingcap/tidb#37874
2022-09-22 01:25:02 +08:00
0823fdb6b3
planner, executor: implement the null-aware antiSemiJoin and null-aware antiLeftOuterSemiJoin (hash join with inner build) ( #37512 )
...
close pingcap/tidb#37525
2022-09-20 00:05:03 +08:00
06a1659521
*: Telemetry for multi-column RANGE COLUMNS partitioning ( #37828 )
...
ref pingcap/tidb#36636
2022-09-17 00:16:59 +08:00
c19dc460c0
executor: support plan replayer multi sqls ( #37867 )
...
close pingcap/tidb#37798
2022-09-16 13:40:59 +08:00
c5c5ceeaab
planner: PhysicalPlan memory trace 4 ( #37736 )
...
ref pingcap/tidb#37632
2022-09-16 11:40:58 +08:00
f0d8d47df5
telemetry: interval partitioning ( #36486 )
...
close pingcap/tidb#36525
2022-09-14 18:12:58 +08:00
ea2ddfee03
executor: let PlanReplayerExec support multi sqls ( #37799 )
...
ref pingcap/tidb#37798
2022-09-14 16:17:00 +08:00
7eb7ca902a
planner: fallback to static plan for partition table if having no global stats in dynamic prune mode ( #37573 )
...
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
62480cf19b
*: add telemetry support for account lock/unlock ( #37344 )
...
close pingcap/tidb#37324
2022-09-07 18:40:56 +08:00
36b6710c64
executor: disable closest replica read if cluster is not balanced ( #36824 )
...
ref pingcap/tidb#35926
2022-09-07 11:28:56 +08:00
0d8af9436a
executor: fix flaky TestDefaultValForAnalyze ( #37576 )
...
close pingcap/tidb#36341
2022-09-02 18:16:25 +08:00
5a39851554
executor: fix missing index names in stmt summary/slow log for [Batch]PointGet ( #37073 )
...
close pingcap/tidb#37066
2022-08-12 18:42:49 +08:00
d6d0ce7b10
*: gofmt code for adapting go 1.19 ( #36832 )
...
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
7d744b18e2
planner: remove execID in ExecuteStmt ( #36967 )
...
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
d76074623c
planner: unify the parameters name in plan cache ( #36899 )
...
ref pingcap/tidb#36598
2022-08-05 17:20:06 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
c4c066554b
executor: add syntax 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' to retrieve DDL commands within a certain range ( #36480 )
...
close pingcap/tidb#36198
2022-07-25 13:07:10 +08:00
8bc002e77c
table partition: add telemetry for partition table ( #36204 )
...
close pingcap/tidb#34949
2022-07-22 11:53:09 +08:00
ab513bf0ca
ddl: support concurrent ddl ( #32169 )
...
* 1. init ddl tables
create tidb_ddl_job, tidb_ddl_reorg, tidb_ddl_history tables with raw meta write, these 3 tables is use to replace the ddl job queue and reorg and history hash table
* 2. setup concurrent ddl env and add ddl worker pool
adds the ddl worker pool definition, the ddl job manager will find a job and ship it to a worker in the worker pool.
Also, this commit provides a sessionctx wrapper, only use in ddl relate. it just wraps begin, commit and execute
* 3. add ddl manager to handle ddl job
* 4. reorg handler for concurrent ddl
just implements the partner of the reorg information.
* 5. manage ddl jobs for concurrent ddl
add the partner of add job, delete job and many others related to history job
because many of the functions need a session now, we just change the caller
* 6. add metrics for concurrent ddl
add metrics
* 7. support multiple tables
* 8. fix test
* 9. migrate ddl between table and queue
support switch between the old and new ddl framework, migrate the existing ddl job between queue and table
* 10. check tikv version and set reorg worker count according cpu count
* *: add featuretag on tests
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com >
* use a determined table id for 3 tables
* remove ctx value
* add GetSchemaVersionWithNonEmptyDiff function
* address tangenta and zimulala comment
* use only one etcd path
* make ActionRenameTable support multi-schema
* reset sql digest to make top sql work correct
* add comment
* fix test
* remove 0 for schema version lock
Co-authored-by: xiongjiwei <xiongjiwei1996@outlook.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
Co-authored-by: wjHuang <huangwenjun1997@gmail.com >
2022-07-20 21:20:07 +08:00
a6b3f3d454
compact: Add syntax for COMPACT command without specifying the replica ( #36368 )
...
ref pingcap/tidb#34749
2022-07-20 16:53:09 +08:00
afd71bdefd
executor: support dispatch cop request to closest replica adaptively ( #35927 )
...
ref pingcap/tidb#35926
2022-07-19 17:59:07 +08:00
5a01b63475
executor: fix dead loop for indexMergeJoin in paging. ( #35918 )
...
close pingcap/tidb#35831
2022-07-11 11:11:05 +08:00
adab58b360
infoschema, executor: Add variables_info table to see sysvar details ( #35995 )
...
close pingcap/tidb#21446
2022-07-07 11:51:02 +08:00
c76d686e67
*: add telemetry support for multi-schema change ( #35977 )
...
ref pingcap/tidb#14766
2022-07-06 16:27:03 +08:00
55aea2787d
*: use pdqsort to improve sort performance ( #34404 )
...
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
0f7faa67d8
ddl: refine GetDDLInfo function ( #35969 )
2022-07-06 13:19:02 +08:00
441c9cde30
txn: rename snapshot related methods in txnManager. ( #35912 )
...
close pingcap/tidb#35915
2022-07-05 12:37:01 +08:00
157c178f27
*: seperate TxnScope and ReplicaReadScope ( #35877 )
...
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00