Commit Graph

1397 Commits

Author SHA1 Message Date
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
76153ab9ff lint: update config of deprecated linter (#40763)
ref pingcap/tidb#40786
2023-01-28 11:57:53 +08:00
5b82653605 *: Setup Global Resource Controller (#40732)
close pingcap/tidb#40731
2023-01-20 17:03:50 +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
a761c0288c *: Support learner replica read (#39979)
close pingcap/tidb#40449
2023-01-18 10:59:51 +08:00
17df596863 planner: prepared plan cache support cached plan with placeholder in limit clause (#40196)
ref pingcap/tidb#40219
2023-01-17 12:51:49 +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
a9d8bfe6ae session: fix data race in the LazyTxn.LockKeys (#40350)
close pingcap/tidb#40355
2023-01-07 00:00:21 +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
1f344ba108 autoid_service: add unit test for the package (#40193) 2023-01-03 19:40:19 +08:00
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
ffaf2ac9ee planner: remove the unnecessary skip-plan-cache flag in StmtCtx (#40235) 2022-12-30 10:20:17 +08:00
b1967563e3 planner: record reasons when skipping Plan Cache (#40210) 2022-12-28 17:46:16 +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
47ace08035 *: filter particularly errors when truncateAsWarning is true (#40078) 2022-12-21 23:16:55 +08:00
13e2120579 sysvar: allow modifying 'tidb_allow_remove_auto_inc' when SEM is ON (#40083)
close pingcap/tidb#38238
2022-12-21 19:28: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
96eb4ba42c sessionctx/stmtctx: do not use copy-on-read for GetWarnings function (#39742)
close pingcap/tidb#39702
2022-12-09 15:46:06 +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
7b91e6aab6 planner: enrich diagnosis info for plan-cache (#39457)
close pingcap/tidb#39147
2022-12-02 02:22:02 +08:00
9d9eaca77f store/copr: support batch coprocessor requests by store (#39525)
ref pingcap/tidb#39361
2022-12-01 23:58:02 +08:00
dcec9724b6 sessionctx: set default val of EnableOuterJoinReorder to true (#39505)
close pingcap/tidb#39504
2022-12-01 22:34:01 +08:00