How Does MgC Generate Target Database Recommendations?
MgC can assess and generate recommendations for MySQL, PostgreSQL, MongoDB, Oracle, and SQL Server databases.
The following table describes how the system recommends database versions and specifications during assessment.
Cross-version migration may fail if there are compatibility risks. Before the migration, evaluate risks and back up all data.
| Database Type | Description |
|---|---|
| MySQL | If the source database version is earlier than 8.0, MySQL 5.7 is recommended. Otherwise, MySQL 8.0 is recommended. |
| PostgreSQL | The recommended target database version is preferably the same as the source database version. Note that PostgreSQL 12 and earlier versions are no longer available on Huawei Cloud. We will display all available versions on Huawei Cloud for you to choose. |
| SQL Server | The recommended target database version is preferably the same as the source database version. If the source one is no longer available, we will display all available versions on Huawei Cloud for you to choose. |
| MongoDB | The recommended target database version is preferably the same as the source database version. However, versions earlier than MongoDB 4.0 and later than MongoDB 5.0 are unavailable on Huawei Cloud. In this case, MongoDB 4.0 and MongoDB 5.0 are recommended. |
| Oracle | The recommended target database version is preferably the same as the source database version. If the source database version is missing, GaussDB V2.0-3.226 Enterprise Edition is recommended. |
| Database Type | Instance Specifications | Instance Type | Storage Type | Performance Specifications |
|---|---|---|---|---|
| MySQL | Target database instances are recommended on a 1:1 ratio based on the CPU and memory sizes of source database instances. If the identical specifications are unavailable on the target platform, the system will apply a "minimum-equal" rounding-up rule to recommend the next available higher specifications. If any core data (such as the CPU count, memory size, or disk capacity) cannot be obtained, or if the source database instance specifications exceed the maximum limits available for sale on Huawei Cloud, the recommendation will fail. | For reliability purposes, the primary/standby instance type is recommended. The classic high-availability architecture with one primary node and one standby node enhances instance reliability. | Cloud SSD | For stable performance, Dedicated instances are recommended. Dedicated instances have dedicated CPU and memory resources, ensuring stable performance that is not affected by other instances on the same physical machine. |
| PostgreSQL | ||||
| SQL Server | ||||
| MongoDB | For source replica set or single-node instances, we recommend DDS replica set instances. For cluster instances, we recommend DDS cluster instances. If the source database instance is a MongoDB replica set instance, the recommendation rules for the number of replica set instance nodes as follows:
| Ultra-high I/O | For stable performance, Enhanced II instances are recommended. Powered by the second-generation Intel® Xeon® Scalable processors and featuring multiple technology optimizations, Enhanced II instances provide powerful and stable compute performance. Equipped with 25GE high-speed intelligent NICs, they offer ultra-high network bandwidth and PPS. As an excellent choice for heavy-load scenarios, this type of instance is suitable for websites, web applications, general databases, cache servers, and medium- and heavy-load enterprise applications that have high performance requirements for compute and network resources. | |
| Oracle | For source RAC instances, we recommend distributed GaussDB instances. For other types, we recommend centralized GaussDB instances. | Ultra-high I/O | For stable performance, Dedicated instances are recommended. Dedicated instances have dedicated CPU and memory resources, ensuring stable performance that is not affected by other instances on the same physical machine. |
Any missing key fields may cause the database assessment process to fail. The following table describes the fields required for database assessment.
| Database Type | Required Field | Field Description |
|---|---|---|
| MySQL, PostgreSQL, SQL Server, Oracle, and MongoDB (replica set) | Version | Database version |
| CPU | Number of CPUs of the database instance | |
| Memory | Memory size of the database instance | |
| Disk size | Storage space of the database instance | |
| MongoDB (cluster) | Version | Database version |
| Mongos node CPU | Number of CPUs configured for mongos nodes in a MongoDB cluster | |
| Mongos node memory | Memory size configured for mongos nodes in a MongoDB cluster | |
| Shard node CPU | Number of CPUs configured for shard nodes in a MongoDB cluster | |
| Shard node memory | Memory size configured for shard nodes in a MongoDB cluster | |
| Disk size of shard nodes | Storage space configured for shard nodes in a MongoDB cluster | |
| Config node CPU | Number of CPUs configured for config nodes in a MongoDB cluster | |
| Config node memory | Memory size configured for config nodes in a MongoDB cluster |
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