Commit Graph

878 Commits

Author SHA1 Message Date
f0d5f6e9cd txn: remove legacy.SimpleTxnContextProvider (#35667)
close pingcap/tidb#35666
2022-06-29 13:52:39 +08:00
d99b358225 *: only add default value for final aggregation to fix the aggregate push down (partition) union case (#35443)
close pingcap/tidb#35295
2022-06-28 12:08:39 +08:00
0998cba23d txn: refactor ts acquisition within build and execute phases (#35376)
close pingcap/tidb#35377
2022-06-27 11:58:38 +08:00
df9b54bcb3 txn, session: Add (cluster_)trx_summary table (#28835)
ref pingcap/tidb#34457
2022-06-23 11:16:36 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
fc833a30b3 planner, executor: add some comments about how we decide sample rate (#34140)
ref pingcap/tidb#24182
2022-06-22 18:34:37 +08:00
2910dee858 executor: fix wrong runtime stats for ShuffleReceiver (#35293)
close pingcap/tidb#34987
2022-06-22 13:52:37 +08:00
45a9a7e5ab txn: fix bug that some times lock ts and read ts are not the same (#35470)
close pingcap/tidb#35459
2022-06-17 18:20:36 +08:00
ad1cb783c4 *: support paging protocol on unistore (#35244)
ref pingcap/tidb#35242, close pingcap/tidb#35243
2022-06-14 21:46:33 +08:00
b0245cda58 *: clean up coprocessor streaming code (#35277)
close pingcap/tidb#35276
2022-06-10 10:50:31 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
c8468a7010 distsql,executor: using paging protocol for all coprocessor requests (#35068)
close pingcap/tidb#35067
2022-06-01 11:06:27 +08:00
d45a9c8af8 executor, parser, sessionctx: push down InRestrictedSQL flag to proto buffer (#34861)
close pingcap/tidb#34860
2022-05-26 14:06:47 +08:00
79938e695c dml: support for show count(*) warnings | errors (#34721)
close pingcap/tidb#25068
2022-05-23 15:50:46 +08:00
81a852077a executor, parser: indicate analyze is auto or not in proto buffer (#34608)
close pingcap/tidb#34607
2022-05-20 17:42:38 +08:00
01fb9355d6 executor: add ALTER TABLE COMPACT support (#34741)
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
0ac659b4fb planner: fix the issue that the optimizer caches wrong TableDual plans under binary protocol (#34709)
close pingcap/tidb#34678, close pingcap/tidb#34690
2022-05-17 16:24:39 +08:00
d4df6b3c90 executor: get schema and outname of view once in the dataForColumnsInTable (#34658)
close pingcap/tidb#34657
2022-05-17 14:14:38 +08:00
5ca242761c executor: add test cover Analyze task for evicted index (#34622)
ref pingcap/tidb#34052
2022-05-13 14:46:35 +08:00
bbd7541322 *: refine 'tidb_snapshot' behavior (#34573)
close pingcap/tidb#34529
2022-05-11 20:54:34 +08:00
50f3d8faf8 *: retry auto-analyze with adjusted samplerate when oom panic (#34387)
close pingcap/tidb#29938
2022-05-11 18:08:34 +08:00
53f228af45 sysvari: enable statsCache lru by config (#34278)
* add statsquota variable

Signed-off-by: yisaer <disxiaofei@163.com>

* add test

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

* fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

* fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-10 23:49:54 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
73f3435346 ddl: move some admin function to ddl (#34527)
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +08:00
e21b435d0c *: fix index join on partition table data race (#33979)
ref pingcap/tidb#32846, close pingcap/tidb#33751, ref pingcap/tidb#33762
2022-04-19 09:48:02 +08:00
f988f54550 executor: add memory tracker for quering slow_query to avoid TiDB server oom (#33953)
close pingcap/tidb#33893
2022-04-14 14:54:36 +08:00
181bfb73f7 *: polish the table cache feature code (#33408)
close pingcap/tidb#33167
2022-04-08 21:46:33 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +08:00
ec637878d4 txn: fix invalid transaction error when doing stale read in RC isolation level (#33653)
close pingcap/tidb#30872
2022-04-02 11:12:29 +08:00
0f4706418e *: track cluster-level analyze jobs and make it persistent (#32215)
close pingcap/tidb#32403
2022-03-31 21:06:29 +08:00
b35b30bbd5 executor: support extractor for mem table region status (#33498)
close pingcap/tidb#33348
2022-03-30 16:12:29 +08:00
e56013779b executor: fix KVRange bug for index join with dynamic partition pruning (#33483)
close pingcap/tidb#33231
2022-03-30 12:14:29 +08:00
c58e00549d executor: Enhance task field for explain/explain analyze (#33333)
close pingcap/tidb#33332
2022-03-29 10:14:27 +08:00
c7a3f31d5b planner: Disable prepared plan cache for partitioned tables in dynamic prune mode (#33098)
ref pingcap/tidb#33031
2022-03-19 22:30:30 +08:00
d4d43ba0b4 txn: support read consistency read with ts checking (#32922)
close pingcap/tidb#33159
2022-03-16 20:49:52 +08:00
e110e73bf7 bindinfo: support disabled status for binding (#32819)
ref pingcap/tidb#32466
2022-03-16 15:45:52 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
3393cf96a3 *: support mpp partition for tiflash (#31043)
close pingcap/tidb#32347
2022-03-15 18:35:52 +08:00
0cd9b243ce executor: fix data race in the AnalyzeColumnsExec (#32979)
close pingcap/tidb#32978
2022-03-14 11:53:51 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
e4ced47fa2 planner,executor: fix cached table query with filter condition (#32590)
close pingcap/tidb#32422
2022-03-09 19:37:49 +08:00
4ab66b8ac2 executor: refine execution of cancelDDL (#32914)
close pingcap/tidb#32913
2022-03-09 14:51:49 +08:00
b9bd5a7d7e *: add explicit partition pruning to index joins (#32007) (#32093)
close pingcap/tidb#32007
2022-03-09 08:33:48 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
7e627e8222 executor: make the create/start/end time in admin show ddl jobs TZ aware (#32450)
ref pingcap/tidb#26642
2022-02-23 17:25:43 +08:00
1cf4fcfa73 *: support prepared plan cache for cached table (#32139)
close pingcap/tidb#32003
2022-02-14 12:29:37 +08:00