Skip to content

Commit f37cda3

Browse files
author
yikeke
committed
update tikv-control from pingcap#1134 pr
Via: pingcap/docs#1134
1 parent 4637424 commit f37cda3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/tikv-control.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,12 @@ $ tikv-ctl --host 127.0.0.1:20160 region-properties -r 2
203203
- `-v` 用于指定配置值。
204204
205205
```bash
206+
# 设置 `shared block cache` 的大小.
206207
$ tikv-ctl modify-tikv-config -m storage -n block_cache.capacity -v 10GB
207208
success!
209+
# 当禁用 `shared block cache` 时,为 `write` CF 设置 `block cache size`
210+
$ tikv-ctl modify-tikv-config -m kvdb -n write.block_cache_size -v 256MB
211+
success!
208212
$ tikv-ctl modify-tikv-config -m kvdb -n max_background_jobs -v 8
209213
success!
210214
$ tikv-ctl modify-tikv-config -m raftdb -n default.disable_auto_compactions -v true

0 commit comments

Comments
 (0)