Commit Graph

608 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
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
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +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
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
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
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
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
f4fa4141b5 sessionctx: support parse more format for memory limit systemvar (#38965)
ref pingcap/tidb#37816
2022-11-22 14:07:58 +08:00
9c48480180 parser, executor: implement plan replayer capture statement (#39181)
ref pingcap/tidb#38779
2022-11-17 23:09:56 +08:00
5aa66cb5c2 domain: support dump plan replayer capture task during query (#39125)
ref pingcap/tidb#38779
2022-11-16 12:41:54 +08:00
ad4d43219a planner: support record table runtime stats during optimize (#38876)
ref pingcap/tidb#38779
2022-11-08 19:31:50 +08:00
952a5b977d *: fix variable problem during initialization (#38971)
close pingcap/tidb#38973
2022-11-08 19:09:52 +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
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
c6e1982fb2 sessionctx: enable clustered index by default (#38447) 2022-11-04 10:06:03 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
fce4fda3a7 sessionctx: fix tidb_gogc_tuner_threshold (#38851) 2022-11-03 18:32:01 +08:00
bc7d0aa935 variable: add global scope for tidb_opt_agg_push_down (#38868)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-11-03 17:47:34 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
60b2aa6bc9 sessionctx: support bytes format and percentage format for tidb_server_memory_limit (#38655)
ref pingcap/tidb#37816
2022-11-02 11:41:59 +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
cc2a0388b0 sessionctx: fix TiDBGOGCTunerThreshold failing to ParseFloat (#38774)
close pingcap/tidb#38778
2022-11-01 14:25:59 +08:00
70f3348ebf executor: support save partition stats in concurrency (#38239)
ref pingcap/tidb#35142
2022-10-25 15:57:55 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
7596b03269 variables, config: change tidb_auth_signing_cert from variables to config (#38548) 2022-10-24 16:37:56 +08:00
c1666d1b92 sessionctx: add tidb_gogc_tuner_threshold (#38432)
close pingcap/tidb#38431
2022-10-20 18:35:55 +08:00
e8d265981a statistics: support merge global topn in concurrency (#38358)
ref pingcap/tidb#35142
2022-10-18 17:07: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