tidb: global memory arbitrator mechanism#20955
Merged
Merged
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
github-actions Bot
added a commit
to hfxsd/docs
that referenced
this pull request
May 13, 2026
Synced from: pingcap/docs-cn#20955 Target PR: pingcap#22882 AI Provider: azure Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
hfxsd
reviewed
May 14, 2026
hfxsd
reviewed
May 21, 2026
hfxsd
reviewed
May 21, 2026
hfxsd
approved these changes
May 22, 2026
[LGTM Timeline notifier]Timeline:
|
Collaborator
|
/retest |
This reverts commit f0d7c9b.
hfxsd
reviewed
May 22, 2026
hfxsd
approved these changes
May 22, 2026
|
@hfxsd: Your lgtm message is repeated, so it is ignored. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This reverts commit 1061c65.
Collaborator
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hfxsd The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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)
Add documentation for the TiDB global memory arbitrator mode, including:
standardandprioritymodes.tidb_mem_arbitrator_mode: sets the global memory management mode for a TiDB instance.tidb_mem_arbitrator_query_reserved: sets the amount of memory reserved in advance for a SQL statement before execution.tidb_mem_arbitrator_soft_limit: sets the upper limit of memory allocation for a TiDB instance.tidb_mem_arbitrator_wait_averse: controls the behavior of SQL statements when waiting for memory resources, including the meanings of the values0(default, disabled),1, andnolimit.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?