Alibaba Cloud offers several database series, such as the Master-replica Edition and the High Availability Edition. This topic describes the Master-replica Edition.
The Master-replica Edition uses a traditional database topology with one primary instance and multiple read-only instances. You can start with a cost-effective single-node topology, which includes a primary instance with no read-only instances, and add up to five read-only instances as your needs grow. Each read-only instance is a single-node instance and can serve as a failover target. This topology provides both high availability and flexible resource management. In the Basic Information section of the instance details page, the Type and Series field displays General-purpose Instance (Master-replica Edition) for this instance type.
Supported versions
- MySQL 8.0
- MySQL 5.7
Benefits
- Flexible cost control
Each read-only instance uses a single-node topology and is always accessible for read queries. This design significantly reduces the overhead and cost of idle standby resources while still providing high availability.
- High availabilityYou can use different specifications for your primary and read-only instances. For example, you can provision a read-only instance with higher specifications to increase read throughput. When the primary instance fails, the system automatically promotes a read-only instance to become the new primary. The system prioritizes a read-only instance with low traffic or specifications that match the original primary instance.Note Read-only instances are not highly available by default. Therefore, to achieve high availability, you must create at least two read-only instances.