Repository navigation
docs: clarify large-value type limits in TiDB limitations - #24528
ti-chi-bot[bot] merged 3 commits into
Conversation
|
Note Reviews pausedIt 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
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository: pingcap/docs/.coderabbit.yaml
- Review profile: ASSERTIVE
- Plan: Advanced
- Run ID:
b12cce03-7862-4892-b74c-61e5dfb72bc1
📒 Files selected for processing: 1
tidb-limitations.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
| | MEDIUMTEXT | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | ||
| | LONGTEXT | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | ||
| | MEDIUMBLOB | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | ||
| | LONGBLOB | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | |
There was a problem hiding this comment.
| | MEDIUMTEXT | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | LONGTEXT | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | MEDIUMBLOB | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | LONGBLOB | Single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | MEDIUMTEXT | Maximum size for a single value: 16,777,215 bytes; single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | LONGTEXT | Maximum size for a single value: 4,294,967,295 bytes; single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | MEDIUMBLOB | Maximum size for a single value: 16,777,215 bytes; single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | | |
| | LONGBLOB | Maximum size for a single value: 4,294,967,295 bytes; single-row size limit: 6 MiB by default, adjustable to 120 MiB via `txn-entry-size-limit` | |
|
|
||
| > **Note:** | ||
| > | ||
| > The `TEXT` and `BLOB` limits in the preceding table match the corresponding MySQL type limits. To store values larger than 65,535 bytes, use `MEDIUMTEXT`, `LONGTEXT`, `MEDIUMBLOB`, or `LONGBLOB`. The size of `JSON` values is also bounded by the single-row size limit. |
There was a problem hiding this comment.
| > The `TEXT` and `BLOB` limits in the preceding table match the corresponding MySQL type limits. To store values larger than 65,535 bytes, use `MEDIUMTEXT`, `LONGTEXT`, `MEDIUMBLOB`, or `LONGBLOB`. The size of `JSON` values is also bounded by the single-row size limit. | |
| > The `TEXT` and `BLOB` limits in the preceding table match the corresponding MySQL type limits. To store values larger than 65,535 bytes, use `MEDIUMTEXT`, `LONGTEXT`, `MEDIUMBLOB`, or `LONGBLOB`. The size of `JSON` values is also subject to the single-row size limit. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository: pingcap/docs/.coderabbit.yaml
- Review profile: ASSERTIVE
- Plan: Advanced
- Run ID:
4beed652-eb6f-4055-9b9a-75b2494310f4
📒 Files selected for processing: 1
tidb-limitations.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
|
/cc @joechenrh |
|
@qiancai: GitHub didn't allow me to request PR reviews from the following users: joechenrh. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
|
@joechenrh: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
[LGTM Timeline notifier]Timeline:
|
|
/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 |
|
/cherry-pick release-8.5 |
|
@qiancai: new pull request created: #24801 If you need to push to the cherry-pick branch, comment 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. |
What is changed, added, or deleted? (Required)
tidb-limitations.mddata type table to includeMEDIUMTEXT,LONGTEXT,MEDIUMBLOB,LONGBLOB, andJSON.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.
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
MEDIUMTEXT,LONGTEXT,MEDIUMBLOB,LONGBLOB, andJSON; JSON’s limit is not separately specified.TEXTandBLOBlimits 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.