TiDB Limitations
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.
Limitations on identifier length
Limitations on the total number of databases, tables, views, and connections
Limitations on a single database
Limitations on a single table
- The upper limit of
Columnscan be modified viatable-column-count-limit. - The upper limit of
Indexescan be modified viaindex-limit.
Limitation on a single row
You can adjust the size limit via the txn-entry-size-limit configuration item.
Limitations on data types
Limitations on SQL statements
You can modify the limit via the stmt-count-limit configuration item.
Limitations on TiKV version
In your cluster, if the version of the TiDB component is v6.2.0 or later, the version of TiKV must be v6.2.0 or later.