OceanBase Database Community Edition supports multiple deployment methods:
If you want to quickly deploy a single-node OceanBase Database instance to try out its features, you can refer to the Quick Deployment section.
If you want to deploy a standardized OceanBase Database instance in a production environment, you can refer to the Standard Deployment section.
If you want to experience OceanBase Database online, you can refer to the Online Experience section.
Quick deployment
Quick deployment is suitable for deploying a single-node OceanBase Database instance on a single server. The deployed instance has the basic features of OceanBase Database and can help you understand the database. However, the instance does not support distributed capabilities or high availability. Therefore, it is not recommended for long-term use.
For non-native operating systems (such as macOS and Windows), we recommend that you deploy OceanBase Database using a Docker image. For more information, see Deploy OceanBase Database in a container environment.
For native operating systems (Linux, see the list of supported operating systems), we recommend that you deploy OceanBase Database using the obd tool. 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 understand the architecture and features of OceanBase Database. The deployed OceanBase cluster has all the features of OceanBase Database and supports distributed high availability. You need to prepare at least three servers with 4 vCPUs, 16 GB of memory, and 100 GB of SSD or higher-performance disk space.
(Recommended) Manage the OceanBase cluster using a GUI
If you want to deploy multiple OceanBase clusters, we recommend that you deploy OceanBase Cloud Platform (OCP). OCP can help you better manage and maintain OceanBase Database and significantly reduce the maintenance workload.
First, deploy OCP and its MetaDB on three servers. For more information, see Deploy OCP through the GUI in the OceanBase Installation and Deployment Tool documentation. After OCP is deployed, you can create a new OceanBase cluster on OCP to serve your business. For more information, see Cluster management in the OceanBase Cloud Platform documentation.
Notice
MetaDB is only used as the metadata database of OCP. Do not use it for your business clusters.
Manage the OceanBase cluster using CLI
If you want to deploy only one OceanBase cluster, you can deploy the cluster using obd and manage it using obd commands. For more information, see Deploy an OceanBase cluster using the obd GUI in the OceanBase Database documentation and obd commands/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 already deployed a large-scale Kubernetes cluster in a production environment and have some experience with OceanBase Database. The deployed OceanBase cluster has all the features of OceanBase Database and supports distributed high availability.
Before you start, make sure that the following conditions are met:
You have a Kubernetes cluster with at least 9 available CPU cores, 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 corresponding Installation Guide.
For more information about how to deploy an OceanBase cluster in a Kubernetes environment, see Deploy an OceanBase cluster in a Kubernetes environment in the OceanBase Database documentation.
Online experience
If you want to experience OceanBase Database online, you can log in to OceanBase Experience Center.
