Skip to content

Commit

Permalink
Update system-variables.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aolin <[email protected]>
  • Loading branch information
qw4990 and Oreoxmt authored Sep 18, 2024
1 parent 9f27858 commit 3e3c8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2991,7 +2991,7 @@ v5.0 后,用户仍可以单独修改以上系统变量(会有废弃警告)
- 类型:浮点型
- 默认值:`0.1`
- 范围:`[0, 1]`
- 这个变量控制发生内存驱逐动作后,空闲内存的百分比。TiDB 会在 Plan Cache 使用的内存达到 `tidb_instance_plan_cache_max_size` 时,依据 LRU 开始驱逐内存中的执行计划,直到空闲内存比例超过 `tidb_instance_plan_cache_reserved_percentage` 的定义为止
- 这个变量用于控制内存驱逐后 Instance Plan Cache 的空闲内存百分比。当 Instance Plan Cache 使用的内存达到 [`tidb_instance_plan_cache_max_size`](#tidb_instance_plan_cache_max_size从-v840-版本开始引入) 设置的上限时,TiDB 会按照 Least Recently Used (LRU) 算法开始驱逐内存中的执行计划,直到空闲内存比例超过 [`tidb_instance_plan_cache_reserved_percentage`](#tidb_instance_plan_cache_reserved_percentage-从-v840-版本开始引入) 设定的值

### `tidb_instance_plan_cache_max_size` <span class="version-mark">从 v8.4.0 版本开始引入</span>

Expand Down

0 comments on commit 3e3c8a2

Please sign in to comment.