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 installation packages for el7 |
| Alibaba Cloud Linux 3, CentOS 8, Red Hat 8, Debian 10, and Anolis OS 8.X | Download installation packages for el8 |
Hardware resources
OceanBase Database has been systematically tested and verified. We recommend that you use the hardware and software configurations listed below and ensure that the actual resources available on your machines meet the requirements in the table.
| Item | Description |
|---|---|
| Operating system |
|
| Physical CPU |
|
| Memory |
NoticeWhen deploying multiple clusters, it is recommended to use OCP for unified operations and management. For fewer clusters, consider using obd for installation and deployment. |
| Disk type | Use SSD storage. |
| Disk storage Sspace | Minimum 20 GB required. |
| File system | EXT4 or XFS. For data volumes exceeding 16 TB, only XFS is supported. |
| Network card | Gigabit Ethernet or higher. |
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