Skip to content

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

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

ti-chi-bot[bot] merged 4 commits into
pingcap:release-8.5from
ti-chi-bot:cherry-pick-21992-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 #21992

/assign qiancai

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

  • Update tidb-limitations.md to add MEDIUMTEXT, LONGTEXT, MEDIUMBLOB, LONGBLOB, and JSON to the data type limits table.
  • Clarify that values larger than 65,535 bytes are 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 (in Chinese).

  • 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

  • 文档
    • 更新数据类型限制表,分别列出单个值的大小限制和单行数据大小限制,并补充 MEDIUMTEXT、LONGTEXT、MEDIUMBLOB、LONGBLOB 和 JSON。
    • 说明单行数据限制默认为 6 MiB,最高可调整至 120 MiB,并可通过 txn-entry-size-limit 调整。
    • 补充 TEXT 和 BLOB 的大小限制与 MySQL 对应类型一致;超过 65,535 字节的值应使用更大的类型。

@ti-chi-bot ti-chi-bot Bot added the ONCALL Relates to documentation oncall. label Dec 4, 2026
@ti-chi-bot ti-chi-bot Bot added area/general Relates to TiDB overview, architecture, and other general descriptions. 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. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. labels Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

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 0d33f7d into pingcap:release-8.5 Dec 4, 2026
9 checks passed
@ti-chi-bot
ti-chi-bot Bot deleted the cherry-pick-21992-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