<< Click to Display Table of Contents >> Configuration with permissions to use Redis storage |
![]() ![]() ![]() |
When using Redis storage permissions in database system, the performance will be greatly improved when there are more resources.
The currently supported Redis types are single and sentinel.
Database system permissions using Redis storage configuration steps:
1. When you file system, configure the following Redis properties in bi.properties
redis.mode=single/sentinel Represents the type of Redis:single Mode & Sentinel Mode;
redis.password=123456 Represents the password for Redis, and if no password is configured, there is no need to configure it;
redis.clustername=master Represents the cluster name of the Redis, and if it is single-threaded, it does not need to be configured
redis.hosts=127.0.0.1:26381,127.0.0.1:26380,127.0.0.1:26379,127.0.0.1:6379,127.0.0.1:6380,127.0.0.1:6381 Indicates the host IP and port for Redis, separated by commas.
2. Enter the administrative system-system settings-configure the database to synchronize in the data space configuration, as shown in the following figure:
3. Click Test Connection-> Save Connection-> Create Table, then select the "File System to Database" and click Synchronize, as shown in the following figure:
4 after synchronization, switch to the database system, and then restart the system, where permissions are stored in Redis.