Commit Graph

680 Commits

Author SHA1 Message Date
ff996e7068 planner: allow to use dynamic mode to access partitioning tables without global-stats (#44264)
close pingcap/tidb#44262
2023-05-30 06:46:41 +00:00
610ca18e06 *: support to execute CTE on MPP side (#42296)
close pingcap/tidb#43333
2023-05-24 14:03:40 +00:00
0c336cc1ef server: Add connection attributes and auth method to conninfo (#43783)
ref pingcap/tidb#43720
2023-05-22 17:05:38 +00:00
8ae3cac826 *: Make DDL unaffected by killing TiDB instance (#43871) 2023-05-17 16:32:36 +08:00
5db4b38f2c planner: support Hypo indexes (#43607)
close pingcap/tidb#43817
2023-05-16 10:43:17 +00:00
4d011d47ef server: Improve connection info (#43721)
close pingcap/tidb#43720
2023-05-12 13:32:23 +00:00
06220cbcd7 txn: introduce the statement buffer of pessimistic lock cache (#43530)
close pingcap/tidb#43294
2023-05-11 08:35:21 +00:00
957d1e2545 *: support writing rows with checksum values (#43163)
ref pingcap/tidb#42747
2023-04-27 07:43:53 +00:00
0b8f8807d0 *: add a new variable to control whether to invalidate plan cache when related table analyzed (#43390)
close pingcap/tidb#43295
2023-04-25 10:31:54 +00:00
ed485cacc4 *: fix wrong output for two deprecated system variables (#43292)
* fix wrong output for two deprecated system variables

Signed-off-by: gengliqi <gengliqiii@gmail.com>

* fix

Signed-off-by: gengliqi <gengliqiii@gmail.com>

* update

Signed-off-by: gengliqi <gengliqiii@gmail.com>

---------

Signed-off-by: gengliqi <gengliqiii@gmail.com>
2023-04-23 06:16:44 +00:00
78c50dcdde planner: disable non-prep plan cache for DML statements for now (#43258)
ref pingcap/tidb#36598
2023-04-20 23:37:19 +08:00
426671e91a planner, sessionctx: enable late materialization in disaggregated TiFlash (#43068)
close pingcap/tidb#40601
2023-04-20 10:21:19 +08:00
1bbc6924fd *: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
2023-04-20 07:13:19 +08:00
37d9a64fce planner, sessionctx: add tidb_opt_fix_control variable (#43191)
close pingcap/tidb#43169
2023-04-20 01:29:20 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
477fbaf864 sessionctx: support encoding resource group name into session states (#42886)
close pingcap/tidb#42884
2023-04-14 13:59:01 +08:00
1535084f08 planner: introduce a new variable to control the maximum size of plans that can be cached (#43025)
ref pingcap/tidb#42975
2023-04-13 23:47:01 +08:00
d7b7070070 sessionctx, planner: enable late materialization default (#42814)
close pingcap/tidb#40601
2023-04-11 13:31:00 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
4675e4e169 planner: add more test cases for non-prep plan cache (#42801)
ref pingcap/tidb#36598
2023-04-04 19:28:57 +08:00
e6cf1ab854 executor: lock untouched unique keys on update (#42713)
close pingcap/tidb#36438
2023-03-31 21:46:55 +08:00
2e8a982cb0 session, com_stmt: fetch all rows during EXECUTE command (#42473)
close pingcap/tidb#41891, close pingcap/tidb#42424
2023-03-23 17:34:43 +08:00
88174d2ef7 planner: support data compression in Broadcast / Passthrough exchange operator; optimize process about choosing Broadcast Join; (#41968)
ref pingcap/tidb#40494
2023-03-21 15:04:42 +08:00
4060cda69e *: data race at the SessionVars.PlanID (#42373)
close pingcap/tidb#42372
2023-03-20 15:02:40 +08:00
fb9c74c547 session: data race at the PlannerSelectBlockAsName (#42344)
close pingcap/tidb#42342
2023-03-17 14:32:46 +08:00
4f44dab83c test: fix data race (#42306)
close pingcap/tidb#42270
2023-03-17 01:02:39 +08:00
c4efc57b52 session,executor: add variables to support set tiflash spill threshold by sql statement (#42309)
close pingcap/tidb#42308
2023-03-16 20:16:41 +08:00
081643d251 planner: support push down some filter conditions to TiFlash table scan (#40562) 2023-03-16 17:37:39 +08:00
471c084017 planner, sessionctx: add variable to control index selection for "WHERE b ORDER BY a LIMIT n" (#42116)
close pingcap/tidb#42060
2023-03-16 01:52:41 +08:00
a86fd29f1f *: visible default resource group (#41606)
close pingcap/tidb#40875
2023-03-14 20:50:39 +08:00
cc54d1bba1 txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters (#42108)
ref pingcap/tidb#42107, close pingcap/tidb#42147
2023-03-14 15:54:39 +08:00
73bd2d13f9 *: support different tiflash_compute dispatch policy (#41406)
close pingcap/tidb#41783
2023-03-10 15:03:13 +08:00
zzm
5f0bdc14c5 slowlog: slowlog with keyspace (#41886)
close pingcap/tidb#41883
2023-03-07 16:49:12 +08:00
9e275181be txn: Slow txn log (#41864)
close pingcap/tidb#41863
2023-03-06 11:47:11 +08:00
ac6a9ebf6d copr: support load_based_replica_read_threshold (#40742)
close pingcap/tidb#41664
2023-03-03 23:03:11 +08:00
f2163e7df1 Optimizer: Add partition by support for derived TopN(filter on row_nu… (#41469)
ref pingcap/tidb#39792
2023-02-23 17:23:06 +08:00
fca20d64da planner: distinguish the source of join hint information (#41440)
ref pingcap/tidb#36600
2023-02-20 22:09:05 +08:00
23f6ac82f7 planner: plan cache support caching plan with subquery (#41080)
ref pingcap/tidb#40219
2023-02-20 21:25:04 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
28d2ab6787 planner,variable: disable tidb_enable_reuse_chunk when reading json/text column (#41368)
close pingcap/tidb#41366
2023-02-17 15:04:02 +08:00
982a6163a1 sysvar: introduce variable tidb_enable_inl_join_inner_multi_pattern (#41319)
ref pingcap/tidb#40505
2023-02-13 14:04:08 +08:00
5e8cf8f6e1 metrics: Add metrics and telemetry for aggressive locking (#41038)
close pingcap/tidb#41037
2023-02-09 21:26:01 +08:00
61e1d81974 add metrics for TTL (#41155)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: 王超 <cclcwangchao@hotmail.com>
2023-02-09 20:28:31 +08:00
8d65743b4e planner: support more pattern for index join inner side (#40999)
ref pingcap/tidb#40505
2023-02-07 21:31:58 +08:00
c017999d02 sessionctx: fix hidden and user var problems in encoding session states (#40754)
close pingcap/tidb#40614
2023-02-06 18:53:57 +08:00
b78c62f784 session, metrics: refine the resource control metrics (#41045)
ref pingcap/tidb#38825
2023-02-06 15:33:57 +08:00
f1a744a3e6 planner: add MppVersion for mpp task; support data compression in Exchange Operator; (#40132)
ref pingcap/tiflash#6620, close pingcap/tidb#40494
2023-02-02 11:11:56 +08:00
fd5e67581b planner: add a switch control if prepare stmt with param limit can be cached (#40712)
ref pingcap/tidb#40219
2023-01-30 12:01:54 +08:00
604883a5e1 planner: introduce a new variable to adjust the penalty double read cost of IndexJoin (#40571)
close pingcap/tidb#40556
2023-01-15 21:07:48 +08:00