OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Deployer

V4.3.0Community Edition
  • What is obd
  • Quick Start
    • Install obd
    • Quick deployment of OceanBase Database
    • Quickly deploy OCP
  • obd Command
    • Quick deployment commands
    • Cluster commands
    • Command groups
    • Image and repository commands
    • Test command groups
    • Tool commands
    • obdiag commands
    • Binlog service commands
    • Hardware commands
    • License commands
    • Password commands
    • Telemetry commands
  • User Guide
    • Usage overview
    • Deploy through GUI
      • Overview
      • Pattern configuration rules
      • Deploy an OceanBase cluster
      • Deploy OCP
      • Deploy OMS
      • Change components
      • Upgrade OCP
      • Upgrade OMS
    • Deploy through CLI
      • Configuration file
      • Component deployment
        • Deploy an OceanBase cluster
        • Deploy seekdb
        • Deploy obconfigserver
        • Deploy OMS
        • Deploy OCP
        • Deploy Alertmanager
        • Deploy obbinlog
        • Deploy oblogproxy
      • Cluster management
        • Physical Standby Database
          • Create a standby tenant
          • Role switching and decoupling
          • Switch the synchronization mode between primary and standby tenants
        • seekdb primary/standby instance
          • Create a standby instance
          • Role switching and decoupling
        • Scale out and component changes
        • Performance test
        • Diagnose a cluster
        • Backup and restore
        • Add a GUI monitoring system to an existing cluster
      • Cluster management
        • Use OCP to take over an OceanBase cluster deployed by obd
        • Take over an OceanBase cluster
      • Component upgrade
        • Upgrade OceanBase Database
        • Upgrade ODP
        • Upgrade OMS
  • Upgrade obd
  • FAQ
  • Error codes
  • Release Notes
    • Version rules
    • V4.3
      • OceanBase Deploy V4.3.0
    • V4.2
      • OceanBase Deployment Tool V4.2.0
    • V4.1
      • OceanBase Deployer V4.1.0
    • V4.0
      • OceanBase Deployer V4.0.0
    • V3.6
      • OceanBase Deployer V3.6.0
    • V3.5
      • OceanBase Deployer V3.5.0
    • V3.4
      • OceanBase Deployer V3.4.0
    • V3.3
      • OceanBase Deployer V3.3.0
    • V3.2
      • OceanBase Deployer V3.2.2
      • OceanBase Deployer V3.2.1
      • OceanBase Deployer V3.2.0
    • V3.1
      • OceanBase Deployer V3.1.2
      • OceanBase Deployer V3.1.1
      • OceanBase Deployer V3.1.0
    • V3.0
      • OceanBase Deployer V3.0.1
      • OceanBase Deployer V3.0.0
    • V2.10
      • OceanBase Deployer V2.10.1
      • OceanBase Deployer V2.10.0
    • V2.9
      • OceanBase Deployer V2.9.2
      • OceanBase Deployer V2.9.1
      • OceanBase Deployer V2.9.0
    • V2.8
      • OceanBase Deployment Tool V2.8.0
    • V2.7
      • OceanBase Deployment Tool V2.7.0
    • V2.6
      • OceanBase Deployment Tool V2.6.2
      • OceanBase Deployment Tool V2.6.1
      • OceanBase Deployment Tool V2.6.0
    • V2.5
      • OceanBase Deployer V2.5.0
    • V2.4
      • OceanBase Deployer V2.4.0
    • V2.3
      • OceanBase Deployment Tool V2.3.1
      • OceanBase Deployer V2.3.0
    • V2.2
      • OceanBase Deployment Tool V2.2.0
    • V2.1
      • OceanBase Deployer V2.1.1
      • OceanBase Deployment Tool V2.1.0
    • V2.0
      • OceanBase Deployment Tool V2.0.1
      • OceanBase Deployment Tool V2.0.0
    • V1.6
      • OceanBase Deployer V1.6.2
      • OceanBase Deployer V1.6.1
      • OceanBase Deployer V1.6.0
    • V1.5
      • OceanBase Deployer V1.5.0
    • V1.4
      • OceanBase Deployer V1.4.0
    • V1.3
      • OceanBase Deployer V1.3.3
      • OceanBase Deployer V1.3.2
      • OceanBase Deployer V1.3.0
    • V1.2
      • OceanBase Deployer V1.2.1
      • OceanBase Deployer V1.2.0
  • Interactive deployment of OceanBase Database Community Edition
  • Deploy a Community Edition cluster using the obd graphical interface
  • Deploy a Community Edition cluster by using an obd configuration file

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V4.3.0

Quick deployment of OceanBase Database

Last Updated:2026-09-04 08:21:29

Prerequisites
Examples

After you install obd, you can execute the obd demo or obd perf command to quickly deploy a single-node OceanBase Database locally.

Note

The operations in this topic are only for quick experience. For more information about how to deploy OceanBase Database in a production environment, see Deploy an OceanBase cluster by using the graphical interface.

Prerequisites

Before you start, make sure that you meet the following conditions:

  • If you deploy OceanBase Database on an x86 server, make sure that the OBServer node supports the AVX instruction set. You can execute the lscpu | grep Flags | grep avx command to check whether the AVX instruction set is supported.

    Note

    If you use an x86 server, the AVX instruction set is not required for OceanBase Database of the following versions:

    • V4.2.5.6 or later for V4.2.x
    • V4.3.5.4 or later for V4.3.x
    • V4.4.1.0 or later for V4.4.x
  • If you deploy OceanBase Database on an ARM server in an offline environment, make sure that the OBServer node supports the LSE instruction set. You can execute the lscpu | grep Flags | grep atomics command to check whether the LSE instruction set is supported. If the LSE instruction set is not supported, you need to download an OceanBase Database installation package with the nonlse option and use the obd mirror clone command to upload the package to the local obd image library.

    Note

    The OceanBase Database installation package with the nonlse option is not included in the OceanBase All-in-One package.

  • You have installed obd. We recommend that you install the latest version. For more information, see Install obd.

    Note

    We recommend that you install obd by using the OceanBase All-in-One package. The OceanBase All-in-One package contains all the components required for deployment (except the obbinlog component). The components have been tested for compatibility with each other and are the officially recommended versions.

  • The default ports of the deployment components are not occupied.

  • If you deploy only OceanBase Database, you need at least 2 vCPUs, 6 GB of memory, and 20 GB of disk space. Note that the memory limit refers to the value in the available column of the output obtained by executing the free -g command.

  • If you deploy the default components, you need at least 2 vCPUs, 6 GB of memory, and 25 GB of disk space. Note that the memory limit refers to the value in the available column of the output obtained by executing the free -g command.

  • If you deploy all components, you need at least 4 vCPUs, 10 GB of memory, and 25 GB of disk space. We recommend that you use 16 GB or more of memory. Note that the memory limit refers to the value in the available column of the output obtained by executing the free -g command.

  • Your server can access the Internet, or the local obd image library contains the required installation packages.

    You can execute the obd mirror list local command to view the installation packages in the local image library. If you install obd by using the OceanBase All-in-One package, the local image library contains the installation packages of all the components required for deployment.

Note

  • When the number of CPU cores is small, the minimum CPU count is set to 8 by default. A low CPU count will negatively affect the performance of OceanBase Database.

  • For more information about the obd demo and obd perf commands, see the documentation Quick deployment commands.

Examples

  • Deploy the Community Edition of OceanBase Database in the minimum specification

    obd demo -c oceanbase-ce
    
  • Deploy the Community Edition of OceanBase Database in the maximum specification

    obd perf -c oceanbase-ce
    
  • Deploy the default components in the minimum specification

    After you execute the obd demo command, the Community Edition of OceanBase Database, the Community Edition of OBProxy, OBAgent, Prometheus, and Grafana are automatically deployed. The default versions are the latest versions in the image library.

    obd demo
    
  • Deploy the default components in the maximum specification and specify the OceanBase Database version

    After you execute the obd perf command, the Community Edition of OceanBase Database, the Community Edition of OBProxy, OBAgent, Prometheus, and Grafana are automatically deployed. The default versions are the latest versions in the image library. In this example, the OceanBase Database version is specified as V4.3.3.0.

    obd perf --oceanbase-ce.version=4.3.3.0
    

After the deployment is successful, copy the connection string from the output and use the OBClient client to connect to OceanBase Database. Here is an example:

obclient -h127.0.0.1 -P2881 -uroot@sys -p'*******'  -Doceanbase -A

Previous topic

Install obd
Last

Next topic

Quickly deploy OCP
Next
on this page
Prerequisites
Examples