OceanBase Database is a distributed relational database developed fully in-house by Ant Financial and Alibaba in 2010.

OceanBase Database features strong data consistency, high availability, high performance, online scaling, high compatibility with SQL standards and mainstream relational databases, as well as low costs. So far, OceanBase Database has been applied to all the core businesses of Alipay, for example, the transaction, payment, membership, and accounting systems, as well as Taobao and Tmall favorites and P4P advertising reports. In addition to its wide application in Ant Financial and Alibaba business systems, OceanBase Database has been serving external customers including the Bank of Nanjing, China Zheshang Bank, and PICC Health since 2017.


  • High performance: OceanBase Database adopts a read/write splitting architecture. Data is divided into baseline data and incremental data. The incremental data is stored in memory in the memtable format, and the baseline data is stored on SSDs in the SSTable format. You can only modify incremental data in memtables. All DML operations are performed on memtables, providing excellent performance.
  • Low costs: OceanBase Database achieves a high compression ratio through data encoding and compression. Data encoding provides a series of encoding methods based on the value range and type information of different fields in the database relational table. Data encoding "knows" data better than general compression algorithms. Therefore, it offers a higher compression ratio.
  • High compatibility: OceanBase Database is compatible with common MySQL/Oracle features and frontend/backend MySQL/Oracle protocols. You can migrate businesses from MySQL/Oracle databases to OceanBase Database with zero or a few modifications.
  • High availability: OceanBase Database adopts a multi-replica storage strategy, where the failure of a few replicas does not affect the data availability. The deployment architecture of five IDCs in three regions achieves city-wide lossless disaster recovery.