Can I Migrate Data from a Multi-DB Source Redis Instance to a Cluster DCS Redis Instance?
A total of 256 DBs (DB 0 to DB 255) can be configured for a single-node, read/write splitting, or master/standby DCS instance.
- If the target is a Redis Cluster instance (a Redis Cluster instance has only one DB):
- Combine different DBs in the source Redis instance into one DB.
- Apply for multiple DCS instances.
After the migration, the instance connection address and DB IDs change. In this case, modify the configurations for your services.
- If the target is a Proxy Cluster instance:
By default, the multi-DB function is disabled for Proxy Cluster instances and only one DB (DB0) is available. To use more than one DB, enable multi-DB by referring to Enabling Multi-DB before migration.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.