This topic describes the limits on data types and some features of ApsaraDB for Redis.
Item | Description |
---|---|
List data type | The number of lists is not limited. The maximum size of each element is 512 MB. We recommend that the number of elements in a list is less than 8,192 and the maximum length of the value does not exceed 1 MB. |
Set data type | The number of sets is not limited. The maximum size of each element is 512 MB. We recommend that the number of elements in a set is less than 8,192 and the maximum length of the value does not exceed 1 MB. |
Sorted set data type | The number of sorted sets is not limited. The maximum size of each element is 512 MB. We recommend that the number of elements in a sorted set is less than 8,192 and the maximum length of the value does not exceed 1 MB. |
Hash data type | The number of fields is not limited. The maximum size of each element is 512 MB. We recommend that the number of elements in a hash table is less than 8,192 and the maximum length of the value does not exceed 1 MB. |
Number of databases (DBs) | Each instance supports 256 databases.
Note
|
Supported Redis commands | For more information, see Overview. |
Monitoring and alerts |
ApsaraDB for Redis does not provide capacity alerts. You have to configure this feature in Cloud Monitor. For more information, see Alert settings. We recommend that you set alerts for the following metrics: instance faults, instance failover, connection usage, failed operations, capacity usage, write bandwidth usage, and read bandwidth usage. |
Policies to delete expired data |
|
Idle connection recycling mechanism | ApsaraDB for Redis does not automatically recycle idle connections to ApsaraDB for Redis. You can manage the connections. |
Data persistence policy | ApsaraDB for Redis uses the AOF_FSYNC_EVERYSEC policy and runs the fysnc command at a one-second interval.
|