Commit Graph

61 Commits

Author SHA1 Message Date
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
357f9d7363 metrics: add db QPS metric (#9151) 2019-02-13 19:17:44 +08:00
c83a0ceb95 config: add a config item to control whether TiDB check the mb4 character in utf8 (#9175) 2019-01-25 14:39:30 +08:00
319656c407 tikvclient: support to batch grpc message to TiKVs (#8986) 2019-01-14 13:59:15 +08:00
2f54639f14 add binlog socket config for compatible with kafka version pump (#8732) 2018-12-19 13:23:14 +08:00
e3f3ac24f6 session: add a batch commit session variable for the large transaction (#8293) 2018-12-10 18:29:39 +08:00
84d1299bb2 config, util.kvcache: support the memory guard to prevent OOM for the plan cache (#8339) 2018-11-22 22:05:04 +08:00
2f2b47f511 store/tikv: Make maxTxnTimeUse a configurable value (#8215) 2018-11-12 15:13:13 +08:00
508f5dd626 binlog: use pumps client to write binlog (#8070) 2018-10-27 17:52:01 +08:00
a8f2909d40 *: remove kv.BypassLatch option and enable latch scheduler by default (#7882)
kv.BypassLatch was introduced to handle the fake transaction confliction problem
in the old implementation. After redesign of the latch scheduler, it's not
needed any more.

Enable latch scheduler makes CI to run it, we can fix bugs and make this feature
more stable.
There is a small performance penalty, less than 5%, users are free to disable it.
2018-10-15 13:49:38 +08:00
f387dfff09 add force priority config (#7777) 2018-09-25 20:28:28 +08:00
90e4d02152 privilege/privileges: sort user records in privilege cache (#7211) 2018-08-02 22:05:41 +08:00
33367fdd48 config,executor: provide a compatible-kill-query option in the config file (#7192)
When compatible-kill-query option is turned on, "kill xxx" command will not be
ignored, it works like "kill tidb xxx".
2018-07-30 23:53:47 +08:00
ba5a33f04c add keep alive settings (#7100) 2018-07-19 17:28:41 +08:00
6dcaecaf79 Add advertise-address to config (#7078) 2018-07-18 10:46:12 +08:00
63c4562c27 *: remove non-prepared plan cache (#7040)
* *: remove non-prepared plan cache

non-prepared plan cache is not usable if we can only do full string match.
And further development doesn't worth the effort.
2018-07-13 18:15:05 +08:00
425308780a config: disable local latches for transaction as default (#6930) 2018-06-28 19:07:58 +08:00
865d74b916 config: enable TxnLocalLatches in default (#6874) 2018-06-22 11:52:30 +08:00
0ab1b228c0 config, variable: add memory quota config for a query (#6788) 2018-06-12 13:08:28 +08:00
7fbbb1ff3e sessionctx/binloginfo: add a timeout for writing binlog (#6587) 2018-05-21 17:21:34 +08:00
7f2b3bd899 *: Add an option to stop writting binlog when TiDB meets binlog error (#6503)
Add an option to stop writting binlog when meets binlog error
Provide http interface to recover binlog service
2018-05-11 09:50:15 -05:00
57c010148a update default analyze ratio and pseudo estimate ratio (#6517)
If pseudo estimate ratio is greater or equal to analyze ratio, there would be a gap time the
table use pseudo stats to build plan.
2018-05-09 20:18:51 +08:00
8d345cd09a *: open auto analyze and stats feedback by default (#6500) 2018-05-08 19:18:50 +08:00
4185e53006 tikv/txn: support local latch in transaction (#6418) 2018-05-07 10:57:01 +08:00
23e8c6e12b *: add a system variable auto_analyze_ratio (#6455) 2018-05-04 10:54:30 +08:00
e215e93948 *: provide a configurable tidb_retry_limit session variable (#6369) 2018-05-03 19:52:53 +08:00
13cd13c79e config: set min auto-analyze-ratio to 0.3 (#6382)
Prevent accidentally set this value to low, cause cluster overload.
And update the config comment.
2018-04-25 22:12:52 +08:00
41f5940824 stats: support auto analyze table when modify/count is too high (#6294) 2018-04-17 21:15:35 +08:00
e2b033d1c0 *: add a tidb system variable tidb_hash_join_concurrency (#6244) 2018-04-12 20:28:19 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
602c6fc6f1 config: increase the default lease. (#6255) 2018-04-10 17:05:37 +08:00
d1fcbc0382 config: make pseudo estimate ratio configurable (#6254) 2018-04-10 14:45:15 +08:00
26525d1a63 config: remove useless 'enable-chunk' config item (#6212) 2018-04-03 17:41:29 +08:00
a3e4a92f47 stats: control collection of feedback (#6085) 2018-03-26 19:03:21 +08:00
d90d39cf0c config, variable: add a config to set 'lower_case_table_names' system variable. (#6054) 2018-03-14 20:29:53 +08:00
a90ee13c9f config: update config template (#5963)
* update config template
2018-03-07 10:56:45 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
8d55f63611 store/tikv: change CommitMaxBackoff to configuration parameters (#5764)
* change CommitMaxBackoff to configuration parameters
2018-03-05 11:38:47 +08:00
12a1a254fc config,distsql: add config for coprocessor streaming feature (#5917) 2018-02-28 21:36:22 -06:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
ae8e5941ea *: clean up abandoned storage engine (#5808) 2018-02-07 00:19:32 -06:00
147ca6adcf tidb,config: limit statement count in a transaction (#5704) 2018-01-25 13:05:24 +08:00
038201caed config: add MaxProcs (#5612)
Make CPU configurable.
2018-01-10 20:12:23 +08:00
546b5a9418 *: support tls connection to pd and tikv (#5311) 2017-12-12 20:17:19 -06:00
6b3ac08b7d config: enable table split. (#5379) 2017-12-12 01:11:30 -06:00
6ea7ae59f2 store/tikv, config: config for grpc connection. (#5284) 2017-12-04 11:06:39 +08:00
09e5e7b74c config: add an option to disable chunk (#5268) 2017-11-30 13:20:52 +08:00
b6e49c9bf9 Add PROXY protocol support (#3757) 2017-11-26 23:40:42 +08:00