Commit Graph

1119 Commits

Author SHA1 Message Date
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
1167fafdd6 stmtsummary: add persistence implementation (#40814)
ref pingcap/tidb#40812
2023-02-09 18:05:59 +08:00
3b0a512a9d ReplicaReadMode: introduce new replica_read mode PreferLeader. (#40906)
close pingcap/tidb#40905
2023-02-09 09:09:59 +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
8398f0fe09 *: fix a timezone data race which may cause wrong row data (#41146)
close pingcap/tidb#40710
2023-02-08 12:21:58 +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
ddaf0d7814 ddl, parser: implement the normal flow of distributed processing in DDL reorg phase for adding index (#40542)
close pingcap/tidb#37125
2023-02-06 13:37: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
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
91686a3060 executor: add historical stats test and make it enabled (#40664) 2023-01-30 21:45:54 +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
fe4a81df82 sessionctx: add validation for tidb_enable_plan_replayer_continues_capture (#40787) 2023-01-29 17:15:54 +08:00
8e963505c1 bazel: upgrade rules_go to prepare for Go 1.20 (#40776)
close pingcap/tidb#40798
2023-01-29 15:35:54 +08:00
5b82653605 *: Setup Global Resource Controller (#40732)
close pingcap/tidb#40731
2023-01-20 17:03:50 +08:00
a761c0288c *: Support learner replica read (#39979)
close pingcap/tidb#40449
2023-01-18 10:59:51 +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
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
7beec04214 sysvar: add switch for plan replayer capture using historical stats (#40492)
* add switch

* fix

* fix

* fix

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 19:44:33 +08:00
005c8d8ef8 *: remove the support of the amending transaction (#39714)
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
b226dfcb05 ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable (#40033)
close pingcap/tidb#40028
2023-01-06 17:56: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
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
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
806fcbfde9 sessionctx: disable gc aware memory track (#40019)
close pingcap/tidb#39971
2022-12-20 20:50:54 +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
c4047cc769 ttl: modify default value of tidb_ttl_delete_batch_size to 100 (#39878)
close pingcap/tidb#39877
2022-12-13 19:38:52 +08:00
1ab88f2cf9 planner: rename 'tidb_enable_general_plan_cache' and 'tidb_general_plan_cache_size' to 'tidb_enable_non_prepared_plan_cache' and 'tidb_non_prepared_plan_cache_size' 2022-12-13 18:16:35 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
760dbe102d statistics: support gc outdated historical stats (#39788) 2022-12-13 16:40:52 +08:00
621115bf67 ttl, variables: add system variables for ttl job schedule (#39727)
close pingcap/tidb#39725
2022-12-13 14:28: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
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
754e73ad61 variable: fix outdated time shift for variable with TypeTime (#39720)
close pingcap/tidb#39719
2022-12-08 19:52:05 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
a743640e66 *: enable foreign_key_checks variable by default (#39695) 2022-12-07 17:14:11 +08:00
b33ff62413 *: enable tidb_enable_foreign_key variable default (#39677) 2022-12-07 13:01:55 +08:00
442c044504 sessionctx: add TiDBDDLEnableDistributeReorg flag (#39663)
ref pingcap/tidb#37120
2022-12-07 12:10:04 +08:00
2d3014928b ttl: Implement scan and delete task for TTL (#39481)
close pingcap/tidb#39480, close pingcap/tidb#39554
2022-12-05 13:08:02 +08:00
0b1096eac5 sysvar: fix inconsistency in setting password validation sysvars (#39584)
ref pingcap/tidb#38928
2022-12-03 11:36:01 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00