Skip to content

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

License

Notifications You must be signed in to change notification settings

oceanbase/oceanbase

Repository files navigation

OceanBase Logo

English doc Chinese doc last commit stars building status license

Join Slack Stack Overflow

English |Tiếng Trung bản

OceanBase Databaseis a distributed relational database. It is developed entirely by Ant Group. The OceanBase Database is built on a common server cluster. Based on thePaxosprotocol 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:1,500 nodes, PB data and a trillion rows of records in one cluster.
  • Ultra-fast Performance:TPC-C 707 million tmpC and TPC-H 15.26 million QphH @30000GB.
  • Cost Efficiency:saves 70%–90% of storage costs.
  • Real-time Analytics:supports HTAP without additional cost.
  • Continuous Availability:RPO = 0(zero data loss) and RTO < 8s(recovery time)
  • MySQL Compatible:easily migrated from MySQL database.

See alsokey featuresfor more details.

Quick start

See alsoQuick experienceorQuick Start (Simplified Chinese)for more details.

🔥 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 https://obbusiness-private.oss-cn-shanghai.aliyuncs /download-center/opensource/oceanbase-all-in-one/installer.sh)"
source~/.oceanbase-all-in-one/bin/env.sh

#quickly deploy OceanBase database
obd demo

🐳 Start with docker

Note:We provide images ondockerhub,quay.ioandghcr.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:

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

See alsoDocker Readmefor more details.

☸️ Start with Kubernetes

You can deploy and manage OceanBase Database instance in kubernetes cluster withob-operatorquickly. Refer to the documentQuick Start for ob-operatorto see details.

👨‍💻 Start developing

SeeOceanBase Developer Documentto learn how to compile and deploy a manually compiled observer.

Roadmap

For future plans, seeProduct Iteration Progress.See alsoOceanBase Roadmapfor more details.

Case study

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

See alsosuccess storiesandWho is using OceanBasefor more details.

System architecture

Introduction to system architecture

Contributing

Contributions are highly appreciated. Read thedevelopment guideto get started.

License

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

Community

Join the OceanBase community via: