Skip to content

[release-8.5] docs: clarify large-value type limits in TiDB limitations - #24801

Merged
ti-chi-bot[bot] merged 3 commits into
pingcap:release-8.5from
ti-chi-bot:cherry-pick-24528-to-release-8.5
Dec 4, 2026
Merged

ti-chi-bot[bot] merged 3 commits into
pingcap:release-8.5from
ti-chi-bot:cherry-pick-24528-to-release-8.5

Conversation

@ti-chi-bot

@ti-chi-bot ti-chi-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown

This is an automated cherry-pick of #24528

/assign qiancai

What is changed, added, or deleted? (Required)

  • Expand the tidb-limitations.md data type table to include MEDIUMTEXT, LONGTEXT, MEDIUMBLOB, LONGBLOB, and JSON.
  • Clarify that values larger than 65,535 bytes are still supported through the larger text and blob types, and that the actual stored value size is bounded by the single-row size limit controlled by txn-entry-size-limit.

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)?

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

  • Documentation
    • Added separate reference columns for maximum value sizes and the single-row size limit across supported data types.
    • Listed the single-row limit as 6 MiB by default, adjustable up to 120 MiB.
    • Expanded the table to include MEDIUMTEXT, LONGTEXT, MEDIUMBLOB, LONGBLOB, and JSON; JSON’s limit is not separately specified.
    • Clarified that TEXT and BLOB limits match MySQL, recommended larger types for values over 65,535 bytes, and noted that both individual values and the entire row must meet their respective limits.

@ti-chi-bot ti-chi-bot Bot added ONCALL Relates to documentation oncall. area/general Relates to TiDB overview, architecture, and other general descriptions. labels Dec 4, 2026
@ti-chi-bot ti-chi-bot Bot added contribution This PR is from a community contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/bugfix This PR fixes a bug. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. labels Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@qiancai

qiancai commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

/approve

@ti-chi-bot

ti-chi-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown
Author

[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

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

@ti-chi-bot ti-chi-bot Bot added the approved label Dec 4, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit 46fe6c5 into pingcap:release-8.5 Dec 4, 2026
10 checks passed
@ti-chi-bot
ti-chi-bot Bot deleted the cherry-pick-24528-to-release-8.5 branch December 4, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/general Relates to TiDB overview, architecture, and other general descriptions. contribution This PR is from a community contributor. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. ONCALL Relates to documentation oncall. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/bugfix This PR fixes a bug. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants