README.md 4.4 KB
Newer Older
A
Amber Zhang 已提交
1
# What is OceanBase Database
O
oceanbase-admin 已提交
2

A
Amber Zhang 已提交
3
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.
O
oceanbase-admin 已提交
4 5 6

OceanBase Database has these features:

7
- High availability
A
Amber Zhang 已提交
8
    
9 10
    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
A
Amber Zhang 已提交
11
    
12
    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.
near4ever's avatar
near4ever 已提交
13
- Highly compatible with MySQL
A
Amber Zhang 已提交
14
    
15 16
    OceanBase Database is compatible with MySQL protocol and syntax. You can access to OceanBase Database by using MySQL client.
- High performance
A
Amber Zhang 已提交
17
    
18 19
    OceanBase Database supports quasi memory level data change and exclusive encoding compression. Together with the linear scalability, OceanBase Database provides high performance.
- Low cost
A
Amber Zhang 已提交
20
    
K
Keshav 已提交
21
    OceanBase Database uses PC servers and cheap SSDs. Its high storage compression ratio and high performance also reduce the storage and computing cost.
22
- Multi-tenancy
A
Amber Zhang 已提交
23
    
24
    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.
O
oceanbase-admin 已提交
25 26 27 28 29

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

Z
zhijiuxing-alt 已提交
30
Refer to the [Get Started guide](docs/docs/docs-en/quick-start-en.md) to try out OceanBase Database.
O
oceanbase-admin 已提交
31 32 33

## Documentation

34
- English (Coming soon)
O
oceanbase-admin 已提交
35 36 37 38 39 40 41 42 43 44
- [Simplified Chinese](https://open.oceanbase.com/docs) (简体中文)

## Supported clients

- [OBClient](https://github.com/oceanbase/obclient)

## Licencing

OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPubL-2.0/index.html) 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.

45 46 47 48
## OS compatibility list

| OS | Ver. | Arch | Compilable | Package Deployable | Compiled Binary Deployable | Mysqltest Passed |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
49
| Alibaba Cloud Linux | 2.1903 | x86_64 | ✅ | ✅ | ✅ | ✅ |
A
Amber Zhang 已提交
50 51
| CentOS | 7.2, 8.3 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Debian | 9.8, 10.9 | x86_64 | ✅ | ✅ | ✅ | ✅ |
52 53 54 55 56
| Fedora | 33 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| MacOS | any | x86_64 | ❌ | ❌ | ❌ | ❌ |
| openSUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| OpenAnolis | 8.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| SUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
A
Amber Zhang 已提交
57
| Ubuntu | 16.04, 18.04, 20.04 | x86_64 | ✅ | ✅ | ✅ | ✅ |
L
LINxiansheng 已提交
58
| UOS | 20 | x86_64 | ✅ | ✅ | ✅ | ✅ |
59

O
oceanbase-admin 已提交
60 61
## How to build

62 63 64 65
### Preparation

Before building, you need to confirm that your device has installed the necessary software.

L
LINxiansheng 已提交
66
#### Fedora based (, including CentOS, Fedora, OpenAnolis, RedHat, UOS, etc.)
A
Amber Zhang 已提交
67

68
```sh
69 70 71 72
yum install git wget rpm* cpio make glibc-devel glibc-headers binutils
```

#### Debian based (, including Debian, Ubuntu, etc.)
A
Amber Zhang 已提交
73

74 75 76 77 78
```sh
apt-get install git wget rpm rpm2cpio cpio make build-essential binutils
```

#### SUSE based (, including SUSE, openSUSE, etc.)
A
Amber Zhang 已提交
79

80 81 82 83 84
```sh
zypper install git wget rpm cpio make glibc-devel binutils
```

### debug mode
A
Amber Zhang 已提交
85

86
```bash
87
bash build.sh debug --init --make
88
```
O
oceanbase-admin 已提交
89

信鑫-King 已提交
90
### release mode
A
Amber Zhang 已提交
91

92
```bash
93
bash build.sh release --init --make
94
```
O
oceanbase-admin 已提交
95

A
Amber Zhang 已提交
96 97
### RPM packages

98
```bash
99
bash build.sh rpm --init && cd build_rpm && make -j16 rpm
100
```
O
oceanbase-admin 已提交
101 102 103 104 105 106 107 108 109 110 111 112 113

## Contributing

Contributions are warmly welcomed and greatly appreciated. Here are a few ways you can contribute:

- Raise us an [issue](https://github.com/oceanbase/oceanbase/issues).
- Submit Pull Requests. For details, see [How to contribute](CONTRIBUTING.md).

## Support

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

- [GitHub Issue](https://github.com/oceanbase/oceanbase/issues)
114
- [Official Website](https://open.oceanbase.com/)
A
Amber Zhang 已提交
115
- Knowledge base [Coming soon]