Commit Graph

208 Commits

Author SHA1 Message Date
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
8db3a8dc56 config: fix config example (#31545)
close pingcap/tidb#31546
2022-01-17 18:37:44 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
d6e9986aa1 *: remove unused profile memory tracker from global tracker (#30143) 2021-11-25 18:35:51 +08:00
0e817e1579 config: set the default value of auto_tls to false (#27486) 2021-11-04 23:13:02 +08:00
f3cc7044b4 config, main: change default socket to include port (#29332) 2021-11-02 12:14:52 +08:00
db60f12253 config, planner: Change prepared-plan-cache.capacity default size from 100 to 1000 (#28984) 2021-11-01 16:14:51 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
64167a000f *: Change default for unix socket (#28486) 2021-10-21 00:16:46 +08:00
f44df4f79e config: support change resolve lock lite threshold (#27691) 2021-09-02 17:26:16 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
c9ce5cd7bb config,util: Add setting for TLS version (#26937) 2021-08-09 23:05:15 +08:00
f0d4257ec0 util: Automatically create TLS certificates (#24141) 2021-08-04 15:29:08 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00
2b461e0ea7 executor: Support collecting information about retryable deadlocks to information_schema.deadlocks (#26140) 2021-07-22 17:54:14 +08:00
c4424c2920 util/stmtsummary: discard the plan if it is too long and enlarge the tidb_stmt_summary_max_stmt_count value to 3000 (#25843) 2021-07-01 18:31:26 +08:00
793517dfaf config: Add Lock View's config to config example and test (#25470) 2021-06-18 11:38:38 +08:00
b84911db27 config: add example config line for sem (#25315) 2021-06-10 14:02:29 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
f64856bba0 store/tikv: enlarge default committer-concurrency to avoid queuing (#23720) 2021-04-01 01:35:24 +08:00
6dba91b630 config: remove index-usage-sync-lease from config.toml.example (#23740) 2021-03-31 18:43:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
ab19f061bd store/tikv: Support forwarding via follower when the region's leader is unreachable (#23244)
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-03-18 20:34:14 +08:00
901891ae1f *: hide the config global-kill and session var tidb_enable_index_merge_join (#23395) 2021-03-18 17:09:53 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
07b19e0f90 config: disable prepare plan cache by default (#23240) 2021-03-11 16:26:19 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
4a413a4d61 config: remove async commit configs from example (#22945) 2021-02-26 17:30:53 +08:00
825c98f3cc config: use label key instead of txn-scope (#22639)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-02-04 12:08:15 +08:00
2bf2a82a3d config, store: add a config to control the PD server timeout duration (#22138)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-01-05 14:10:45 +08:00
d6ebb3707d config: disable statistics feedback by default (#21923) 2020-12-23 19:49:00 +08:00
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
1b12071e52 coprocessor: Support changing maxRanges (#21542) 2020-12-08 13:36:17 +08:00
f0370c96d6 config: Add index limit configuration (#21192) 2020-12-02 12:56:18 +08:00
0e2f18d8f9 store, config, session: Use system variables to enable async commit and 1PC (#21365)
* add a system variable for enabling async commit

Signed-off-by: ekexium <ekexium@gmail.com>

* remove async commit enable config item

Signed-off-by: ekexium <ekexium@gmail.com>

* add a system variable for enabling 1PC

Signed-off-by: ekexium <ekexium@gmail.com>

* try to fix test

Signed-off-by: ekexium <ekexium@gmail.com>

* remove 1pc item in config

Signed-off-by: ekexium <ekexium@gmail.com>

* try to fix test

Signed-off-by: ekexium <ekexium@gmail.com>

* correct the condition to enable 1pc

Signed-off-by: ekexium <ekexium@gmail.com>

* do not enable 1pc/async commit on bootstrap if store is not tikv

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor checkAsyncCommit

Signed-off-by: ekexium <ekexium@gmail.com>

* fix test: enable async commit or 1PC by setting txn options

Signed-off-by: ekexium <ekexium@gmail.com>

* add a system variable for external consistency

Signed-off-by: ekexium <ekexium@gmail.com>

* remove external consistency config item

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor: checkXXX does not need parameters

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor: add a helper function to pessimistic_test

Signed-off-by: ekexium <ekexium@gmail.com>

* change allowed scope to global or session

Signed-off-by: ekexium <ekexium@gmail.com>

* fix external consistency test

Signed-off-by: ekexium <ekexium@gmail.com>

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-02 11:49:57 +08:00
f9f44d0a49 config: hide & deprecate enable-streaming (#20760) 2020-11-14 01:22:25 +08:00
9af236c1b7 tikv: support external consistency when async commit is on (#20276)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-11-12 14:43:23 +08:00
8eaccd41a9 variable: add txn_scope sys var (#20721) 2020-11-12 11:09:54 +08:00
386fb465a2 config: add GOGC under performance section (#20872) 2020-11-09 11:55:41 +08:00
6e1aa0d765 *: restrict the length of enum/set value (#19109) 2020-11-04 19:10:02 +08:00
3ba36dcb76 config, server: Add graceful shutdown option (#20649) 2020-11-03 22:55:32 +08:00
382bd9e0fd txn: Support 1PC for transactions that only have one prewrite request (#20313)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-11-03 13:11:40 +08:00
e102c12479 planner, config: Enable plan cache by default (#20416) 2020-10-29 23:00:26 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
bdb6c49600 *: collect index usage information from point get and dump them to KV (#20126) 2020-10-16 16:17:34 +08:00
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
9958875f40 util: record sqls and heap profile when memory usage is higher than 80% system memory. (#18858) 2020-10-15 16:52:14 +08:00