Commit Graph

903 Commits

Author SHA1 Message Date
e0527ba27c sessionctx: support encoding and decoding session variables (#35531)
close pingcap/tidb#35414
2022-06-21 19:20:36 +08:00
f89466daa2 sessionctx: set skipInit false for TiDBOptProjectionPushDown and TiDBOptAggPushDown (#35491)
close pingcap/tidb#35083
2022-06-21 15:38:37 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
44623f03f4 *: enable more flaky and update bazel config (#35500)
ref pingcap/tidb#35247
2022-06-20 21:46:37 +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
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +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
4d8cf5e1e2 metrics: add a config to unregister the unused metrics (#34990)
close pingcap/tidb#34989
2022-06-09 15:34:31 +08:00
c8fcad4d82 planner: refactor to use the standard function GetXXFactor() to get cost model factors (#35226)
ref pingcap/tidb#33945
2022-06-08 16:10:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
7ffab33a47 variables: add concurrent DDL switch (#35028)
ref pingcap/tidb#32031
2022-06-06 14:56:29 +08:00
233a7335fd sessionctx/variable, ddl: fix sysvar API usage (#35052)
ref pingcap/tidb#35051
2022-06-06 10:34:29 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
69b573ca7d executor: fix compatibility issue of release savepoint (#35064)
close pingcap/tidb#35063
2022-06-01 15:20:27 +08:00
e2fd394fbf table partition: add more warnings to inform the user that setting TiDB partition prune mode to dynamic at session level (#35046)
close pingcap/tidb#35042
2022-05-31 18:04:27 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
dfb22c064d config, executor, sessionctx/variable: Remove old config items (#34927)
close pingcap/tidb#34867, close pingcap/tidb#34879, close pingcap/tidb#34945
2022-05-29 05:22:48 +08:00
43f83c0799 *: kill auto analyze when it runs too long (#34950)
close pingcap/tidb#34952
2022-05-27 13:36:47 +08:00
dae0a4104a sessionctx: enable list partition by default (#34954)
close pingcap/tidb#34953
2022-05-27 12:22:47 +08:00
bf435dd4e6 variable: refresh sysvar cache for tidb_gc_max_wait_time (#34967)
close pingcap/tidb#34966
2022-05-26 16:38:47 +08:00
6a0239362d planner: use variable to control outer join reorder for fallback (#34825)
ref pingcap/tidb#19940
2022-05-19 23:14: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
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
c154d4f864 variable: fix 34773 race error (#34775)
close pingcap/tidb#34773
2022-05-18 15:44:38 +08:00
95e359ff4c variable: revise TiDBStatsCacheMemQuota settting code (#34762)
ref pingcap/tidb#34052
2022-05-18 13:26:38 +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
09b155f7a3 distsql, sessionctx/variable: add max_threads mysql variable for TiFlash (#34299)
close pingcap/tidb#34298
2022-05-17 19:00: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
0017963ddd *: move config file option committer-concurrency to sysvar (#34368)
ref pingcap/tidb#33769
2022-05-14 04:36:37 +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
98c31070d9 sysvar, sysvar_test: fix tidb_mem_quota_query min/max value (#34554)
fixes pingcap/tidb#34553
2022-05-12 00:08:35 +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
45415f45be session: return an error when a non-transactional DML partially fails (#34488)
ref pingcap/tidb#33485
2022-05-10 15:50:34 +08:00
f6ce33761b *: fix load statement can not handle the upper case user variable (#34423)
close pingcap/tidb#34420
2022-05-07 13:02:31 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +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
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
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
f10db388c5 variable: make lc_messages read only (#33708)
close pingcap/tidb#33707
2022-04-25 11:32:49 +08:00
99b871e20d planner: add projection pushdown (#27029)
close pingcap/tidb#26242
2022-04-22 11:06:05 +08:00
669b9bcd36 validation: fix set readonly variable max_allowed_packet should return error (#33658)
close pingcap/tidb#32349
2022-04-20 09:02:02 +08:00
212a6b22af planner: introduce the new cost interface (#33990) 2022-04-19 14:03:09 +08:00