Skip to content

Commit 136e81e

Browse files
authored
tikv: fix the description of in-memory-engine.capacity (#22647)
1 parent b63614f commit 136e81e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

releases/release-8.5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Compared with the previous LTS 8.1.0, 8.5.0 includes new features, improvements,
236236
| -------- | -------- | -------- | -------- |
237237
| TiDB | [`deprecate-integer-display-length`](/tidb-configuration-file.md#deprecate-integer-display-length) | Modified | Starting from v8.5.0, the integer display width feature is deprecated. The default value of this configuration item is changed from `false` to `true`. |
238238
| TiKV | [`raft-client-queue-size`](/tikv-configuration-file.md#raft-client-queue-size) | Modified | Changes the default value from `8192` to `16384`. |
239-
| TiKV | [`in-memory-engine.capacity`](/tikv-configuration-file.md#capacity-new-in-v850) | Newly added | Controls the maximum memory size that the TiKV MVCC in-memory engine can use. The default value is 10% of the system memory. The maximum value is 5 GiB.|
239+
| TiKV | [`in-memory-engine.capacity`](/tikv-configuration-file.md#capacity-new-in-v850) | Newly added | Controls the maximum memory size that the TiKV MVCC in-memory engine can use. The default value is `min(the system memory * 10%, 5 GiB)`.|
240240
| TiKV | [`in-memory-engine.enable`](/tikv-configuration-file.md#enable-new-in-v850) | Newly added | Controls whether to enable the TiKV MVCC in-memory engine to accelerate multi-version queries. The default value is `false`, which means that the in-memory engine is disabled. |
241241
| TiKV | [`in-memory-engine.gc-run-interval`](/tikv-configuration-file.md#gc-run-interval-new-in-v850) | Newly added | Controls the time interval at which the in-memory engine performs garbage collection (GC) on cached MVCC versions. The default value is `"3m"`.|
242242
| TiKV | [`in-memory-engine.mvcc-amplification-threshold`](/tikv-configuration-file.md#mvcc-amplification-threshold-new-in-v850) | Newly added | Controls the threshold for MVCC read amplification when the in-memory engine selects and loads Regions. The default value is `10`, indicating that if reading a single row in a Region requires processing more than 10 MVCC versions, this Region might be loaded into the in-memory engine.|

tikv-in-memory-engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To enable the TiKV MVCC in-memory engine (IME), you need to adjust the [TiKV con
4242
enable = false
4343

4444
# This parameter controls the memory size available to the in-memory engine.
45-
# The default value is 10% of the system memory, and the maximum value is 5 GiB.
45+
# The default value is `min(the system memory * 10%, 5 GiB)`. You can manually adjust the configuration to use more memory.
4646
# You can manually adjust this configuration to allocate more memory.
4747
# Note: When the in-memory engine is enabled, block-cache.capacity automatically decreases by 10%.
4848
capacity = "5GiB"

0 commit comments

Comments
 (0)