Skip to content

Commit 228fa7a

Browse files
authored
tikv: clarify the description of config 'in-memory-engine.capacity' (#21828) (#21834)
1 parent 33baa37 commit 228fa7a

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
@@ -2681,8 +2681,8 @@ TiKV MVCC in-memory engine (IME) configuration items related to the storage laye
26812681
> + After the in-memory engine is enabled, `block-cache.capacity` automatically decreases by 10%.
26822682
> + 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.
26832683
2684-
+ 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.
2685-
+ Default value: 10% of the system memory.
2684+
+ 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.
2685+
+ Default value: `min(10% of the total system memory, 5 GiB)`
26862686

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

0 commit comments

Comments
 (0)