Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more configurations for tikv 5.2 #6876

Merged
merged 3 commits into from
Aug 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ TiKV 配置文件比命令行参数支持更多的选项。你可以在 [etc/con
+ 默认值:1s
+ 最小值:0

### `raft-client-queue-size`

+ TiKV 上 Raft 消息的发送缓冲区大小由这个参数指定。如果确认存在消息发送不及时导致缓冲区满、消息被丢弃的情况,可以适当调大这个值以提升系统运行的稳定性。
hicqu marked this conversation as resolved.
Show resolved Hide resolved
+ 默认值:8192

## readpool.unified

统一处理读请求的线程池相关的配置项。该线程池自 4.0 版本起取代原有的 storage 和 coprocessor 线程池。
Expand Down Expand Up @@ -671,6 +676,11 @@ raftstore 相关的配置项。
+ 默认值:1
+ 最小值:大于 0

### `cmd-batch`

+ 设置为 true 时,会开启对请求进行攒批的功能,可显著提升写入性能。
hicqu marked this conversation as resolved.
Show resolved Hide resolved
+ 默认值:true

### `inspect-interval`

+ TiKV 每隔一段时间会检测 Raftstore 线程的延迟情况,该配置项设置检测的时间间隔。当检测的延迟超过该时间,Raftstore 线程会被记为超时。
Expand Down