From 59a7146d325093eaee64929ed938e0b84dba5013 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 27 Mar 2026 18:26:30 +0800 Subject: [PATCH 1/3] Add temp.md --- temp.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 temp.md diff --git a/temp.md b/temp.md new file mode 100644 index 0000000000000..af27ff4986a7b --- /dev/null +++ b/temp.md @@ -0,0 +1 @@ +This is a test file. \ No newline at end of file From f65266e21885e4fa813e5bb5c752c3aa1057a41a Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 27 Mar 2026 18:26:36 +0800 Subject: [PATCH 2/3] Delete temp.md --- temp.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 temp.md diff --git a/temp.md b/temp.md deleted file mode 100644 index af27ff4986a7b..0000000000000 --- a/temp.md +++ /dev/null @@ -1 +0,0 @@ -This is a test file. \ No newline at end of file From 2b1b278705b9ec723f6c8423be4dbb3359a01cfa Mon Sep 17 00:00:00 2001 From: houfaxin Date: Mon, 30 Mar 2026 09:24:43 +0800 Subject: [PATCH 3/3] update the default value --- releases/release-8.5.0.md | 2 +- tikv-in-memory-engine.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-8.5.0.md b/releases/release-8.5.0.md index 216a5ecfd5fc4..343f5b428ba6c 100644 --- a/releases/release-8.5.0.md +++ b/releases/release-8.5.0.md @@ -236,7 +236,7 @@ Compared with the previous LTS 8.1.0, 8.5.0 includes new features, improvements, | -------- | -------- | -------- | -------- | | 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`. | | TiKV | [`raft-client-queue-size`](/tikv-configuration-file.md#raft-client-queue-size) | Modified | Changes the default value from `8192` to `16384`. | -| 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.| +| 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)`.| | 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. | | 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"`.| | 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.| diff --git a/tikv-in-memory-engine.md b/tikv-in-memory-engine.md index bf7fbb4f1fa75..463a00ebd7145 100644 --- a/tikv-in-memory-engine.md +++ b/tikv-in-memory-engine.md @@ -42,7 +42,7 @@ To enable the TiKV MVCC in-memory engine (IME), you need to adjust the [TiKV con enable = false # This parameter controls the memory size available to the in-memory engine. -# The default value is 10% of the system memory, and the maximum value is 5 GiB. +# The default value is `min(the system memory * 10%, 5 GiB)`. You can manually adjust the configuration to use more memory. # You can manually adjust this configuration to allocate more memory. # Note: When the in-memory engine is enabled, block-cache.capacity automatically decreases by 10%. capacity = "5GiB"