Skip to content

Commit 6518b74

Browse files
authored
tikv: clarify the description of config 'in-memory-engine.capacity' (#21828)
1 parent d5d6656 commit 6518b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tikv-configuration-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2709,8 +2709,8 @@ TiKV MVCC in-memory engine (IME) configuration items related to the storage laye
27092709
> + After the in-memory engine is enabled, `block-cache.capacity` automatically decreases by 10%.
27102710
> + If you manually configure `capacity`, `block-cache.capacity` does not automatically decrease. In this case, you need to manually adjust its value to avoid OOM.
27112711
2712-
+ Controls the maximum memory size that the in-memory engine can use. The maximum value is 5 GiB. You can manually configure it to use more memory.
2713-
+ Default value: 10% of the system memory.
2712+
+ Controls the maximum memory size that the [TiKV MVCC in-memory engine](/tikv-in-memory-engine.md) can use. The memory capacity determines the number of Regions that can be cached. When the capacity is full, the in-memory engine loads new Regions and evicts cached Regions based on the redundancy of Region MVCC.
2713+
+ Default value: `min(10% of the total system memory, 5 GiB)`
27142714

27152715
### `gc-run-interval` <span class="version-mark">New in v8.5.0</span>
27162716

0 commit comments

Comments
 (0)