Commit Graph

4841 Commits

Author SHA1 Message Date
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
3d3a04e12a executor: fix drop global stats (#34820)
close pingcap/tidb#34815
2022-05-19 18:22:39 +08:00
a3f283b9d6 planner: enable prepared plan-cache by default and update the default cache capacity (#34818)
close pingcap/tidb#34724
2022-05-19 18:02:39 +08:00
0cbccb74f3 *: move config file options prepared-plan-cache.* to sysvars (#34790)
close pingcap/tidb#30168, ref pingcap/tidb#33769
2022-05-19 16:18:39 +08:00
2f4b11dc26 planner: disable the new cost implementation by default (#34810) 2022-05-19 16:01:16 +08:00
d3185cc796 executor, statistics: drop the samples whose length is too long (#32536)
close pingcap/tidb#31726, ref pingcap/tidb#32535
2022-05-19 14:26:39 +08:00
37ba54ec04 test: fix data race in the test mocker (#34796)
close pingcap/tidb#34795
2022-05-19 11:48:39 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
a9614850f9 *: move config file option oom-action to sysvar (#34644)
ref pingcap/tidb#33769
2022-05-19 05:16:38 +08:00
eae2ae84f4 *: move config file option tidb_enable_auto_analyze to sysvar (#34643)
ref pingcap/tidb#33769
2022-05-19 02:34:38 +08:00
01fb9355d6 executor: add ALTER TABLE COMPACT support (#34741)
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
d40b5e127b executor: remove testify suite (#34756)
ref pingcap/tidb#26854
2022-05-18 11:44:37 +08:00
828a255111 infoschema: adjust column type for information_schema.analyze_status (#34705)
close pingcap/tidb#34706
2022-05-18 00:42:37 +08:00
d2ada35afa *: move config file option require_secure_transport to sysvar (#34261)
ref pingcap/tidb#33769
2022-05-17 22:02:37 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
a3193a88c1 *: change global kill config and add telemetry (#34733)
ref pingcap/tidb#8854
2022-05-17 21:20: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
683ba092b5 planner: enable the new cost implementation by default (#34567)
close pingcap/tidb#33945
2022-05-17 00:02:38 +08:00
e0c0c737a2 *: add metrics for stats healthy (#34636)
close pingcap/tidb#34691
2022-05-16 21:18:38 +08:00
0ec79496b6 planner: fix prepared statement with window function will check the args in the preparation. (#34503)
close pingcap/tidb#31471
2022-05-16 15:22:36 +08:00
e1ccd33247 executor: fix DATA RACE for reading information_schema.columns where there are views (#34538)
close pingcap/tidb#34509
2022-05-16 13:52:36 +08:00
bbfbe137eb *: move config file option enable-batch-dml to sysvar (#33803)
ref pingcap/tidb#33769
2022-05-13 22:12:37 +08:00
ad53ac2625 config: add unit test for assert tidb_stats_cache_mem_quota (#34633)
ref pingcap/tidb#34052
2022-05-13 18:28:36 +08:00
b8ea8b6e29 planner: strengthen the cases the join reorder can apply (#34603)
close pingcap/tidb#34590, close pingcap/tidb#34591
2022-05-13 16:40:36 +08:00
856e82ad6a txn: add methods to handle error for TxnManager (#34489)
close pingcap/tidb#34533
2022-05-13 16:00:37 +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
1c6dcf0913 planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
2022-05-13 14:12:28 +08:00
0703a64f76 planner: plan cache always check scheme valid in RC isolation level (#34523)
close pingcap/tidb#34447
2022-05-13 10:42:35 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08: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
3637d41120 executor: fix processlist's Mem is not zero when HashJoin finished (#34569)
close pingcap/tidb#34571
2022-05-11 17:40:34 +08:00
218247e80e *: improve stack message in the panic log (#34564)
close pingcap/tidb#34356
2022-05-11 16:34:34 +08:00
a58e519055 *: change mysql.analyze_jobs.instance column type (#34542)
close pingcap/tidb#34543
2022-05-11 11:14: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
adebe4452b executor: fix time filter condition when select from information.slow_query_log (#34322)
close pingcap/tidb#34320
2022-05-10 10:56:33 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
9f15cac7a7 planner: fix the explain verbose to be NOT case insensitive (#34471)
close pingcap/tidb#34469
2022-05-09 15:44:33 +08:00
b1379a61b5 executor: release memory usage of task in indexJoin/indexHashJoin (#34418)
close pingcap/tidb#34417
2022-05-09 15:16:33 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
685de0e099 ddl: fix recover table will still push table state even if meet error (#34410)
close pingcap/tidb#34438
2022-05-09 11:02:33 +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
4b917c47ec util/codec: Fix analyze table for partitioned table with datetime column and version 1 (#34228) (#34364)
close pingcap/tidb#34228
2022-05-05 20:18:56 +08:00
4e21680458 log: avoid panic on unknown log format (#34360)
close pingcap/tidb#34359
2022-05-04 10:14:54 +08:00
698a4ffe00 *: move config file option query-log-max-len to sysvar (#34305)
ref pingcap/tidb#33769
2022-05-04 00:46:54 +08:00
dd01b5586e util: improve stack message in the panic log (#34357)
close pingcap/tidb#34356
2022-05-03 11:28:53 +08:00