Commit Graph

1283 Commits

Author SHA1 Message Date
71e66b2371 domain: refactor plan replayer implemention (#39084)
* refactor

Signed-off-by: yisaer <disxiaofei@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-11-14 11:13:50 +08:00
86d3b46555 util: change record analyze to explain in oom alarm (#39099)
close pingcap/tidb#39036, ref pingcap/tidb#39094, ref pingcap/tidb#39098
2022-11-13 10:23:53 +08:00
238caf6571 *: add statistic lock/unlock function (#38387) 2022-11-11 22:25:54 +08:00
80c8fea9ec planner: update some UTs from cost model1 to model2 (#39085)
ref pingcap/tidb#35240
2022-11-11 17:07:53 +08:00
ddb43554cf domain: support plan_replayer_task system table (#39019)
close pingcap/tidb#38779
2022-11-11 15:19:53 +08:00
066e9c81d7 domain: support plan_replayer_status system table (#38957)
close pingcap/tidb#38779
2022-11-10 12:05:52 +08:00
9761e6789a *: enable the CI test for concurrent ddl (#38926) 2022-11-10 01:02:02 +08:00
32248e25f2 *: fix panic when reusing OptimisticTxnContextProvider (#38952)
close pingcap/tidb#38951
2022-11-07 22:57:50 +08:00
21d6190278 txn: tidb_constraint_check_in_place_pessimistic should not be global scoped (#38767)
close pingcap/tidb#38766
2022-11-07 10:31:50 +08:00
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37:50 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
6ab17074b8 telemetry: telemetry supports count flashback cluster (#38901)
close pingcap/tidb#38896
2022-11-04 17:46:03 +08:00
72407d91d0 util: set checkpoint during Sort for SortedRowContainer (#38865) 2022-11-04 10:35:22 +08:00
c6e1982fb2 sessionctx: enable clustered index by default (#38447) 2022-11-04 10:06:03 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
d7bd49a457 session: support non-transactional insert statements (#38799)
ref pingcap/tidb#33485
2022-11-04 02:28:00 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
5ee578c21b planner, session: use SessionExtendedInfoSchema if snapshot isn't set (#38794)
close pingcap/tidb#38791
2022-11-03 16:48:02 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
aafdf0e341 util, executor: remove OOMAction after a query finishing (#38834)
close pingcap/tidb#38847
2022-11-03 14:56:01 +08:00
caa26a4fe9 session: make min start ts reporter aware of internal session from get_lock() (#38790)
close pingcap/tidb#38706
2022-11-02 17:40:00 +08:00
a3d74207cd planner: add monitor for prepared plan cache memory usage (#38507)
ref pingcap/tidb#37632
2022-11-02 14:50: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
a151383acf util: fix panic cause by nil plan in memeory usage alarm (#38727) 2022-10-31 17:57:59 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
37349e1be8 planner: disable query-feedback thoroughly 2022-10-28 16:03:15 +08:00
86dd99962f session: set tidb_opt_range_max_size to 0 when upgrading to v6.4.0+ (#38694)
ref pingcap/tidb#37176
2022-10-28 10:19:58 +08:00
18698d1558 extension: add more informations to extension context (#38693)
ref pingcap/tidb#38493
2022-10-27 20:15:57 +08:00
fb6a13169e session: tidb_server_memory_limit inherits the value of server-memory-quota when upgrading (#38628)
ref pingcap/tidb#37816
2022-10-27 15:23:57 +08:00
753e3da26a extension: support extension to listen connection events (#38624)
close pingcap/tidb#38623
2022-10-26 22:01:56 +08:00
d27c706965 util: reduce STW from ReadMemStats (#38632)
close pingcap/tidb#38271
2022-10-26 20:37:56 +08:00
70f3348ebf executor: support save partition stats in concurrency (#38239)
ref pingcap/tidb#35142
2022-10-25 15:57:55 +08:00
44cd0b041a ddl, session: let ddl related tables controlled by split-table (#38416)
close pingcap/tidb#38346
2022-10-25 14:43:56 +08:00
7596b03269 variables, config: change tidb_auth_signing_cert from variables to config (#38548) 2022-10-24 16:37:56 +08:00
fe097706c7 extension: support bootstrap for extension (#38589)
close pingcap/tidb#38588
2022-10-24 12:25:55 +08:00
4699c7d896 *: support ATTRIBUTE and COMMENT in CREATE USER and ALTER USER statements (#38201)
close pingcap/tidb#38172
2022-10-20 14:35:54 +08:00
e48f35751f session: refactor non-transactional DML to make it ready for more DML types (#38197)
ref pingcap/tidb#33485
2022-10-19 17:35:53 +08:00
9743a9a2d2 txn: add table name in dup entry error message (#38243)
Signed-off-by: ekexium <eke@fastmail.com>
2022-10-19 14:14:55 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27: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
eca7ecdeae util: change some deprecate configs to system variables for OOM alarm (#38428)
close pingcap/tidb#38444
2022-10-14 14:17:51 +08:00
d10e195e20 util: record more information before OOM (#37987)
ref pingcap/tidb#37409
2022-10-12 10:45:50 +08:00
f1b7aa1187 txn: add db name and table name in write conflict error message (#38040)
close pingcap/tidb#37257
2022-10-11 16:19:51 +08:00
5c4b328b02 variables: enable variable hook to access storage (#38227)
close pingcap/tidb#38225
2022-10-01 02:35:45 +08:00
d4f4c81348 session: turn the transaction to pessimistic mode when retrying (#38130)
close pingcap/tidb#38136
2022-09-30 11:59:45 +08:00
99247f419d domain: fix data race in the Domain.bindHandle (#38223)
close pingcap/tidb#38062
2022-09-29 11:11:45 +08:00
8378bc7dff sysvar: disallow amend txn when ddl_fast_reorg is enabled (#38218)
close pingcap/tidb#38193, close pingcap/tidb#38200
2022-09-28 23:47:45 +08:00
e9044749c7 session: fix benchmark test regression BenchmarkPartitionPruning (#38154)
close pingcap/tidb#37708
2022-09-26 17:09:44 +08:00
05f808f68e *: fix data race for txnCtx (#38041)
close pingcap/tidb#38000
2022-09-22 16:21:04 +08:00