To meet the disaster recovery requirements of different customers and business scenarios, OceanBase Database provides multiple high availability (HA) deployment solutions:
Multi-replica deployment based on Paxos
The multi-replica deployment solution is implemented based on the Paxos protocol. Generally, multiple replicas, for example, three or five replicas, constitute a cluster and provide disaster recovery capabilities.
If a minority of replicas, for example, one out of three or two out of five, are unavailable, services can be automatically recovered without data loss. The multi-replica deployment solution provides a recovery time objective (RTO) within 8s and a recovery point objective (RPO) of 0.
Physical standby database solution based on asynchronous log replication
The physical standby database solution is similar to the primary/standby replication solution of traditional databases. Redo logs are replicated among tenants in two or more clusters to form a tenant-level primary/standby relationship. This provides two types of disaster recovery capabilities: planned lossless switchover and lossy switchover upon failures.
This solution is mainly designed for disaster recovery purposes in dual-IDC or dual-city scenarios. The primary tenant provides read and write capabilities, while the standby tenants provide read-only and disaster recovery capabilities. When a planned lossless switchover is performed, the roles of the primary
