Overview of the Redis Data Migration Solution
This section describes how to migrate services to GeminiDB Redis. If you have any questions about the migration, submit a service ticket to obtain technical support.
Usage Notes
Cloud services such as Alibaba Cloud Redis and TencentDB for Redis cannot use Huawei Cloud DRS for data migration due to the following factors:
- Some self-developed Redis-like databases are not compatible with the PSync protocol.
- Architecture restrictions: For many cloud vendors, the proxy component is added between users and Redis. PSync is not supported due to the proxy.
- Security restrictions: In native Redis, fork() is used over PSync, which causes memory expansion, user request delay increase, and even out of memory.
- Business strategy: A large number of users use RedisShake to migrate services from the cloud or change the cloud, so PSync is shielded.
Migration Tool
- Data Replication Service (DRS): supports full data migration and incremental data migration and provides secure, stable, and reliable migration links. For details, see Migration Solution Overview.
- Redis-Shake tool: is an open-source migration tool that supports migration modes such as full scanning (rump), data restoration (restore), and incremental synchronization (sync). You can download the tool to an ECS and use CLI to facilitate migration.
Required Permissions
- Ensure that the database port is enabled in the security group of the GeminiDB Redis instance.
Migration Scenarios
No. |
Source |
Destination |
Migration Solution |
---|---|---|---|
1 |
GeminiDB Redis API |
Open-source Redis/GeminiDB Redis API |
|
2 |
Alibaba Cloud Redis/Tair |
GeminiDB Redis |
Migrating the Alibaba Cloud Database Redis/Tair To GeminiDB Redis |
3 |
Open-source Redis |
GeminiDB Redis |
|
4 |
Open-source Redis |
GeminiDB Redis |
Migrating Data from Open-source Redis to GeminiDB Redis API Using Redis-Shake |
5 |
RDB |
GeminiDB Redis |
(Recommended) Importing Data to Restore RDB Files to a GeminiDB Redis Instance |
6 |
Self-built Kvrocks |
GeminiDB Redis |
|
7 |
Self-built Pika |
GeminiDB Redis |
|
8 |
Self-built SSDB |
GeminiDB Redis |
|
9 |
Self-built LevelDB |
GeminiDB Redis |
|
10 |
Self-built RocksDB |
GeminiDB Redis |
|
11 |
AWS ElasticCache for Redis |
GeminiDB Redis |
Migrating AWS Elastic Cache for Redis Databases To GeminiDB Redis |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot