DCS Redis Help Documentation

Limitations

2024-05-24 07:58:29

Limitations of various data types and some functional features of DCS Redis are as follows:

Item

Description

List Data Type

There is no limit on the number of Lists or the elements they contain. It is recommended that the number of elements in a List be less than 8192, and the maximum length of Value be less than 32K.

Set Data Type

There is no limit on the number of Sets or the elements they contain. It is recommended that the number of elements in a Set be less than 8192, and the maximum length of Value be less than 32K.

Sorted Set Data Type

There is no limit on the number of Sorted Sets or the elements they contain. It is recommended that the number of elements in a Sorted Set be less than 8192, and the maximum length of Value be less than 32K.

Hash Data Type

There is no limit on the number of Hashes or the elements they contain. It is recommended that the number of elements in a Hash be less than 8192, and the maximum length of Value be less than 32K.

DB Number Restriction

Each instance supports 256 DBs.

Description

The total amount of data stored in all DBs is limited by the memory size of the instance;

the memory used by a single DB is automatically assigned according to usage, and the upper limit is the instance memory (for instance, if DB0 occupies all the memory, there will be no data in the rest of the DBs).

Expired Data Deletion Policy

The lazy deletion policy is used by default. When a user accesses a key and the key has expired, it will be deleted.

Idle Connection Reclamation Mechanism

The server does not automatically reclaim idle connections, which are managed by the user.


L6VP8P9wJx2I