-
Notifications
You must be signed in to change notification settings - Fork 709
Add TiDB limitations #2899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TiDB limitations #2899
Conversation
tidb-limitations.md
Outdated
| @@ -0,0 +1,74 @@ | |||
| --- | |||
| title: TiDB Limitations | |||
| summary: Learn the limitations of TiDB. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| summary: Learn the limitations of TiDB. | |
| summary: Learn the usage limitations of TiDB. |
tidb-limitations.md
Outdated
|
|
||
| # TiDB Limitations | ||
|
|
||
| This document describes the common limitations of TiDB, including the maximum identifier length and the maximum count of supported databases, tables, indexes, partitioned tables, and sequences. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This document describes the common limitations of TiDB, including the maximum identifier length and the maximum count of supported databases, tables, indexes, partitioned tables, and sequences. | |
| This document describes the common usage limitations of TiDB, including the maximum identifier length and the maximum number of supported databases, tables, indexes, partitioned tables, and sequences. |
tidb-limitations.md
Outdated
|
|
||
| This document describes the common limitations of TiDB, including the maximum identifier length and the maximum count of supported databases, tables, indexes, partitioned tables, and sequences. | ||
|
|
||
| ## Limitation on identifier length |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Limitation on identifier length | |
| ## Limitations on identifier length |
tidb-limitations.md
Outdated
|
|
||
| ## Limitation on identifier length | ||
|
|
||
| | Identifier type | Maximum length (character) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | Identifier type | Maximum length (character) | | |
| | Identifier type | Maximum length (number of characters allowed) | |
tidb-limitations.md
Outdated
| | View | 64 | | ||
| | Sequence | 64 | | ||
|
|
||
| ## Limitation on the total count of databases, tables, views, and connections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Limitation on the total count of databases, tables, views, and connections | |
| ## Limitations on the total number of databases, tables, views, and connections |
tidb-limitations.md
Outdated
| ## Limitation on a single row | ||
|
|
||
| | Type | Upper limit | | ||
| |:----------|:----------| | ||
| | Size | 6 MB | | ||
|
|
||
| ## Limitation on a single column | ||
|
|
||
| | Type | Upper limit | | ||
| |:----------|:----------| | ||
| | Size | 6 MB | | ||
|
|
||
| ## Limitation on string types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this context, the plural form of limitation is more commonly used. Please pay attention to this word.
tidb-limitations.md
Outdated
| | BINARY | 256 characters | | ||
| | VARBINARY | 65535 characters | | ||
| | VARCHAR | 16383 characters | | ||
| | TEXT | 6MB bytes | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | TEXT | 6MB bytes | | |
| | TEXT | 6 MB bytes | |
tidb-limitations.md
Outdated
| | VARBINARY | 65535 characters | | ||
| | VARCHAR | 16383 characters | | ||
| | TEXT | 6MB bytes | | ||
| | BLOB | 6MB bytes | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
tidb-limitations.md
Outdated
| | TEXT | 6MB bytes | | ||
| | BLOB | 6MB bytes | | ||
|
|
||
| ## Limitation on SQL statements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
tidb-limitations.md
Outdated
|
|
||
| | Type | Upper limit | | ||
| |:----------|:----------| | ||
| | The number of SQL statements in a single transaction | When the optimistic transaction is used and the transaction retry is enabled, the default upper limit is 5000, which can be changed through [`stmt-count-limit`](/tidb-configuration-file.md#stmt-count-limit). | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some meaning is missed. Try to be clearer in each column.
| | The number of SQL statements in a single transaction | When the optimistic transaction is used and the transaction retry is enabled, the default upper limit is 5000, which can be changed through [`stmt-count-limit`](/tidb-configuration-file.md#stmt-count-limit). | | |
| | The maximum number of SQL statements in a single transaction | When the optimistic transaction is used and the transaction retry is enabled, the default upper limit is 5000, which can be modified using [`stmt-count-limit`](/tidb-configuration-file.md#stmt-count-limit). | |
|
@lilin90 Comments addressed, PTAL again, thanks! |
lilin90
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment was ignored.
lilin90
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/merge |
|
/run-all-tests |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-4.0 in PR #2916 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
What is changed, added or deleted? (Required)
Add TiDB limitations.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?