Commit Graph

151 Commits

Author SHA1 Message Date
e1212c48e7 Revert "config: check the validity of the DDL lease (#14641)" (#14781) 2020-02-13 18:17:12 +08:00
5778b50d0e config: check the validity of the DDL lease (#14641) 2020-02-13 11:53:51 +08:00
ad1d07f00f config: introduce a config client to support load configs from PD online (#14303) 2020-02-10 14:56:20 +08:00
00ad0f60d7 config: change the default value of txn-total-size-limit, add… (#14522) 2020-01-21 12:59:37 +08:00
0b8eea36e1 config: add server level isolation read config (#14440) 2020-01-19 14:28:43 +08:00
d65e23f39e *: support for limiting the number of client connections (#14409) 2020-01-15 18:31:56 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
9563ec77e4 config, infoschema: enable statement summary by default (#14369) 2020-01-08 14:50:39 +08:00
ae281e1dc7 config: Remove Coprocessor Cache config and disable it by default (#14373) 2020-01-07 18:46:43 +08:00
5d76de903a server: support tag sql in pprof result (#14312) 2020-01-02 15:51:39 +08:00
ba2ff85c58 *: support caching coprocessor responses (#13824) 2019-12-31 18:24:40 +08:00
0d7edc7ef3 config: add validation for capacity of prepare plan cache (#14232) 2019-12-27 14:29:09 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
0ae3813df4 config: forbid user to set TxnTotalSizeLimit too large with binlog enabled (#14006) 2019-12-11 11:00:28 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
5c4a9ee101 *: do not start slow-log timer before parsing (#13846) 2019-12-04 15:58:40 +08:00
d4d14dbde3 config: add configuration entry make TiDB version string configurable (#13775) 2019-12-04 14:02:56 +08:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
d587c63062 *: some tiny improvements for the large transaction (#13815)
1. Set the default txn size limit to 1G
2. Reduce memory footprint during insert for the large txn
3. Recycle the session buffer memory to avoid leak
4. Set rate limit to avoid 2PC prewrite overloads the TiKV
5. Start ttlManager for the large txn
2019-12-03 00:40:40 +08:00
2de2baa256 *: fix staticcheck errors in folder bindinfo, config, infoschema, meta and privilege (#13702) 2019-11-26 17:27:29 +08:00
4c8c3b4157 config: default to enable-xx if configuration options confict (#13153) 2019-11-26 14:54:30 +08:00
0e0faeeb30 *: use filepath instead of path for file operations (#13590) 2019-11-21 13:20:37 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
ccbdfdc517 tidb-server: handle deprecated configuration item in config-check (#13142) 2019-11-08 10:28:39 +08:00
26174f11b5 *: disable batch DMLs by default (#13081) 2019-11-07 19:59:15 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
f19a70c635 config: remove the pessimistic.ttl configure (#13112) 2019-11-05 10:46:10 +08:00
97061e86f7 update explaination of status and metrics configs (#13024) 2019-11-04 11:29:10 +08:00
ee4f1f9c1e store: stop updating pessimistic transaction's lock TTL when the session is killed (#12959) 2019-10-29 17:45:21 +08:00
adcd0ac7bf config: use enable-timestamp and enable-error-stack for configuration (#12853) 2019-10-29 14:07:29 +08:00
7447361591 tune grpc connection count between tidb and tikv (#12884)
Signed-off-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com>
2019-10-23 09:47:25 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
455b2d33e4 config: remove the log-rotate config (#12594)
log-rotate defaults to true and there is not way to turn off it.
provide it in the config file is misleading
2019-10-14 17:13:57 +08:00
8137c74a8e store/tikv: make cache ttl configurable (#12647) 2019-10-14 13:17:33 +08:00
1f3af1e4d5 log: support reloading tidb-query-max-log-len after modified (#12491) 2019-10-12 16:42:32 +08:00
f146185870 *: calculate GC safe point based on global min start timestamp (#12223) 2019-09-30 13:35:37 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
cbf4ddc9e2 *: improve the format of the error log (#12155) 2019-09-12 13:30:15 +08:00
e19138f1c2 config: disable local latch by default (#12068) 2019-09-09 18:12:11 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
3775b248c1 config: refine config file comment (#11933) 2019-08-29 19:21:05 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
df2075d745 *: remove the transaction kv count limit (#11141) 2019-08-09 20:35:37 +08:00
d91ed2b7a7 config: add split-region-max-num in config to control the maximum split region number (#11427)
All tests passed, auto merged by Bot
2019-07-31 10:47:40 +08:00
444fb8ce7e store/tikv, config: increase pessimistic lock ttl (#11499) 2019-07-30 13:31:50 +08:00