OceanBase Database is a distributed cluster product that requires at least three servers in the production environment. In a learning environment, you can deploy a standalone instance. OceanBase Database is similar to conventional databases in deployment. In this topic, suggestions for the operating system, hardware, and software are provided based on best practices. These are the basis for OceanBase Database to achieve high performance and run stably.
Software resources
The following table provides links for downloading the installation packages that are suitable for different operating systems.
| Operating system | RPM package |
|---|---|
| AliOS 7, CentOS 7, Red Hat 7, Ubuntu 16.X, Debian 9.X | RPM packages for el7 |
| AliOS 8, CentOS 8, Red Hat 8, Debian 10, and Anolis OS 8.X | Download RPM packages for el8 |
Note
We recommend that you download installation packages of the latest version.
Hardware resources
OceanBase Database has been systematically tested and verified. We recommend that you deploy it in an environment that meets the following software and hardware requirements:
| Item | Description |
|---|---|
| Operating system |
|
| CPU |
|
| Memory |
Note |
| Disk type | SSD is recommended. |
| Disk space | Six times the memory size or more |
| File system | EXT4 or XFS. Choose XFS when the data volume exceeds 16 TB. |
| NIC | Gigabit Ethernet and above |
More software and hardware platforms are currently being tested for compatibility.
Note
If you plan to deploy an OceanBase cluster, make sure that all servers in the cluster have the same configurations. In this topic, the resource requirements on the performance test environment and production environment are for reference only. In later versions of OceanBase Database Community Edition, the requirement on memory will be lowered.
For the Red Hat operating system, run the following command to manually disable the transparent huge page mode:
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
For the CentOS operating system, run the following command to manually disable the transparent huge page mode:
echo never > /sys/kernel/mm/transparent_hugepage/enabled