Skip to content

cloud: add tidb-x-cloud.202603.1.md - #23458

Open
qiancai wants to merge 15 commits into
pingcap:release-8.5from
qiancai:add-tidb-x-2603-rn
Open

cloud: add tidb-x-cloud.202603.1.md#23458
qiancai wants to merge 15 commits into
pingcap:release-8.5from
qiancai:add-tidb-x-2603-rn

Conversation

@qiancai

@qiancai qiancai commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

First-time contributors' checklist

What is changed, added or deleted? (Required)

Add tidb-x-cloud.202603.1.md

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.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • New Features
    • Added partial index support and LATERAL syntax parsing.
    • Added table aliases for FOR UPDATE OF.
    • Added MySQL 8.4 Dumpling compatibility.
    • Added table affinity and shared-lock foreign-key checks.
    • Added improved PD configuration, metrics, and API capabilities.
  • Performance & Stability
    • Optimized DDL operations, index lookup pushdown, and query execution.
    • Improved background-task resource controls, runaway-query handling, and Region query batching.
  • Observability
    • Added fine-grained slow-query logging.
  • Documentation
    • Published release notes for TiDB-X-CLOUD 202603.1.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 6, 2026
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 40ef575a-daf4-4ea5-860f-98f2bd4d0dc4

📥 Commits

Reviewing files that changed from the base of the PR and between c553e45 and 15f47e5.

📒 Files selected for processing (1)
  • tidb-cloud/releases/tidb-x-cloud.202603.1.md

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

Added the TiDB-X-CLOUD.202603.1 release entry. The notes cover release metadata, performance, stability, observability, SQL, MySQL compatibility, parsing, query processing, optimizer behavior, and operational improvements.

Changes

TiDB-X-CLOUD.202603.1 release documentation

Layer / File(s) Summary
Release metadata and operational features
tidb-cloud/releases/tidb-x-cloud.202603.1.md
Added release metadata and documented lossy DDL optimization, index lookup pushdown, table affinity, background-task resource limits, and slow-query logging.
SQL and compatibility notes
tidb-cloud/releases/tidb-x-cloud.202603.1.md
Documented table aliases in FOR UPDATE OF, partial indexes, MySQL 8.4 Dumpling support, and LATERAL syntax parsing.
General improvements
tidb-cloud/releases/tidb-x-cloud.202603.1.md
Documented improvements to parsing, statistics, query processing, optimizer behavior, partitioned tables, PD behavior, configuration, metrics, and HTTP responses.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 15f47

This change adds TiDB-X-CLOUD.202603.1 release documentation. No merge-blocking correctness or operational risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description includes the required template sections and identifies the added file, but it does not select the applicable TiDB version. The pull request targets the release-8.5 branch, so the v8.5 … Select the applicable version checkbox, at minimum v8.5 for the stated target branch. Add related code or reference links when applicable, and confirm whether the first-time contributor and AI-agent checkboxes apply.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the cloud release-note file added by this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description includes the required template sections and identifies the added file, but it does not select the applicable TiDB version. The pull request targets the release-8.5 branch, so the v8.5 checkbox should be selected.

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a5df0f53-536e-4885-8a72-138b176217e8

📥 Commits

Reviewing files that changed from the base of the PR and between 2fec26d and b50c573.

📒 Files selected for processing (1)
  • tidb-cloud/releases/tidb-x-cloud.202603.1.md

Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
@lilin90 lilin90 added the for-cloud-release This PR is related to TiDB Cloud release. label Aug 10, 2026
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
@CLAassistant

CLAassistant commented Aug 14, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated

### Stability

* The feature of setting the maximum limit on resource usage for background tasks of resource control becomes generally available (GA) [#56019](https://github.com/pingcap/tidb/issues/56019) @[glorv](https://github.com/glorv) <!-- (dup): release-8.5.6.md > Features > Stability --> <!-- pr: https://github.com/pingcap/tidb/pull/66381 -->

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD

@qiancai qiancai added area/tidb-cloud This PR relates to the area of TiDB Cloud. and removed for-cloud-release This PR is related to TiDB Cloud release. labels Aug 26, 2026
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated

Starting from v8.5.6, TiDB enhances slow query log control. You can use the [`tidb_slow_log_rules`](https://docs.pingcap.com/tidb/v8.5/system-variables#tidb_slow_log_rules-new-in-v856) system variable to define multi-dimensional slow query log output rules at the instance, session, and SQL levels, based on conditions such as `Query_time`, `Digest`, `Mem_max`, and `KV_total`. You can use [`tidb_slow_log_max_per_sec`](https://docs.pingcap.com/tidb/v8.5/system-variables#tidb_slow_log_max_per_sec-new-in-v856) to limit the number of log entries written per second, and use the [`WRITE_SLOW_LOG`](https://docs.pingcap.com/tidb/v8.5/optimizer-hints) hint to force slow query logging for specific SQL statements. This enables more flexible and fine-grained control over slow query logs.

For more information, see [documentation](https://docs.pingcap.com/tidbcloud/config-slow-query-trigger-rules/?plan=premium).

@qiancai qiancai Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip for reviewer: This above doc link will be available after https://github.com/pingcap/docs/pull/23767/files is merged.

Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
- Support partial ordered index optimization for `ORDER BY ... LIMIT/OFFSET` queries on matching prefix indexes. When `tidb_opt_partial_ordered_index_for_topn` is set to `COST`, TiDB can use the partial ordering of indexes to reduce full table scans and improve `TOPN` query performance [#63280](https://github.com/pingcap/tidb/issues/63280) [#65813](https://github.com/pingcap/tidb/issues/65813) [#66338](https://github.com/pingcap/tidb/issues/66338) @[elsa0520](https://github.com/elsa0520) @[xzhangxian1008](https://github.com/xzhangxian1008) @[winoros](https://github.com/winoros) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- miss issue https://github.com/pingcap/tidb/issues/66338 in release-8.5.7.md --> <!-- exclude author xzhangxian1008, winoros in release-8.5.7.md --> <!-- pr: https://github.com/pingcap/tidb/pull/65314, https://github.com/pingcap/tidb/pull/66268, https://github.com/pingcap/tidb/pull/66181, https://github.com/pingcap/tidb/pull/65799, https://github.com/pingcap/tidb/pull/65533 -->
- Mitigate coprocessor request bursts for `IndexLookUp` queries on highly partitioned tables with local indexes to improve query stability and reduce performance spikes [#67545](https://github.com/pingcap/tidb/issues/67545) @[gengliqi](https://github.com/gengliqi) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/69334 -->
- Optimize CPU and memory usage for `INSERT ... ON DUPLICATE KEY UPDATE` statements by reducing unnecessary expression buffer allocations during execution [#65003](https://github.com/pingcap/tidb/issues/65003) @[windtalker](https://github.com/windtalker) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/65244 -->
- Add the `tidb_opt_enable_alternative_logical_plans` system variable to enable alternative logical plan optimization for subquery decorrelation [#66676](https://github.com/pingcap/tidb/issues/66676) @[AilinKid](https://github.com/AilinKid) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/66677 -->

@qiancai qiancai Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD

- Optimize CPU and memory usage for `INSERT ... ON DUPLICATE KEY UPDATE` statements by reducing unnecessary expression buffer allocations during execution [#65003](https://github.com/pingcap/tidb/issues/65003) @[windtalker](https://github.com/windtalker) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/65244 -->
- Add the `tidb_opt_enable_alternative_logical_plans` system variable to enable alternative logical plan optimization for subquery decorrelation [#66676](https://github.com/pingcap/tidb/issues/66676) @[AilinKid](https://github.com/AilinKid) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/66677 -->
- Optimize the logic for timestamp advancement and leader election [#9981](https://github.com/tikv/pd/issues/9981) @[bufferflies](https://github.com/bufferflies) <!-- (dup): release-8.5.5.md > Improvements > PD --> <!-- pr: https://github.com/tikv/pd/pull/9986 -->
- Support batch configuration of TiKV store limits by storage engine (TiKV or TiFlash) [#9970](https://github.com/tikv/pd/issues/9970) @[bufferflies](https://github.com/bufferflies) <!-- (dup): release-8.5.5.md > Improvements > PD --> <!-- pr: https://github.com/tikv/pd/pull/9978 -->

@qiancai qiancai Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD

- Add the `tidb_opt_enable_alternative_logical_plans` system variable to enable alternative logical plan optimization for subquery decorrelation [#66676](https://github.com/pingcap/tidb/issues/66676) @[AilinKid](https://github.com/AilinKid) <!-- (dup): release-8.5.7.md > Improvements > TiDB --> <!-- pr: https://github.com/pingcap/tidb/pull/66677 -->
- Optimize the logic for timestamp advancement and leader election [#9981](https://github.com/tikv/pd/issues/9981) @[bufferflies](https://github.com/bufferflies) <!-- (dup): release-8.5.5.md > Improvements > PD --> <!-- pr: https://github.com/tikv/pd/pull/9986 -->
- Support batch configuration of TiKV store limits by storage engine (TiKV or TiFlash) [#9970](https://github.com/tikv/pd/issues/9970) @[bufferflies](https://github.com/bufferflies) <!-- (dup): release-8.5.5.md > Improvements > PD --> <!-- pr: https://github.com/tikv/pd/pull/9978 -->
- Add the `store` label to the `pd_cluster_status` metric [#9855](https://github.com/tikv/pd/issues/9855) @[SerjKol80](https://github.com/SerjKol80) <!-- (dup): release-8.5.5.md > Improvements > PD --> <!-- pr: https://github.com/tikv/pd/pull/9898 -->

@qiancai qiancai Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD

Comment thread tidb-cloud/releases/tidb-x-cloud.202603.1.md Outdated
@qiancai qiancai added translation/no-need No need to translate this PR. needs-cherry-pick-master Should cherry pick this PR to master branch. and removed missing-translation-status This PR does not have translation status info. labels Sep 9, 2026

@zhaoshangzi zhaoshangzi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feature is lgtm

@ti-chi-bot

ti-chi-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

@zhaoshangzi: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

feature is lgtm

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.

@qiancai qiancai self-assigned this Sep 10, 2026
@ti-chi-bot

ti-chi-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from qiancai. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tidb-cloud This PR relates to the area of TiDB Cloud. needs-cherry-pick-master Should cherry pick this PR to master branch. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants