This topic describes the limits on secondary indexes.
Index table limits
Limitations | Limitations | Description |
Secondary index table name | Must be unique within an instance | The following rules apply to naming secondary index tables:
|
Number of secondary indexes | 5 | If your business requirements exceed this limit, submit a ticket to contact us. |
Number of secondary index fields | 36 |
|
Data type of index columns | String, Integer, and Binary |
|
Data type of attribute columns | String, Integer, Double, Boolean, and Binary |
|
Other limits
Limits | Limitations | Description |
Index column | Cannot be an auto-increment column | The first primary key column of an index table cannot be an auto-increment column. |
Index table data operations | Read-only | You can only read data from an index table. You cannot perform write operations on an index table. |
Multiple data versions | Not supported | None. |
Time to Live (TTL) | Supported | Disable data table updates to keep the TTL of the index table and the data table consistent. |
Stream feature | Not supported | None. |
Looking up the data table | Not supported | You must manually look up the data table. |