OceanBase Database Community Edition supports multiple deployment methods:
To quickly deploy a standalone OceanBase database for functional experience, refer to the Quick deployment section.
To perform standardized deployment in a production environment, refer to the Standard deployment section.
Quick deployment
Quick deployment applies when you have only one machine and want to quickly set up an available OceanBase Database environment. The deployed environment provides basic database functionality to help you understand OceanBase Database. However, it does not have distributed capabilities or high availability features and is not recommended for long-term use.
For non-natively supported operating systems (such as macOS and Windows), we recommend deploying by using a Docker image. For more information, see Deploy OceanBase Database in a container.
For natively supported operating systems (Linux. For the list of supported operating systems, see the software and hardware requirements), we recommend deploying by using obd. For more information, see Quick start/Quick deployment of OceanBase Database in the OceanBase Installer documentation.
Standard deployment
Standard deployment applies to users who want to gain an in-depth understanding of the OceanBase distributed database architecture and features. The deployed OceanBase cluster has full database capabilities and distributed high availability features. You need at least three hosts with 4 vCPUs, 16 GB memory, 100 GB SSD or higher-performance disks.
(Recommended) Manage OceanBase clusters in the GUI
If you want to deploy multiple OceanBase clusters, we recommend deploying OceanBase Cloud Platform (OCP). OCP helps you better manage and maintain OceanBase Database and significantly reduces O&M workload.
You need to use three machines to deploy OCP and its MetaDB first. For more information, see User guide/Graphical interface/Deploy OCP through the graphical interface in the OceanBase Deployer (obd) documentation. After OCP is deployed successfully, you can create new OceanBase clusters through OCP to serve your business. For more information, see the Cluster management chapter in the OCP documentation.
Notice
MetaDB is used only as the metadatabase for OCP. Do not use it for your business clusters.
Manage OceanBase clusters from the command line
If you plan to deploy only one OceanBase cluster for now, you can deploy an OceanBase cluster by using obd and then manage it with obd commands. For deployment, see Deploy an OceanBase cluster through the obd graphical interface in the OceanBase Database documentation.
If you only plan to deploy one OceanBase cluster for now, you can use obd to deploy the OceanBase cluster and then manage it with obd commands. For detailed deployment steps, refer to the official OceanBase Database documentation Deploy an OceanBase cluster through the obd graphical interface. For an introduction to obd commands, see the official obd documentation obd Commands/Cluster commands.
Deploy an OceanBase cluster in a Kubernetes environment
This method applies to users whose production environment has already deployed Kubernetes at scale and who have some understanding and experience with OceanBase Database. The deployed OceanBase cluster has full database capabilities and distributed high availability features.
Before you begin, ensure that you meet the following conditions:
You have an available Kubernetes cluster with at least 9 available CPUs, 33 GB available memory, and 360 GB available storage.
ob-operator depends on cert-manager. Ensure that cert-manager is installed. For installation, see the cert-manager installation documentation.
For the steps to deploy an OceanBase cluster, see Deploy an OceanBase cluster in a Kubernetes environment in the OceanBase Database documentation.