Commit Graph

1111 Commits

Author SHA1 Message Date
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
a5d91dc895 planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
2022-05-11 10:50: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
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
20ecaef36d ddl: add require owner interface (#34407)
ref pingcap/tidb#32031
2022-05-09 18:48:33 +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
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
fb342ff861 topsql: fix issue of topsql failed catch the running SQL when topsql is enabled in execution (#33861)
close pingcap/tidb#33859
2022-04-26 13:16:51 +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
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +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
2ae71323cf sessionctx: make builtinFunctionUsage thread safe (#33032)
close pingcap/tidb#33027
2022-03-16 10:27:52 +08:00
00e96229c1 planner: add more test cases for auto-capture and support to capture more hints (#33051) 2022-03-15 20:01:51 +08:00
caad839aeb planner: fix the wrong range built for bit columns when reusing cached plan (#33090)
close pingcap/tidb#33067
2022-03-15 19:13: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
ffaeb3e80d ddl: improve test to avoid cycle import (#32058)
ref pingcap/tidb#31716
2022-03-14 12:11:51 +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
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
52fa48ce2b sessionctx,executor: Revert "sessionctx,executor: disallowed set null to sysvar" (#32988)
close pingcap/tidb#32987
2022-03-10 23:13:51 +08:00
77730b6d9e sessionctx,executor: disallowed set null to sysvar (#32879)
close pingcap/tidb#32850
2022-03-10 01:13:49 +08:00
0cf21535b6 sessionctx/variable: Remove "advanced" memory sysvars (#32724)
close pingcap/tidb#32286
2022-03-09 23:57:49 +08:00
62e20780e8 *: kill auto analyze (#31724)
close pingcap/tidb#32808
2022-03-07 13:49:48 +08:00
74d74b0a7b session: fix global sysdate_is_now won't work (#32785)
close pingcap/tidb#32784
2022-03-04 11:55:46 +08:00