OceanBase Database is a distributed relational database. Unlike a centralized database, OceanBase Database is characterized by its distributed capabilities, which contribute to its high scalability and availability.
OceanBase Database adopts the shared-nothing architecture. User data is split into partitions and distributed across multiple servers. OceanBase Database dynamically migrates partition data based on the number of partitions, data volume, and server load to achieve load balancing. Users can scale in or out resources as planned.
In a distributed environment, OceanBase Database copies data of the same partition to multiple servers to ensure high availability of data read and write services. The data copy of the same partition on each server is called a replica. Strong consistency is ensured among multiple replicas of a partition based on the Paxos protocol. Each partition and its replicas constitute an independent Paxos group. One partition serves as the leader, and others serve as followers. The leader supports strong consistency reads and writes, and the followers support weak consistency reads.