Commit Graph

662 Commits

Author SHA1 Message Date
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
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
005c8d8ef8 *: remove the support of the amending transaction (#39714)
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
669ba5cbae *: add warnings to slow log and slow query table (#39884)
ref pingcap/tidb#39893
2023-01-05 23:34:21 +08:00
afbef28e56 executor: TiFlash supports stale read (#40048)
close pingcap/tidb#40047
2022-12-27 19:06:16 +08:00
aeccf77637 *: optimize mpp probe (#39932)
close pingcap/tidb#39686
2022-12-22 15:42:55 +08:00
017901d1d6 *: extend skyline pruning diagnostic info and add extra warnings (#39894)
ref pingcap/tidb#39893
2022-12-20 18:00:55 +08:00
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
97a9e63d78 sessionctx, executor: fix failure of reading MaxPreparedStmtCount (#39736)
close pingcap/tidb#39735
2022-12-15 19:14:53 +08:00
3aba336048 domain: Support plan replayer continus capture (#39926) 2022-12-15 16:34:52 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
9d9eaca77f store/copr: support batch coprocessor requests by store (#39525)
ref pingcap/tidb#39361
2022-12-01 23:58:02 +08:00
e135608dcf executor: support Intersection of IndexMerge (#38636)
close pingcap/tidb#39334
2022-11-29 23:24:00 +08:00
f8a6bde954 *: add a reference count for StmtCtx (#39368)
close pingcap/tidb#27725
2022-11-28 17:02:01 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
5775995ea1 variable: add txn_source into kv.context (#39159)
ref pingcap/tidb#38587
2022-11-25 17:09:58 +08:00
5aa66cb5c2 domain: support dump plan replayer capture task during query (#39125)
ref pingcap/tidb#38779
2022-11-16 12:41:54 +08:00