OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.3.1

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.3.1
    iconOceanBase Database
    SQL - V 4.3.1
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    Prepare servers

    Last Updated:2026-04-15 08:25:14  Updated
    share
    What is on this page
    Deploy an OceanBase cluster by using OCP
    Deploy an OceanBase cluster by using the CLI
    Arbitration server
    Resource planning
    Network latency requirements

    folded

    share

    Deploy an OceanBase cluster by using OCP

    The following table describes the minimum configuration requirements of the servers.

    Product
    Server quantity
    Minimum functional configuration
    Minimum performance configuration
    Disk type
    OceanBase Admin Toolkit (OAT) 1
    You can also use the OCP server as the OAT deployment server.
    CPU: 2 cores
    Memory: 4 GB
    N/A N/A
    OceanBase Cloud Platform (OCP) 1 CPU: 16 cores
    Memory: 32 GB
    Disk: 1.5 TB. This configuration includes resources required for OAT.

    Note

    A server configuration of 16 CPU cores and 32 GB of memory does not ensure the stability of OCP. We recommend that you use such configuration for verification only.

    CPU: 32 cores
    Memory: 128 GB
    Disk: 1.5 TB. NIC: 10 Gbit/s. This configuration includes resources required for OAT.
    SSD
    OceanBase cluster 3

    Note

    To deploy a standalone OceanBase database, you need to prepare only one server.

    CPU: 4 cores
    Memory: 16 GB

    Note

    • The log disk size must be larger than four times the memory, and the data disk must meet the storage requirements of the target data volume.
    • We recommend that the memory configured for an OBServer server do not exceed 1 TB.

    CPU: 32 cores
    Memory: 256 GB
    NIC: 10 Gbit/s

    Note

    • The log disk size must be larger than four times the memory, and the data disk must meet the storage requirements of the target data volume.
    • We recommend that the memory configured for an OBServer server do not exceed 1 TB.

    SSD
    (Optional) OceanBase Database Proxy (ODP) 3
    You can use the OBServer nodes as the ODP deployment servers.
    CPU: 4 cores
    Memory: 8 GB
    Disk: 200 GB
    N/A N/A

    Note

    • An OceanBase cluster consists of at least three nodes for high availability and disaster recovery, and each node corresponds to an observer process. Multiple observer processes on different nodes form a cluster to provide services to external users.
    • To ensure the high availability of OCP services, you must deploy OCP on multiple servers. For more information, see Deployment of OCP.
    • After you deploy an OceanBase cluster, you need to determine whether to deploy ODP based on your application scenario and requirements.
      • If you need to perform high availability, load balancing, or connection pool management operations on the OceanBase cluster, you can deploy ODP. ODP can effectively resolve issues related to the number of connections and load balancing of the OceanBase cluster to improve the stability and reliability of applications.
      • If you only need to connect to the OceanBase cluster for general queries and operations and do not need to perform high availability, load balancing, or connection pool management operations, you can choose not to deploy ODP. In this case, you can directly use the client library provided by OceanBase Database to connect to the cluster.
      For more information about ODP, see What is ODP.

    Deploy an OceanBase cluster by using the CLI

    The following table describes the minimum configuration requirements of the servers.

    Product
    Server quantity
    Minimum functional configuration
    Minimum performance configuration
    Disk type
    OAT 1 CPU: 2 cores
    Memory: 4 GB
    N/A N/A
    OceanBase cluster 3

    Note

    To deploy a standalone OceanBase database, you need to prepare only one server.

    CPU: 4 cores
    Memory: 16 GB

    Note

    • The log disk size must be larger than four times the memory, and the data disk must meet the storage requirements of the target data volume.
    • We recommend that the memory configured for an OBServer server do not exceed 1 TB.
    • We recommend that the CPU core count of an OBServer server do not exceed 512.

    CPU: 32 cores
    Memory: 256 GB
    NIC: 10 Gbit/s

    Note

    • The log disk size must be larger than four times the memory, and the data disk must meet the storage requirements of the target data volume.
    • We recommend that the memory configured for an OBServer server do not exceed 1 TB.
    • We recommend that the CPU core count of an OBServer server do not exceed 512.

    SSD
    (Optional) ODP 3
    You can use the OBServer nodes as the ODP deployment servers.
    CPU: 4 cores
    Memory: 8 GB
    Disk: 200 GB
    N/A N/A

    Note

    • To ensure high availability and disaster recovery, an OceanBase cluster needs at least three servers, each with an observer process. These processes across different servers work together to provide services.
    • After you deploy an OceanBase cluster, you can decide whether to deploy ODP based on your application scenarios and requirements.
      • If your applications require such features of the OceanBase cluster as high availability, load balancing, and connection pool management, you can deploy ODP. ODP effectively solves issues about the number of connections and load balancing in OceanBase clusters and improves the stability and reliability of applications.
      • If your applications connect to the OceanBase cluster simply for queries and operations without requirements on high availability, loading balancing, or connection pool management, ODP is not necessary. You can directly connect to the OceanBase cluster by using OBClient.
      For more information about features of ODP, see What is ODP.

    Arbitration server

    The following table describes the minimum configuration requirements for the arbitration server when you use three servers to deploy an OceanBase cluster with two replicas and the arbitration service.

    Version
    Minimum server specifications
    Bandwidth
    Remarks
    V4.1.0.0
    • CPU: 2 cores
    • Memory: 8 GB
    • Disks: at least 5 GB for the clog disk.
    At least 20 Mbit/s input and output data transmission Data disks are not required, but you must reserve sufficient disk space for the log directory to store log files.
    V4.1.0 BP1 and later
    • CPU: 2 cores
    • Memory: 4 GB
    • Disks: at least 5 GB for the clog disk.
    At least 20 Mbit/s input and output data transmission Data disks are not required, but you must reserve sufficient disk space for the log directory to store log files.

    Resource planning

    The following CPU model is for your reference: Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz.

    Observe the following rules when you plan resources for the arbitration server:

    • By default, a server with the minimum specification (2 CPU cores and 4 GB memory) can support 32 user tenants and the sys tenant simultaneously with the arbitration service enabled (2F or 4F, primary_zone=RANDOM, unit_num=1).
    • For every additional 32 single-unit tenants (2F or 4F, primary_zone=RANDOM, unit_num=1), the resources of the arbitration server need to be increased accordingly by at least 1 CPU core, 1 GB memory, 2 GB log disk space, and 20 Mbit/s network bandwidth.
    • When unit_num=N (N>1), you can simply take it as N single-unit tenants.

    Note

    • 2F indicates a cluster with two replicas.
    • 4F indicates a cluster with four replicas.
    • primary_zone=RANDOM: You can set PRIMARY_ZONE to RANDOM (uppercase), indicating that any zone with the top priority can be randomly taken as the primary zone.
    • unit_num=1: The target zone has one unit in the resource pool.
    • A single-unit tenant has one unit in a zone.
    For more information about primary_zone and unit_num, see Create a tenant.

    Network latency requirements

    The one-way network latency between the arbitration server and an OBServer node of the OceanBase cluster must be less than or equal to 800 ms.

    Previous topic

    Deployment process
    Last

    Next topic

    Server configuration
    Next
    What is on this page
    Deploy an OceanBase cluster by using OCP
    Deploy an OceanBase cluster by using the CLI
    Arbitration server
    Resource planning
    Network latency requirements