Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
November 17, 2023 08:11
November 27, 2023 08:52
November 10, 2023 07:11
April 19, 2023 10:28
September 20, 2023 15:44
November 29, 2023 15:11
November 14, 2023 11:44
November 29, 2023 12:41
November 20, 2023 12:14
October 31, 2023 15:39
May 31, 2021 22:56
January 28, 2023 16:01
November 10, 2023 03:07
November 6, 2023 08:39

OceanBase Logo

license license stars forks English doc Chinese doc building status last commit Join Slack

English | 中文版

OceanBase Database is a distributed relational database. It is developed entirely by Ant Group. The OceanBase Database is built on a common server cluster. Based on the Paxos protocol and its distributed structure, the OceanBase Database provides high availability and linear scalability. The OceanBase Database is not dependent on specific hardware architectures.

Key features

  • Transparent Scalability

    An OceanBase cluster can be scaled to 1,500 nodes transparently, handling petabytes of data and a trillion rows of records.

  • Ultra-fast Performance

    The only distributed database that has refreshed both the TPC-C record, at 707 million tmpC, and the TPC-H record, at 15.26 million QphH @30000GB.

  • Real-time Operational Analytics

    A unified system for both transactional and real-time operational analytics workloads.

  • Continuous Availability

    OceanBase Database adopts the Paxos Consensus algorithm to achieve Zero RPO and less than 8 seconds of RTO. Supports intra-city/remote disaster recovery, enabling multi-activity in multiple locations and zero data loss.

  • MySQL Compatible

    OceanBase Database is highly compatible with MySQL, which ensures that zero or a few modifications are needed for migration.

  • Cost Efficiency

    The cutting-edge compression technology saves 70%–90% of storage costs without compromising performance. The multi-tenancy architecture achieves higher resource utilization.

See also key features for more details.

Quick start

🔥 Start with all-in-one

You can quickly deploy a stand-alone OceanBase Database to experience with the following commands:

Note: Linux Only

# download and install all-in-one package (internet connection is required)
bash -c "$(curl -s"
source ~/.oceanbase-all-in-one/bin/

# quickly deploy OceanBase database
obd demo

🐳 Start with docker

  1. Start an OceanBase Database instance:

    # Deploy a mini standalone instance.
    docker run -p 2881:2881 --name oceanbase-ce -e MINI_MODE=1 -d oceanbase/oceanbase-ce
  2. Connect to the OceanBase Database instance:

    docker exec -it oceanbase-ce ob-mysql sys # Connect to the root user of the sys tenant.

See also Quick experience or Quick Start (Simplified Chinese) for more details.

👨‍💻 Start developing

See OceanBase Developer Document to learn how to compile and deploy a manually compiled observer.


For future plans, see Roadmap 2023. See also OceanBase Roadmap for more details.

Case study

OceanBase has been serving more than 400 customers and upgraded their database from different industries, including Financial Services, Telecom, Retail, Internet, and more.

See also success stories and Who is using OceanBase for more details.

System architecture

Introduction to system architecture


Contributions are highly appreciated. Read the development guide to get started.


OceanBase Database is licensed under the Mulan Public License, Version 2. See the LICENSE file for more info.


Join the OceanBase community via: