Deployment solutions
ApsaraDB for OceanBase supports two billing methods: subscription and pay-as-you-go. It also offers three deployment solutions: multi-data center, dual-data center, and single-data center.
High-availability Edition
Multi-data center deployment
In a multi-data center deployment, ApsaraDB for OceanBase deploys three nodes across three different zones to provide cross-zone disaster recovery.
Each node is a full-featured replica. One primary replica provides read and write services, and the other two secondary replicas provide read-only services. If the primary replica fails, a secondary replica is promoted to the primary role to continue providing read and write services.
This deployment solution is recommended for customers who require high performance and availability across multiple data centers.
Dual-data center deployment
A dual-data center deployment for ApsaraDB for OceanBase has the following characteristics:
Two nodes are deployed in two different zones. One node is the primary replica and provides read and write services. The other node is a secondary replica that provides read-only services.
An arbitration node is deployed in a third zone for high availability (HA) switching. The arbitration node is used only for HA switching and does not store your business data. A cluster instance in a dual-data center deployment also provides data consistency and supports disaster recovery between the two data centers.

Single-data center deployment
In a single-data center deployment for ApsaraDB for OceanBase, all nodes are located in the same zone. This provides host-level fault tolerance.
A single-data center deployment also has the following advantages:
Two full-featured replicas provide read and write capabilities. This results in higher performance for database read and write operations.
Write requests in a single-data center deployment do not require cross-data center synchronization. This reduces data synchronization latency for write operations.

Differences between the three deployment solutions
Deployment solution | Multi-data center | Dual-data center | Single-data center |
Number of nodes (purchased) | 3 | 3 | 3 |
Number of full-featured replicas | 3 | 2 | 2/3 |
Arbitration service | 0 | 1 | 1/0 |
Number of nodes (visible to user) | 3 | 2 | 2/3 |
In the 2F1A (2 full-featured replicas and 1 arbitration service) replica solution, the arbitration service node is not visible to users. Therefore, although three nodes are purchased, only two nodes are visible in the system.