ApsaraDB MyBase for MySQL provides two editions: High-availability Edition and Master-replica Edition. This topic describes Master-replica Edition.
ApsaraDB MyBase for MySQL Master-replica Edition supports an architecture that contains a primary instance and multiple read-only instances. To construct a single-node architecture, you can create a Master-replica Edition instance that has no read-only instances. To construct a multi-node architecture, you can create up to five read-only instances for a Master-replica Edition instance based on your business requirements. Read-only instances do not contain replicas but can be used for disaster recovery of Master-replica Edition instances. This ensures high stability and flexible resource management.
Supported versions of the MySQL database engine
- MySQL 8.0
- MySQL 5.7
Read-only instances are single-node instances and are all accessible. This helps you reduce costs that are incurred due to idle resources and ensure the high availability of your service.
- High availability
The specifications of read-only instances of an ApsaraDB MyBase for MySQL Master-replica Edition instance can be different from the specifications of the primary instance. You can create read-only instances that use higher specifications than the primary instance to provide a strong read capability. When the primary instance fails, the system promotes a read-only instance that has low workloads or that has the same specifications as the primary instance to be the new primary instance.Note An ApsaraDB MyBase for MySQL Master-replica Edition instance that contains one read-only instance cannot ensure the high availability of your service. To ensure the high availability of your service, create at least two read-only instances.