Open
Conversation
Added details about the global memory management framework in TiDB, including modes, error handling, monitoring, and practical deployment recommendations.
Added new system variables related to memory management in TiDB, including details on their scopes, types, default values, and warnings regarding experimental features.
Updated the documentation for the global memory management framework in TiDB, including changes to error messages, memory management modes, and monitoring metrics.
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
hfxsd
reviewed
Oct 10, 2025
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
hfxsd
reviewed
Dec 4, 2025
hfxsd
reviewed
Dec 4, 2025
hfxsd
reviewed
Dec 4, 2025
hfxsd
reviewed
Mar 23, 2026
hfxsd
reviewed
Mar 23, 2026
hfxsd
reviewed
Mar 23, 2026
hfxsd
reviewed
Mar 23, 2026
hfxsd
reviewed
Mar 23, 2026
Contributor
Author
|
/cc @copilot |
…wait_averse Agent-Logs-Url: https://github.com/pingcap/docs-cn/sessions/a019b30c-a16a-48b0-98e0-61848219236f Co-authored-by: solotzg <9016847+solotzg@users.noreply.github.com>
Contributor
Author
|
@copilot merge master |
…tzg-patch-1 Co-authored-by: solotzg <9016847+solotzg@users.noreply.github.com>
Updated warning message regarding experimental feature for memory arbitration mode.
solotzg
commented
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First-time contributors' checklist
What is changed, added or deleted? (Required)
新增 TiDB 全局内存仲裁模式文档,包括:
configure-memory-usage.md中新增内存仲裁模式章节,介绍standard和priority两种模式的工作原理、配置方法、监控指标及最佳实践system-variables.md中新增以下系统变量说明:tidb_mem_arbitrator_mode:设置 TiDB 实例的全局内存管理模式tidb_mem_arbitrator_query_reserved:设置 SQL 执行前预先订阅的内存资源份额tidb_mem_arbitrator_soft_limit:设置 TiDB 实例的内存资源份额上限tidb_mem_arbitrator_wait_averse:控制 SQL 等待内存资源的相关行为,包含0(默认值,变量不生效)、1和nolimit三个取值的说明Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?