Commit Graph

631 Commits

Author SHA1 Message Date
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
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
dc9b691714 extension: add extension API to listen stmt events (#38789)
close pingcap/tidb#38788
2022-11-07 16:03:51 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
ba6ae458f8 *: add variables and support external timestamp read (#38276)
close pingcap/tidb#38274
2022-11-01 17:40:00 +08:00
cff890a3d9 *: add server ip in connection info (#38723)
close pingcap/tidb#38493
2022-10-31 14:17:59 +08:00
70f3348ebf executor: support save partition stats in concurrency (#38239)
ref pingcap/tidb#35142
2022-10-25 15:57:55 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
e8d265981a statistics: support merge global topn in concurrency (#38358)
ref pingcap/tidb#35142
2022-10-18 17:07:53 +08:00
dd65832136 *: add context for hook of getting/setting variables (#38379)
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
61eed5c362 copr: increase extra concurrency for small coprocessor tasks (#37725)
close pingcap/tidb#37724
2022-10-14 16:13:52 +08:00
e0b82dbab7 planner: hide cost model factors from users (#38324)
ref pingcap/tidb#36243
2022-10-09 14:23:49 +08:00
5c4b328b02 variables: enable variable hook to access storage (#38227)
close pingcap/tidb#38225
2022-10-01 02:35:45 +08:00
05f808f68e *: fix data race for txnCtx (#38041)
close pingcap/tidb#38000
2022-09-22 16:21:04 +08:00
ff1df75a6a *: add more tests for metadata lock and fix data race (#37930)
close pingcap/tidb#37927
2022-09-20 12:05:01 +08:00
bfa9d08e31 *: use sync.map for mppStoreLastFailTime (#37318)
close pingcap/tidb#37317
2022-09-20 10:59:01 +08:00
0823fdb6b3 planner, executor: implement the null-aware antiSemiJoin and null-aware antiLeftOuterSemiJoin (hash join with inner build) (#37512)
close pingcap/tidb#37525
2022-09-20 00:05:03 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
f61024b2dc variables: change tidb_rc_read_check_ts to instance level (#37803)
close pingcap/tidb#37802
2022-09-16 18:28:59 +08:00
20d46c2c53 planner: make unsafe substitute can be used in generated column (#37779)
close pingcap/tidb#35490
2022-09-16 12:50:59 +08:00
5209ac2fa1 sessionctx: support session var tidb_last_plan_replayer_token (#37851)
ref pingcap/tidb#37798
2022-09-15 18:15:00 +08:00
100b65819b Optimize: TiDB skip getting tso from PD at RC isolation for some special scenes (#36823)
close pingcap/tidb#36812
2022-09-13 16:40:58 +08:00
ca5de8928b session, planner: add a session variable "tidb_opt_force_inline_cte" (#37626)
close pingcap/tidb#36514
2022-09-08 15:52:57 +08:00
52c847651d sessionctx/variable: add system variable tidb_opt_range_max_size (#37706)
ref pingcap/tidb#37176
2022-09-08 15:20:57 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
36b6710c64 executor: disable closest replica read if cluster is not balanced (#36824)
ref pingcap/tidb#35926
2022-09-07 11:28:56 +08:00