How to choose a database product
Updated at:
Copy as MD
Alibaba Gov Cloud offers various database products, including relational databases such as the RDS series and DRDS, and NoSQL databases such as Redis and MongoDB. This topic explains the differences between these database products to help you select the one that best suits your business needs. Choosing the right product helps you avoid future issues with usage, purchasing, or budget control.
Comparison of database products
Alibaba Gov Cloud provides both relational and NoSQL databases. Each database type is available in Basic, High-availability, and Cluster editions to suit different government scenarios. The following table uses RDS as an example to compare these editions and lists their applicable government scenarios.
| Database series | Description | Applicable government scenarios |
| Basic Edition | A single-node instance that uses a compute-storage decoupled architecture. It offers excellent value for money. For more information, see Basic Edition. |
|
| High-availability Edition | Uses a classic high-availability architecture with one primary node and one secondary node. It is suitable for over 80% of user scenarios. |
|
| Cluster Edition | Available for SQL Server 2017 Enterprise Edition. It is based on AlwaysOn technology. It supports a high-availability architecture with one primary node and one secondary node, and up to seven read-only instances. It also supports horizontal scaling of the cluster's read capability. Note
| High-frequency database reads and writes in the government sector. |
The following table compares mainstream relational and NoSQL databases based on price and applicable scenarios.
| Database type | Database name | Price | Scenarios |
| Relational database | RDS for MySQL | Low |
|
| RDS for SQL Server | High |
| |
| RDS for PostgreSQL | Lowest |
| |
| RDS for PPAS | High |
| |
| DRDS | Medium |
| |
| NoSQL database | Redis | Medium |
|
| MongoDB Edition | Medium |
|
Customer use case
A government agency frequently experienced database freezes when handling a growing number of online government services. After analysis, they identified several reasons for the freezes:
This architecture, along with an upgrade to the latest MySQL version, significantly improved the database's concurrency capabilities and resolved the issue.
- Excessive data volume, which caused poor database performance.
- High query concurrency, which the original database could not handle.
This architecture, along with an upgrade to the latest MySQL version, significantly improved the database's concurrency capabilities and resolved the issue.Is this page helpful?