Identifier length limits
MySQL mode
Item Maximum length Cluster name 128 bytes Tenant name 63 bytes Username 64 bytes Database name 128 bytes Table name 64 bytes Column name 128 bytes Index name 64 bytes View name 64 bytes Alias 255 bytes Table group name 127 bytes Oracle mode
Item Maximum length Cluster name 128 bytes Tenant name 63 bytes Username 64 bytes Table name 128 bytes Column name 128 bytes Index name 128 bytes View name 128 bytes Alias 255 bytes Object name 128 bytes Table group name 127 bytes
Maximum number of ODP connections
| Item | Upper limit |
|---|---|
| Number of connections per OceanBase Database Proxy (ODP) | You can specify the client_max_connections parameter of an ODP to specify the maximum number of connections of the ODP. The default value is 8192.
Note |
Maximum number of partition replicas
| Item | Upper limit |
|---|---|
| Number of partition replicas per OBServer node | 500,000
Note |
Single-table limits
| Item | Upper limit |
|---|---|
| Row length | 1.5 MB |
| Number of rows | Unlimited |
| Number of columns | 4,096 |
| Number of indexes | 128 |
| Total number of index columns | 512 |
| Index length | 16 KB |
| Total number of primary key columns | 64 |
| Primary key length | 16 KB |
| Number of partitions |
|
Single-column limits
| Item | Upper limit |
|---|---|
| Length of an index column | 16 KB |
String type limits
MySQL mode
Item Maximum length CHAR256 bytes VARCHAR262144 bytes BINARY256 bytes VARBINARY1048576 bytes TINYBLOB256 bytes BLOB65536 bytes MEDIUMBLOB16777216 bytes LONGBLOB50331648 bytes TINYTEXT256 bytes TEXT65536 bytes MEDIUMTEXT16777216 bytes LONGTEXT50331648 bytes Oracle mode
Item Maximum length CHAR2000 bytes VARCHAR32767 bytes VARCHAR232767 bytes NCHAR2000 bytes NVARCHAR232767 bytes BLOB67108864 bytes CLOB67108864 bytes
Feature limitations
Backup and restore limitations
When you perform a secondary backup, ensure that at least one valid backup copy exists in the source backup location.
Primary/standby cluster limitations
| Item | Description |
|---|---|
| Cluster-level synchronization | Data is synchronized from the primary cluster to standby clusters by cluster. |
| Tenant-level synchronization | Data cannot be synchronized from the primary cluster to standby clusters by tenant. |
| Maximum number of standby clusters | 31 |
Maximum number of DDL statements for the sys tenant of a standby cluster |
Less than 500 per second |
| Synchronization of parameters | Modifications to parameters in the primary cluster are not synchronized to standby clusters. |
| Synchronization of system variables of user tenants | Modifications to regular system variables in the primary cluster are synchronized to standby clusters. |
| Table- or database-level locality and primary zone settings in the primary cluster | Not supported |
| Tenant-level locality and primary zone settings in the primary cluster | Supported |
| Replica types |
|
| Upgrade mode | Rolling upgrades are supported starting from OceanBase Database V2.2.60. |
| GTS | GTS must be enabled for all user tenants. |
| One-phase commits of distributed transactions | enable_one_phase_commit must be set to False for the primary and standby clusters. |
| Schema objects | Tables can be copied, but locality cannot be set for tables. |
| Adding a standby cluster |
|
| Standby cluster operations | DML operations, explicit transaction enabling, SELECT FOR UPDATE, and DDL operations cannot be performed on a standby cluster. |
| Switchover |
|
| Failover |
|
| Protection mode |
|
| Physical backup and restore |
|
| Disconnecting a standby cluster |
|