Commit Graph

207 Commits

Author SHA1 Message Date
a743640e66 *: enable foreign_key_checks variable by default (#39695) 2022-12-07 17:14:11 +08:00
b33ff62413 *: enable tidb_enable_foreign_key variable default (#39677) 2022-12-07 13:01:55 +08:00
5775995ea1 variable: add txn_source into kv.context (#39159)
ref pingcap/tidb#38587
2022-11-25 17:09:58 +08:00
e205f931aa *: support password validation options and variables (#38953)
ref pingcap/tidb#38924, close pingcap/tidb#38928
2022-11-24 20:25:59 +08:00
b03690a3ae planner: update some UTs from cost model1 to model2 (#39138)
ref pingcap/tidb#35240
2022-11-15 11:33:54 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
59886f52ef sessionctx/variable: turn on range memory control by default (#38592)
ref pingcap/tidb#37176
2022-10-21 14:45:55 +08:00
dd65832136 *: add context for hook of getting/setting variables (#38379)
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
47739fff5c statistics: implement batch size for auto analyze partition table in dynamic mode (#38153)
ref pingcap/tidb#37977
2022-09-27 11:39:44 +08:00
cb414e7847 executor: support setting config online for TiFlash raftstore-proxy (#38014)
ref pingcap/tidb#17061
2022-09-22 18:41:03 +08:00
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
b5ab19c098 planner: remove old useless interfaces about cost model (#37801)
ref pingcap/tidb#35240
2022-09-15 15:47:00 +08:00
c677b2a86f sessionctx/variable: put TiDBOptRangeMaxSize to right place and set default value to 0 (#37835)
ref pingcap/tidb#37176
2022-09-15 13:10:59 +08:00
ca5de8928b session, planner: add a session variable "tidb_opt_force_inline_cte" (#37626)
close pingcap/tidb#36514
2022-09-08 15:52:57 +08:00
52c847651d sessionctx/variable: add system variable tidb_opt_range_max_size (#37706)
ref pingcap/tidb#37176
2022-09-08 15:20:57 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
0039dd2fde planner: introduce tidb_general_plan_cache_size for general plan cache (#37087)
ref pingcap/tidb#36598
2022-08-16 12:04:52 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
6be08109fb variable: Remove WARN for variable tidb_enable_noop_variable (#36890)
close pingcap/tidb#36647
2022-08-05 14:26:06 +08:00
2fbec001c9 planner: Fix panic for SET CONFIG...=DEFAULT (#35752)
close pingcap/tidb#35745
2022-08-05 14:08:06 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
2c3d4f1ae4 planner/core: change behavior of fine_grained_shffule_stream_count (#36621)
close pingcap/tidb#36622
2022-07-28 17:09:11 +08:00
d00b984f4c executor, statistics: analyze use MaxUint64 ts to read data (#35232)
close pingcap/tidb#35233
2022-07-20 16:09:08 +08:00
67be460efe planner: enable the new cost interface by default (#36241)
ref pingcap/tidb#35240
2022-07-18 21:21:08 +08:00
c28bac3d72 planner: support rewrite for skew group distinct aggregate to avoid skew execution (#36181)
close pingcap/tidb#36169
2022-07-18 15:29:07 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
323411dda4 *: remove support for hidden sysvars (#35740)
close pingcap/tidb#35735
2022-07-01 14:28:40 +08:00
e2b55640c1 config, sysvar: map max-server-connections to max_connections (#35453)
ref pingcap/tidb#34960
2022-06-23 15:12:37 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
ed094b4dac *: fix store token is up to the limit in test (#35374)
close pingcap/tidb#35375
2022-06-20 23:04:38 +08:00
428
79d9d6fa75 executor, sessionctx/variable: convert some system variables to different builtin types (#35143)
close pingcap/tidb#35048
2022-06-17 02:34:34 +08:00
081bd10d54 system_variables: remove the limitation for set tidb_gc_life_time (#35411)
close pingcap/tidb#35392
2022-06-16 18:18:35 +08:00
017ac90e67 planner: introduce some new variables for the cost model version2 (#35241)
ref pingcap/tidb#35240
2022-06-09 17:52:30 +08:00
43f83c0799 *: kill auto analyze when it runs too long (#34950)
close pingcap/tidb#34952
2022-05-27 13:36:47 +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
683ba092b5 planner: enable the new cost implementation by default (#34567)
close pingcap/tidb#33945
2022-05-17 00:02:38 +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
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
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
91cb86e3cf domain, sessionctx/variable: make code DRY (#33897)
close pingcap/tidb#33896
2022-04-28 20:26:52 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00