Updated on 2025-05-22 GMT+08:00

Selecting Appropriate Database Resources

Huawei Cloud database services vary in optimization methods and precautions. Select appropriate database resources by considering:

  • Compatibility. Generally, you should select databases that are compatible with the original ones. The purpose of migrating databases to the cloud is to enable production work to focus more on the application layer. Before migrating databases to the cloud, it should be ensured that the databases in the system have been tested by real services. To avoid incompatibility between the database layer and application layer after migration, you should use cloud databases with the same ecosystem as the original ones.
  • Migratability. The solution must support smooth migration. A key concern is to use the capabilities provided by the database migration service to evaluate the impact of database switchover on other components in the service system (such as service interruption and data transfer efficiency).
  • Service scenario evaluation. To create a cloud-based service system, select a cloud database that meets your needs first. The evaluation of required databases is based on the features of the real service system, not on whether the database should be created on the cloud. For example, for an e-commerce system, select MySQL for user and buyer information management and transaction processing, and MongoDB for product information management.
  • Architecture design (performance, reliability, multi-region deployment, and security) constraints. They are the specific requirements of the service system in every dimension, and determine the requirements for database specifications and resource quantity. Grasping the requirements for service performance and reliability and evaluating the performance load capability and load stability of the cloud database can help you better select the database service that meets service requirements. When evaluating the required resource quantity, analyze the requirements of key indicators (such as the number of database connections and transaction processing performance) and the constraints of the deployment design (such as DR requirements). In terms of security, evaluate each design constraint (such as access control and data encryption) to determine whether the database cloud service meets the requirements.