v8.5.6: Add new session variable "tidb_opt_partial_ordered_index_for_topn" (#22495)#22737
Conversation
Synced from: pingcap/docs-cn#21318 Target PR: pingcap#22495 AI Provider: gemini Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aolin <aolinz@outlook.com>
There was a problem hiding this comment.
Code Review
This pull request introduces documentation for the new system variable tidb_opt_partial_ordered_index_for_topn, available in v8.5.6 and v9.0.0. The variable allows the optimizer to leverage partial index ordering to optimize TopN computations. The review feedback focuses on aligning the documentation with the style guide by using active voice, addressing the user in the second person, and removing redundant phrasing to improve clarity and conciseness.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiancai 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 |
23fa2ad
into
pingcap:feature/preview-v8.5.6
This is an automated cherry-pick of #22495
First-time contributors' checklist
What is changed, added or deleted? (Required)
Explain the new session variable "tidb_opt_partial_ordered_index_for_topn" in sys-var doc
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)?
Related issue: pingcap/tidb#65813
Do your changes match any of the following descriptions?