• Stars
    star
    7,077
  • Rank 5,198 (Top 0.2 %)
  • Language
    C++
  • License
    Other
  • Created almost 3 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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. 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.

Key features

  • Transparent Scalability

    An OceanBase cluster can be scaled out 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 TPC-C record, at 707 million tmpC, and 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 Paxos Consensus algorithm to achieve Zero RPO and less than 8 seconds of RTO.

  • MySQL Compatible

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

  • Cost Effeciency

    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 standalone 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.com/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

  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.

Roadmap

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

Case study

OceanBase has been serving more than 400 customers upgrade 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

oceanbase architecture

Learn More

Contributing

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

License

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

Community

Join the OceanBase community via:

More Repositories

1

miniob

MiniOB is a compact database that assists developers in understanding the fundamental workings of a database.
C++
2,677
star
2

odc

OceanBase Developer Center(ODC), An open-source, enterprise-grade database tool for collaborative development
Java
212
star
3

obproxy

A proxy server for OceanBase Database.
C++
110
star
4

obdeploy

A deployer and package manager for OceanBase open-source software.
Python
64
star
5

obclient

A MariaDB-based command line tool to connect to OceanBase Database.
C++
50
star
6

ob-operator

Kubernetes operator for OceanBase
Go
33
star
7

oceanbase-design

An enterprise-class design system based on Ant Design and extending it.
TypeScript
27
star
8

oblogproxy

A proxy service of incremental log of OceanBase
C++
27
star
9

obconnector-j

OceanBase Client for Java is a JDBC 4.2 compatible driver, used to connect applications developed in Java to OceanBase Database Server.
Java
26
star
10

obconnector-c

OceanBase Client for C. A driver to connect applications developed in C language to OceanBase Database.
C
22
star
11

obkv-table-client-java

OBKV Table Client is Java Library that can be used to access table data from OceanBase storage layer.
Java
19
star
12

obkv-table-client-rs

OBKV Table Client is Rust Library that can be used to access table data from OceanBase storage layer. Its access method is different from JDBC, it skips the SQL parsing layer, so it has significant performance advantage.
Rust
16
star
13

odc-client

OceanBase Developer Center Client
TypeScript
16
star
14

obagent

An agent client that provides operation and data collecting interface for OceanBase
Go
15
star
15

oceanbase-doc

12
star
16

obkv-table-client-go

Go
11
star
17

oblogclient

A Java library to get commit log data from OceanBase.
Java
11
star
18

obkv-hbase-client-java

OBKV HBase Client is Java Library that can be used to access data from OceanBase by HBase-0.94 API.
Java
11
star
19

kernel-quickstart

9
star
20

oceanbase-diagnostic-tool

OceanBase Diagnostic Tool is designed to help OceanBase users quickly gather necessary information and analyze the cause of the problem.
Python
8
star
21

oblogmsg

LogMessage is one of the output format of database incremental data
C++
8
star
22

ob-example

Java
6
star
23

obspark

Spark plugin for OceanBase
6
star
24

kernel-advanced

4
star
25

flink-connector-oceanbase

Apache Flink Connector for OceanBase.
Java
4
star
26

ob-connector-odbc

C
4
star
27

sql-lifecycle-management

SQL-Lifecycle-Management is an intelligent diagnosis and optimization product focusing on the SQL field.
Python
3
star
28

ob-deps

Shell
3
star
29

tutorials-doc

3
star
30

oceanbase-proxy-doc

2
star
31

ocp-doc

2
star
32

.github

Community health files for the @oceanbase organization.
2
star
33

odc-doc

2
star
34

benchmarksql

Java
2
star
35

LCL

It's source code of the LCL algorithm, which is a Lock Chain Length-based Distributed Algorithm for Deadlock Detection and Resolution.
C++
2
star
36

oceanbase-connector-c-doc

1
star
37

code-guide-doc

1
star
38

obdumper-loader-doc

1
star
39

oms-doc

1
star
40

devcon

HCL
1
star