Data Layer Migration Solutions
The data layer stores service data persistently and provides data for implementing upper-layer service logic. This layer stores structured and unstructured data. Structured data includes data in various types of databases, such as MySQL and MongoDB databases. Unstructured data includes data in object storage and file storage.
- Structured data migration solution
Structured data provides instant support for services, including data query, computing, analysis, and modification. Services requiring continuity depend on the real-time synchronization capability of database migration tools. When developing the structured data migration solution, you need to consider the service continuity, migration network, and service architecture to strike a balance between data migration complexity, data migration timeliness, and service continuity.
- MySQL migration solution
Table 1 MySQL migration solution Migration Solution
Migration Method
Description
Scenario
Huawei Cloud Data Replication Service (DRS)
(Recommended)
Full and incremental migration
Simple configuration, one-click migration, and real-time synchronization of incremental data
1. Migration from on-premises or cloud service MySQL instances to Huawei Cloud MySQL instances
2. Migration from on-premises or cloud service MySQL instances to Huawei Cloud self-managed MySQL instances (migration to cloud service and then to self-managed MySQL instances)
Export and import using mysqldump
Full migration
The solution does not depend on networks, and the operations are complex. Only full migration is supported. Incremental data synchronization is not supported.
A long downtime window
Primary/secondary replication
Full and incremental migration
Complex operations
The source and destination databases are both self-managed MySQL databases, but their versions are incompatible with each other, so Huawei Cloud DRS cannot be used for the migration.
- SQL Server migration solution
Table 2 MySQL migration solution Migration Solution
Migration Method
Description
Scenario
Huawei Cloud DRS
(Recommended)
Full and incremental backup import
Simple operations on a GUI
Migration from on-premises SQL Server instances or cloud service SQL Server instances to Huawei Cloud SQL Server instances
Backup and restoration
Full and incremental backup import
Complex operations
Migration from on-premises SQL Server instances or cloud service SQL Server instances to Huawei Cloud RDS for SQL Server
- PostgreSQL migration solution
Table 3 PostgreSQL migration solution Migration Solution
Migration Method
Description
Scenario
Huawei Cloud DRS
(Recommended)
Full and incremental migration
Simple configuration, one-click migration, and real-time synchronization of incremental data
Migration from on-premises PostgreSQL instances or cloud service PostgreSQL instances to Huawei Cloud self-managed PostgreSQL instances or RDS for PostgreSQL
Export and import using pg_dump
Full migration
Advantages: This solution does not depend on the network.Disadvantages: The operations are complex. Only full migration is supported. Incremental data synchronization is not supported.
Huawei Cloud DRS is not applicable.
- MongoDB migration solution
Table 4 MongoDB migration solution Migration Solution
Migration Method
Description
Scenario
Huawei Cloud DRS
(Recommended)
Full and incremental migration
Simple configuration, one-click migration, and real-time synchronization of incremental data
Migration from on-premises MongoDB instances or cloud service MongoDB instances to Huawei Cloud self-managed MongoDB instances or cloud service MongoDB instances
Export and import
Full migration
The solution does not depend on networks, and the operations are complex. Only full migration is supported. Incremental data synchronization is not supported.
Huawei Cloud DRS is not applicable.
- Unstructured data migration solution
Unstructured data is in irregular or incomplete data structures and does not have a predefined data model. It cannot be represented in a two-dimensional logical table of a database. Unstructured data includes office documents, texts, images, XML, HTML, reports, audios, and videos. Enterprises' unstructured data is mainly stored in file storage and object storage.
- NAS migration solution
Table 5 NAS migration solution Migration Solution
Migration Method
Description
Scenario
Huawei Cloud Cloud Data Migration (CDM)
(recommended for migrating massive amounts of data)
Full and incremental migration
Simple operations and incremental migration, more suitable for massive amounts of data
Migration of data from object storage, network file storage, and big data storage to Huawei Cloud OBS, SFS, and big data storage.
Open-source tools Rclone and Rsync
Full migration
Rclone is complex. Rsync offers low migration efficiency.
Huawei Cloud FMS and CDM are not applicable.
- Object storage migration solution
Table 6 Object storage migration Migration Solution
Migration Method
Description
Scenario
Huawei Cloud OMS (recommended)
Full and incremental migration
Simple operations, high concurrency, data verification, and visualized reports
Migration of data from the source object storage to Huawei Cloud OBS
Open-source tools Rclone and Rsync
Full migration
Rclone is complex. Rsync offers low migration efficiency.
Huawei Cloud OMS is not applicable.
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