OceanBase Database Community Edition supports the following deployment methods:
To quickly deploy a standalone OceanBase database for feature experience, see the quick deployment section.
To perform a standard deployment in a production environment, see the standard deployment section.
To experience OceanBase Database online, see the online experience section.
Quick deployment
Quick deployment is suitable for quickly setting up a usable OceanBase database environment when you have only one machine. The deployed OceanBase database environment provides the basic capabilities of a database and can effectively help you get familiar with OceanBase Database. However, the environment does not provide any distributed or high availability capabilities, so we do not recommend that you use it for a long time.
For non-natively supported operating systems such as macOS and Windows, we recommend that you deploy the database by using a Docker image. For more information, see Deploy OceanBase Database in a container.
For natively supported operating systems such as Linux, we recommend that you deploy the database by using obd. For more information, see Quickly deploy OceanBase Database in the OceanBase Installation and Deployment Tool documentation.
Standard deployment
Standard deployment is suitable for users who want to gain an in-depth understanding of the architecture principles and features of OceanBase Database, a distributed database. The deployed OceanBase cluster provides the complete capabilities of the database and distributed high availability. You must prepare at least three servers, each with 4 vCPU cores, 16 GB of memory, and 100 GB of SSD storage or disks with higher performance.
(Recommended) Manage an OceanBase cluster in a graphical manner
If you want to deploy multiple OceanBase clusters, we recommend that you deploy OceanBase Cloud Platform (OCP). OCP can help you better operate, maintain, and manage OceanBase Database, greatly reducing O&M workload.
You need to first use three servers to deploy OCP and its MetaDB. For more information, see OceanBase Cloud Platform Deployment Guide. After OCP is successfully deployed, you can create new OceanBase clusters through OCP to serve your business. For more information, see Create a cluster in the OceanBase Cloud Platform documentation.
Notice
MetaDB serves only as the metadata database of OCP. Do not use it as your business cluster.
Manage an OceanBase cluster by using the command line
If you want to deploy only one OceanBase cluster for now, you can deploy the OceanBase cluster by using obd, and then use obd commands to manage the OceanBase cluster. For more information about how to deploy an OceanBase cluster, see Deploy an OceanBase cluster through the GUI of obd. For more information about obd commands, see Cluster commands in the OceanBase Installation and Deployment Tool documentation.
Deploy an OceanBase cluster in a Kubernetes environment
This method is suitable for users who have deployed Kubernetes on a large scale in production environments and have some understanding and experience with OceanBase Database. The deployed OceanBase cluster provides the complete capabilities of the database and distributed high availability.
Before you begin, make sure that the following conditions are met:
You have an available Kubernetes cluster with at least 9 available CPUs, 33 GB of available memory, and 360 GB of available storage space.
ob-operator depends on cert-manager. Make sure that you have installed cert-manager. For more information about how to install cert-manager, see the installation documentation.
For more information about how to deploy an OceanBase cluster, see Deploy an OceanBase cluster in a Kubernetes environment.
