Commit Graph

1079 Commits

Author SHA1 Message Date
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
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
c354b8bd07 extension: add support for extension to custom table and sysvar privileges (#39137)
close pingcap/tidb#39136
2022-11-15 12:11:55 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +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
dc9b691714 extension: add extension API to listen stmt events (#38789)
close pingcap/tidb#38788
2022-11-07 16:03:51 +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
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37: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
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +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
59bed2f7db sessionctx: enable tidb_stats_load_sync_wait by default (#38841) 2022-11-03 15:50:00 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
e1b2f7c695 *: downgrade the dependencies (#38821) 2022-11-02 20:42:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18: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
cff890a3d9 *: add server ip in connection info (#38723)
close pingcap/tidb#38493
2022-10-31 14:17:59 +08:00
70f3348ebf executor: support save partition stats in concurrency (#38239)
ref pingcap/tidb#35142
2022-10-25 15:57:55 +08:00