oceanbase logo

oceanbase

oceanbase/oceanbase

The Fastest Distributed Database for Transactional, Analytical, and AI Workloads

GraphCanon updated 4w · GitHub synced 4w · 27 views this month

10k stars1.9k forksLast push 1mo C++ Apache-2.0

Decision brief

OceanBase is designed to be the fastest distributed database for handling transactional and analytical workloads simultaneously, including support for AI tasks.

Good fit when

  • The Fastest HTAP: Use OceanBase when your application requires high-speed handling of both online transaction processing (OLTP) and online analytical processing (OLAP) tasks.
  • MySQL Compatibility: Opt for OceanBase when you need a database that is MySQL-compatible, making it easier to migrate from MySQL without extensive code changes.

Avoid when

  • Limited Support for Non-C++ Ecosystems: Avoid OceanBase if your development environment heavily relies on languages other than C++, as it's predominantly built with C++.
  • Mature Alternatives in Non-HTAP Scenarios: Do not choose OceanBase if your project requires only traditional OLTP or OLAP services, since it might overcomplicate your setup without necessary benefits.
Pricing:
unknown - Not Provided
Requirements:
Dependent on specific workload and scale, but optimized for distributed environments.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 4w
Provenance
Not a fork · Organization account
As of 4w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/oceanbase/oceanbase

How it fits your stack(10)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A distributed database system optimized for hybrid transactional and analytical processing (HTAP) that supports AI workloads.

Capability facts

Languages
c++

Source: github.language · Jul 21, 2026

Categories

Tags

README

Quick start

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


download and install all-in-one package (internet connection is required)

bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/oceanbase-all-in-one/installer.sh)" source ~/.oceanbase-all-in-one/bin/env.sh


🐳 Start with docker

Note: We provide images on dockerhub, quay.io and ghcr.io. If you have problems pulling images from dockerhub, please try the other two registries.

  1. Start an OceanBase Database instance:

    # Deploy a mini standalone instance.
    docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d oceanbase/oceanbase-ce
    
    # Deploy a mini standalone instance using image from quay.io.
    # docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d quay.io/oceanbase/oceanbase-ce
    
    # Deploy a mini standalone instance using image from ghcr.io.
    # docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d ghcr.io/oceanbase/oceanbase-ce
    
  2. Connect to the OceanBase Database instance:

    docker exec -it oceanbase-ce obclient -h127.0.0.1 -P2881 -uroot # Connect to the root user of the sys tenant.
    

See also Docker Readme for more details.


License

OceanBase Database is licensed under the Apache License, Version 2.0. See the LICENSE file for more info.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.