Commit Graph

882 Commits

Author SHA1 Message Date
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
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
04420b0cd8 sysvar: modify tidb_enable_historical_stats behavior (#31849)
close pingcap/tidb#30821
2022-04-13 11:24:35 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
b37b3b1afc session, sessionctx: Make sysvar tidb_read_staleness TypeInt (#32794)
close pingcap/tidb#32763
2022-04-06 14:54:31 +08:00
fa834a0806 planner: Add control flag to keep or remove ORDER BY in subquery (#33173)
close pingcap/tidb#32900
2022-04-01 14:08:29 +08:00
d4ec94736d *: make txnCommitBatchSize adjustable by SQL (#33507)
close pingcap/tidb#33508
2022-03-30 21:52:29 +08:00
5bf5e35e81 variable: make backoff weight could be 0 (#30664)
close pingcap/tidb#32592
2022-03-29 17:20:28 +08:00
3206d51520 session: lower innodb-lock-wait-timeout MaxValue to match max-txn-ttl (#33473)
close pingcap/tidb#33472
2022-03-26 14:48:33 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
7291238ea6 *: lower-case-table-names should be removed from tidb-config (#32886)
close pingcap/tidb#32885
2022-03-18 14:16:31 +08:00
9bc9572754 planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
95a346cb2d sysvar: re-organize the order of sysvars by their scopes. (#33149)
close pingcap/tidb#33086
2022-03-17 11:36: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
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
911cf5335f bindinfo: add warning message when the memory usage of the cache exceeds its capacity (#32866)
ref pingcap/tidb#32466
2022-03-15 16:15:52 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
fcf7bd8c88 sysvar: rename sysdate_is_now as tidb_sysdate_is_now (#32957)
close pingcap/tidb#31872
2022-03-11 11:19:50 +08:00
7fcdab6002 ddl: add limiter when setting TiFlash replicas for all tables in a database (#32526)
ref pingcap/tidb#32254
2022-03-11 10:47:50 +08:00
9a4ca3ca69 *: Remove deprecated streaming (#32765)
ref pingcap/tidb#32679
2022-03-11 03:15:50 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00