Software and hardware requirements

2025-09-10 02:42:05  Updated

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
  • Anolis OS 8.X (Linux kernel 4.19 or above)
  • Alibaba Cloud Linux 2/3 (Linux kernel 4.19 or above)
  • Red Hat Enterprise Linux Server 7.X or 8.X (Linux kernel 4.19 or above)
  • CentOS Linux 7.X or 8.X (Linux kernel 4.19 or above)
  • Rocky Linux 9 (Linux kernel 5.14)
  • Debian 9.X or above (Linux kernel 4.19 or above)
  • Ubuntu 16.X or above (Linux kernel 4.19 or above)
  • SUSE/openSUSE 15.X or above (Linux kernel 4.19 or above)
  • KylinOS V10 or V11
  • UnionTech UOS V20
  • NFSChina 4.0
  • Inspur KOS 5.8
Physical CPU
  • Minimum 2 cores for test environments.
  • Minimum 4 cores for production environments. 32 cores or more are recommended.
  • For performance testing, 24 cores or more are recommended.
Memory
  • Minimum 6 GB for test environments.
  • Minimum 16 GB for production environments. For long-term use, at least 32 GB is required. Recommended range is 256 GB to 1024 GB.
  • For performance testing, a recommended range is 128 GB to 1024 GB.

Notice

When 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

Contact Us