Commit Graph

136 Commits

Author SHA1 Message Date
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
2640d6d69a config: refine comment (#11272) 2019-07-16 17:03:23 +08:00
fe0ed731e4 ddl: a better way to fix data race against #10900 (#11121) 2019-07-08 16:05:10 +08:00
fba5e6feff lock: add delay clean table lock when session close (#11038) 2019-07-04 14:59:37 +08:00
c78622848d config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable (#9035) (#9952) (#11058) 2019-07-04 12:23:20 +08:00
027851fe3b executor: fix two data races in tests (#11062) 2019-07-04 10:41:48 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
5cd77cdc8d ddl: fix a data race (#10900) 2019-06-21 16:17:22 +08:00
c0dc198b9b store/tikv: fix performance issue under mixed transaction mode (#10847) 2019-06-20 13:16:24 +08:00
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
71e852393b config: fix 'PessimisticTxn' config JSON key (#10820)
Signed-off-by: Lonng <heng@lonng.org>
2019-06-17 17:47:51 +08:00
54e48948d4 *: add config item for bind info lease (#10725) 2019-06-05 17:22:33 +08:00
412f6ef978 config: update pessimistic lock ttl. (#10578) 2019-05-24 11:41:48 +08:00
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00