OceanBase Database is a distributed database management system 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 of OceanBase Database that are suitable for different operating systems.
| Operating system | RPM package |
|---|---|
| Alibaba Cloud Linux 2, CentOS 7, Red Hat 7, Ubuntu 16.X, and Debian 9.X | Download RPM packages for el7 |
| Alibaba Cloud Linux 3, CentOS 8, Red Hat 8, Debian 10, and Anolis OS 8.X | Download RPM packages for el8 |
Notice
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 |
NoticeWhen multiple clusters are deployed, we recommend that you use OceanBase Cloud Platform (OCP) for unified O&M management. When you deploy a small number of clusters, we recommend that you use OceanBase Deployer (OBD) for installation and deployment. |
| Disk type | SSD is recommended. |
| Disk space | At least 19 GB is required. |
| File system | EXT4 or XFS. Choose XFS when the data size 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 earlier than RHEL 9, run the following command to manually disable the transparent huge page mode:
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
For the Red Hat operating system RHEL 9 or CentOS operating system, run the following command to manually disable the transparent huge page mode:
echo never > /sys/kernel/mm/transparent_hugepage/enabled