Add TiDB limitations#2899
Merged
Merged
Conversation
lilin90
reviewed
Jun 16, 2020
| @@ -0,0 +1,74 @@ | |||
| --- | |||
| title: TiDB Limitations | |||
| summary: Learn the limitations of TiDB. | |||
Member
There was a problem hiding this comment.
Suggested change
| summary: Learn the limitations of TiDB. | |
| summary: Learn the usage limitations of TiDB. |
|
|
||
| # 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. |
Member
There was a problem hiding this comment.
Suggested change
| 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. |
|
|
||
| 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 |
Member
There was a problem hiding this comment.
Suggested change
| ## Limitation on identifier length | |
| ## Limitations on identifier length |
|
|
||
| ## Limitation on identifier length | ||
|
|
||
| | Identifier type | Maximum length (character) | |
Member
There was a problem hiding this comment.
Suggested change
| | Identifier type | Maximum length (character) | | |
| | Identifier type | Maximum length (number of characters allowed) | |
| | View | 64 | | ||
| | Sequence | 64 | | ||
|
|
||
| ## Limitation on the total count of databases, tables, views, and connections |
Member
There was a problem hiding this comment.
Suggested change
| ## Limitation on the total count of databases, tables, views, and connections | |
| ## Limitations on the total number of databases, tables, views, and connections |
Comment on lines
+47
to
+59
| ## 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 |
Member
There was a problem hiding this comment.
In this context, the plural form of limitation is more commonly used. Please pay attention to this word.
| | BINARY | 256 characters | | ||
| | VARBINARY | 65535 characters | | ||
| | VARCHAR | 16383 characters | | ||
| | TEXT | 6MB bytes | |
Member
There was a problem hiding this comment.
Suggested change
| | TEXT | 6MB bytes | | |
| | TEXT | 6 MB bytes | |
| | VARBINARY | 65535 characters | | ||
| | VARCHAR | 16383 characters | | ||
| | TEXT | 6MB bytes | | ||
| | BLOB | 6MB bytes | |
| | TEXT | 6MB bytes | | ||
| | BLOB | 6MB bytes | | ||
|
|
||
| ## Limitation on SQL statements |
|
|
||
| | 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). | |
Member
There was a problem hiding this comment.
Some meaning is missed. Try to be clearer in each column.
Suggested change
| | 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). | |
Contributor
Author
|
@lilin90 Comments addressed, PTAL again, thanks! |
Member
|
/merge |
Contributor
|
/run-all-tests |
ti-srebot
pushed a commit
to ti-srebot/docs
that referenced
this pull request
Jun 16, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
5 tasks
Contributor
|
cherry pick to release-4.0 in PR #2916 |
lilin90
pushed a commit
that referenced
this pull request
Jun 16, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)?