What is OceanBase Database

    OceanBase is a distributed relational SQL database built from scratch by Ant Group. It is highly scalable, resilient and can take on both transactional and analytical workloads, and it is highly compatible with MySQL syntax and features. OceanBase can be deployed on virtual machines in any cloud or physical hosts on-premise. Meanwhile, since it is a multi-tenant cluster, users can achieve database resource pooling and improve their efficiency.

    Core features

    • Scalable OLTP
      • Linear scalability by adding nodes to the cluster
      • Continuous availability with Paxos-based regional disaster tolerance
      • Partition-level leader distribution and transparent data shuffling
      • Convert distributed transactions across multi-node into local transactions via "table group" technology
      • Highly concurrent updates on hot row through early lock release (ELR)
      • Nearly unlimited connections in one instance on scalable nodes through decoupled session & thread
      • Prevent silent data corruption (SDC) through multidimensional data consistency checksum
      • No.1 in TPC-C benchmark with 707 million tpmC
    • Operational OLAP
      • Process analytical tasks in one engine, no need to migrate data to OLAP engine
      • Analyze large amounts of data on multiple nodes in one OceanBase cluster with MPP architecture
      • Advanced SQL engine with CBO optimizer, distributed execution scheduler and global index
      • Fast data loading through parallel DML, and with 50% storage cost under compression in most cases
      • No.2 in TPC-H 30,000 GB benchmark with 15.26 million QphH
    • Multi-tenant
      • Create multiple tenants (instances) in one OceanBase cluster with isolated resource and access
      • Multidimensional and transparently scale up/out for each tenant, and scaling up takes effect immediately
      • Database consolidation: multi-tenant and flexible scaling can achieve resource pooling and improve utilization
      • Improve management efficiency and reduce costs without compromising performance and availability

    Quick start

    See Quick start to try out OceanBase Database.

    System architecture




    Link: 3.1.5 function list

    Case study

    For our success stories, see Success stories.


    Your contributions to our code will be highly appreciated. For details about how to contribute to OceanBase, see Contribute to OceanBase.


    OceanBase Database is under MulanPubL - 2.0 license. You can freely copy and use the source code. When you modify or distribute the source code, please follow the MulanPubL - 2.0 license.



    OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.

    🚀 Github 镜像仓库 🚀


    发行版本 8



    贡献者 214



    • C++ 96.1 %
    • Python 2.8 %
    • Yacc 0.4 %
    • C 0.2 %
    • CMake 0.2 %