Commit Graph

1105 Commits

Author SHA1 Message Date
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
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
8b06ef2727 planner: enable cost model2 by default (#39487)
ref pingcap/tidb#35240
2022-11-30 21:46:01 +08:00
8e4748a211 *: make auto-analyze concurrency configurable (#37078)
close pingcap/tidb#37183
2022-11-30 18:22:01 +08:00
e135608dcf executor: support Intersection of IndexMerge (#38636)
close pingcap/tidb#39334
2022-11-29 23:24:00 +08:00
23543a4805 *: merge the runtime stats in time to avoid using too many memory (#39394)
close pingcap/tidb#39413
2022-11-29 21:00: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
e205f931aa *: support password validation options and variables (#38953)
ref pingcap/tidb#38924, close pingcap/tidb#38928
2022-11-24 20:25:59 +08:00
9784615566 ddl: Add index fast path to be a default add index path (#39267)
ref pingcap/tidb#35983
2022-11-23 15:45:58 +08:00
f4fa4141b5 sessionctx: support parse more format for memory limit systemvar (#38965)
ref pingcap/tidb#37816
2022-11-22 14:07:58 +08:00
bd97130f8e Revert "planner: enable cost model2 by default" (#39265) 2022-11-22 09:03:57 +08:00
50fdeefa2e planner: enable cost model2 by default (#39221)
close pingcap/tidb#35240
2022-11-18 13:35:56 +08:00