18f1ecdfcd
planner: add monitor for non-prepared plan cache ( #41752 )
...
ref pingcap/tidb#36598
2023-03-07 19:41:12 +08:00
7cd2029773
session: support set current session's resource group name ( #41722 )
...
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
17bbc2961b
*: support resource_group sql hint ( #41678 )
...
* *: support resource_group sql hint
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: refine case
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: make case stable
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: code format
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: relocate the cases
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: fix bazel attribute
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: fix bazel
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: code fmt
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: code format
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: address comments
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: address comments for 2nd round
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: polish check logic
Signed-off-by: BornChanger <dawn_catcher@126.com >
---------
Signed-off-by: BornChanger <dawn_catcher@126.com >
2023-03-06 18:34:13 +08:00
33c34f832c
bootstrap: add more tests for initialize-sql-file ( #41888 )
...
ref pingcap/tidb#35624
2023-03-06 13:43:12 +08:00
9e275181be
txn: Slow txn log ( #41864 )
...
close pingcap/tidb#41863
2023-03-06 11:47:11 +08:00
723526708d
metrics: attach const label keyspace_id ( #41693 )
...
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
5ba709f955
session: check redact when log compile error ( #41832 )
...
close pingcap/tidb#41831
2023-03-03 21:21:11 +08:00
8d91a14250
session: let handleAssertionFailure work for partitioned table ( #40630 )
...
close pingcap/tidb#40629
2023-02-24 11:29:07 +08:00
484aa036f9
domain: support extract plan task handle ( #41600 )
...
* Revert "parser: support plan change capture collect stmt (#41478 )"
This reverts commit 301a024ebca317e54124eb71b0afbfb399149e79.
* support extract worker
support extract worker
support extract worker
fix lint
fix lint
add test
add test
* add test
add test
* add test
* add test
* address the comment
2023-02-22 11:59:49 +08:00
79558c08ad
metric: add some metric by database ( #41477 )
...
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
8805b4c58c
executor: fix race when collecting telemetry info of batch copr ( #41413 )
...
close pingcap/tidb#41412
2023-02-15 13:06:00 +08:00
2baf8c2e4f
metric: seperate the internal and external transaction metrics ( #41206 )
...
ref pingcap/tidb#41203
2023-02-12 11:08:01 +08:00
696d7d06e9
*: REORGANIZE PARTITION ( #38535 ) ( #41096 )
...
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
8531018f04
ddl: improve backfill more general ( #41093 )
...
close pingcap/tidb#41002
2023-02-10 23:52:00 +08:00
c34238b3c2
session: fix processInfo time when using driver to prepare and execute query ( #41151 )
...
close pingcap/tidb#41057
2023-02-09 23:54:16 +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
bdef910bec
store/copr: enable store batch by default & add extra copr concurrency and batch nums in stats ( #40711 )
...
ref pingcap/tidb#39361 , close pingcap/tidb#40399
2023-02-09 03:07:59 +08:00
00d48f90e6
*: update util/tracing and remove repeated code ( #40825 )
...
close pingcap/tidb#40809
2023-02-06 22:35: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
975d177286
*: add resource group name into information_schema.processlist ( #40739 )
...
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
b91e2d9aa1
session: use mDDLTableVersion key to control backfill tables ( #40984 )
...
close pingcap/tidb#40980
2023-02-03 11:45:56 +08:00
04f9b3c150
*: add UseAutoScaler config to disable AutoScaler ( #40966 )
...
close pingcap/tidb#40971
2023-02-02 16:11:56 +08:00
d28a8d84b5
*: support MockAutoScaler and AWSAutoScaler ( #40729 )
...
close pingcap/tidb#40747
2023-02-01 19:11:56 +08:00
9ebd766b53
util: add InTest to check whether to be in test ( #40927 )
...
close pingcap/tidb#40929
2023-02-01 15:27:56 +08:00
bca433fcab
planner: remove pickFromBucket field in LRUPlanCache ( #40668 )
...
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
556c267758
server, privileges: make tidb_auth_session_token compatible with password expiration and resource group ( #40735 )
...
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
971deb6202
*: add a new I_S table and support show create for resource groups ( #40665 )
...
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
1083f79f51
handle: use separete ctx for initStats ( #40604 )
...
close pingcap/tidb#40548
2023-01-16 18:23:48 +08:00
17c0d5481b
executor: support set resource-group-name for kv request ( #40237 )
...
ref pingcap/tidb#38825
2023-01-13 14:13:46 +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
b8e5460a84
*: add new global variable tidb_enable_resource_control as a switch ( #40440 )
...
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
005c8d8ef8
*: remove the support of the amending transaction ( #39714 )
...
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
5eea731db0
util: use go-deadlock to find deadlock ( #40288 )
...
close pingcap/tidb#40293
2023-01-05 15:10:20 +08:00
3e6499b568
sysvar: fix circular dependency in rebuildSysVarCache leading to deadlock ( #40283 )
...
close pingcap/tidb#40240
2023-01-04 11:20:20 +08:00
f7de8beede
*: remove the support of the old ddl framework ( #39684 )
...
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
1a7b3953c4
ttl, domain: setup a customized session pool with stats collector ( #40171 )
...
close pingcap/tidb#40109
2022-12-29 17:28:18 +08:00
869b21dcf8
session: Do not run telemetry loops when it's disabled in config ( #40156 )
...
close pingcap/tidb#40155
2022-12-28 18:18:18 +08:00
b268c65710
*: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set ( #40197 )
...
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
11f5c1791e
*: add support for -initialize-sql-file on first bootstrap ( #35625 )
...
close pingcap/tidb#35624
2022-12-28 13:02:16 +08:00
d2be278578
ddl: set context correctly in the setDDLLabelForDiagnosis ( #40090 )
...
close pingcap/tidb#40099
2022-12-23 15:04:14 +08:00
4adce4cded
statistics: fix the sync load sql did'nt running internally ( #40087 )
...
close pingcap/tidb#39511
2022-12-22 17:00:55 +08:00
fdf335e3e5
*: make auto-analyze killable by global memory limit ( #39978 )
...
ref pingcap/tidb#39971 , close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
223a9128b0
staleread, session: internal write request should be accepted with external ts ( #39967 )
...
close pingcap/tidb#39966
2022-12-17 13:48:52 +08:00
0fe61bd41a
*: prevent cursor read from being cancelled by GC ( #39950 )
...
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
98cef5a5b1
session: fix a bug for InitDDLJobTables ( #39861 )
...
ref pingcap/tidb#39854
2022-12-14 00:58:51 +08:00
aeceb22fa6
planner: rename general plan cache to non-prepared plan cache ( #39873 )
2022-12-13 17:16:13 +08:00
9488ca9db6
*: Add backfill job related tables and operations ( #39616 )
...
close pingcap/tidb#37122
2022-12-12 14:34:51 +08:00
59cda14a4e
*: Support Failed-Login Tracking and Temporary Account Locking ( #39322 )
...
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
4c04abce79
*: support disaggregated tiflash ( #33535 )
...
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00