Skip to content

OceanBase

Distributed MySQL-compatible database for teams needing scale and high availability

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

10,434

Last commit

12 days ago

Nov 2026

Repository age

5 years

since May 2021

Latest version

v4.6.0_CE_BP1

Oct 2026

Contributors

–

47 active in 90 days

Releases

19

last 12 months

Language

C++

OceanBase is a distributed relational database developed by Ant Group. It runs on a cluster of ordinary servers and uses the Paxos protocol for high availability and linear scalability. It does not depend on specific hardware architectures.

It is compatible with MySQL, so migration from MySQL is meant to be straightforward. It also supports HTAP, so analytics can run alongside transactional workloads. The project cites RPO of zero and RTO under 8 seconds, and clusters of up to 1,500 nodes.

The code is C++ under Apache-2.0. You can try it with an all-in-one installer on Linux, run a mini standalone instance in Docker from Docker Hub, quay.io or ghcr.io, or deploy to Kubernetes with ob-operator.

It is an alternative to proprietary and managed relational databases when you need horizontal scale without sharding by hand.

Who it's for

Teams outgrowing a single MySQL server

MySQL compatibility eases migration while the cluster scales horizontally.

Skip if: Your data fits comfortably on one MySQL or PostgreSQL instance.

Platform teams running Kubernetes

ob-operator lets you deploy and manage instances inside a cluster.

Skip if: You do not want to operate a distributed database.

Companies mixing transactions and analytics

HTAP support lets one system serve both workloads.

Skip if: You already run a dedicated warehouse that meets your needs.

The problem it solves

A single database server eventually hits limits on size, throughput and failover. Splitting data across servers by hand adds complexity. OceanBase provides a distributed engine that scales out and keeps data available through node failures.

Strengths

  • Paxos-based replication for high availability
  • MySQL compatible, which eases migration from MySQL
  • Supports HTAP for transactional and analytical workloads
  • Docker images on Docker Hub, quay.io and ghcr.io, plus Kubernetes operator
  • Apache-2.0 license with 47 contributors in the last 90 days

Trade-offs

  • The all-in-one installer is Linux only
  • A distributed cluster is more work to run than a single server
  • Install script downloads from a remote host, so review it first

Self-host OceanBase

Self-hostable
Yes

Quick start

docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d oceanbase/oceanbase-ce

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is OceanBase free?

Yes. The database is licensed under Apache License 2.0.

Is it compatible with MySQL?

Yes. It is MySQL compatible, so you can migrate from MySQL.

Can I run it in Docker?

Yes. Images are on Docker Hub, quay.io and ghcr.io, and a mini standalone mode is available.

Can I run it on Kubernetes?

Yes. You can deploy and manage instances with ob-operator.

Similar tools in Relational databases

mysql

Relational databases

MySQL Docker images rebuilt for ARM boards like the Raspberry Pi, plus x86_64

170 36 7 years ago Dormant GPL-2.0

CloudBeaver

Relational databases

Self-hosted web database client for teams that want SQL access in a browser

5.2k 579 today Active Apache-2.0

autobase

Relational databases

Ansible-based automation for highly available PostgreSQL clusters on your own servers

4.5k 616 today Thriving MIT

OmniDB

Relational databases

Web-based database client for running queries and managing several database engines

3.3k 478 6 years ago Dormant MIT

Bobby

Relational databases

111 6 5 days ago Thriving GPL-3.0