Commit Graph

913 Commits

Author SHA1 Message Date
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
323411dda4 *: remove support for hidden sysvars (#35740)
close pingcap/tidb#35735
2022-07-01 14:28:40 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
4fc86936ff sessionctx: support encoding and decoding prepared statements (#35808)
close pingcap/tidb#35689
2022-06-30 11:56:38 +08:00
27e7bbdd4e sessionctx/variable: add tests to ensure skipInit can be removed (#35703)
ref pingcap/tidb#35051
2022-06-28 16:40:40 +08:00
31c92c67bc sessionctx: support encoding and decoding statement context (#35688)
close pingcap/tidb#35664
2022-06-27 12:20:39 +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
e99d82a9b4 *: fix issue of cast string as time is incompatible with MySQL (#35455)
close pingcap/tidb#34539
2022-06-23 13:50:37 +08:00
e44277d8fe sessionctx: support encoding and decoding session contexts (#35648)
close pingcap/tidb#35573
2022-06-23 12:46:36 +08:00
193f04db70 session,sessionctx: enable tidb_enable_paging by default (#35275)
close pingcap/tidb#35273
2022-06-23 08:32:37 +08:00
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