OceanBase

OceanBase 是一个企业级的分布式关系数据库,具有高可用性、高性能、横向可扩展性以及与 SQL 标准的兼容性。「OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.」

What is OceanBase Database

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

OceanBase Database has these features:

  • High availability

    Single server failure recovers automatically. OceanBase Database supports cross-city disaster tolerance for multiple IDCs and zero data loss. OceanBase Database meets the financial industry Level 6 disaster recovery standard (RPO=0, RTO<=30 seconds).

  • Linear scalability

    OceanBase Database scales transparently to applications and balances the system load automatically. Its cluster can contain more than 1500 nodes. The data volume can reach petabytes. The records in a single table can be more than a trillion rows.

  • Highly compatible with MySQL

    OceanBase Database is compatible with MySQL protocol and syntax. You can access to OceanBase Database by using MySQL client.

  • High performance

    OceanBase Database supports quasi memory level data change and exclusive encoding compression. Together with the linear scalability, OceanBase Database provides high performance.

  • Low cost

    OceanBase Database uses PC servers and cheap SSDs. Its high storage compression ratio and high performance also reduce the storage and computing cost.

  • Multi-tenancy

    OceanBase Database supports native multi-tenancy architecture. One cluster supports multiple businesses. Data is isolated among tenants. This reduces the deployment, operation, and maintenance costs.

OceanBase Database supports the entire core business of Alipay and the core systems of hundreds of financial institutions, such as banks and insurance companies.

Quick start

Refer to the Get Started guide to try out OceanBase Database.

Documentation

Supported clients

Licencing

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 obey the MulanPubL - 2.0 license.

OS compatibility list, OS, Ver., Arch, Compilable, Package Deployable, Compiled Binary Deployable, Mysqltest Passed, ----, ----, ----, ----, ----, ----, ----, Alibaba Cloud Linux, 2.1903, x86_64, ✅, ✅, ✅, ✅, CentOS, 7.2, 8.3, x86_64, ✅, ✅, ✅, ✅, Debian, 9.8, 10.9, x86_64, ✅, ✅, ✅, ✅, Fedora, 33, x86_64, ✅, ✅, ✅, ✅, MacOS, any, x86_64, ❌, ❌, ❌, ❌, openSUSE, 15.2, x86_64, ✅, ✅, ✅, ✅, OpenAnolis, 8.2, x86_64, ✅, ✅, ✅, ✅, SUSE, 15.2, x86_64, ✅, ✅, ✅, ✅, Ubuntu, 16.04, 18.04, 20.04, x86_64, ✅, ✅, ✅, ✅, UOS, 20, x86_64, ✅, ✅, ✅, ✅, ## Developer Manual

  1. How to build
  2. How to setup IDE
  3. How to contribute
  4. How to modify document
  5. How to debug OceanBase
  6. How to run test
  7. How to fix one_bug

Support

In case you have any problems when using OceanBase Database, welcome reach out for help:

Community

Roadmap

Please refer to Roadmap for details.

Main metrics

Overview
Name With Owneroceanbase/oceanbase
Primary LanguageC++
Program languageCMake (Language Count: 14)
Platform
License:Other
所有者活动
Created At2021-05-31 14:36:17
Pushed At2025-07-23 07:07:27
Last Commit At2025-07-22 21:48:04
Release Count81
Last Release Namev4.3.5_CE_BP3 (Posted on )
First Release Namev3.1.0_CE_BP1 (Posted on )
用户参与
Stargazers Count9.3k
Watchers Count127
Fork Count1.8k
Commits Count18.8k
Has Issues Enabled
Issues Count1503
Issue Open Count442
Pull Requests Count397
Pull Requests Open Count77
Pull Requests Close Count238
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private