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 Cloud

    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 Cloud
    iconOceanBase Cloud
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET

      Overview

      Last Updated:2026-05-29 03:53:36  Updated
      Share
      What is on this page
      Principles
      Primary and standby instances in the same cloud
      Primary-standby instances across clouds
      Use cases
      Differences between primary and standby instances

      folded

      Share

      You can add standby instances to an OceanBase Cloud instance to form a one-primary-and-multiple-standby cluster network. Data is synchronized between the primary and standby instances to enhance the high availability of the database. Currently, you can deploy primary and standby instances in the same cloud or across clouds.

      Note

      To create a cross-cloud standby instance, contact Technical Support.

      Principles

      OceanBase Cloud supports various primary-standby deployment architectures, including primary-standby instances in the same cloud and across clouds. Data is synchronized between the primary and standby instances through asynchronous log replication. This process does not affect the stability and performance of the primary instance.

      Primary and standby instances in the same cloud

      Primary-standby instances in the same cloud are deployed on the same cloud service provider. For more information, see Create a standby instance in the same cloud.

      Standby instances in the same cloud have the following advantages:

      • Simplified management: All resources are located within the same cloud, so configuration, monitoring, and maintenance are easier, and you can use the built-in tools and services of the cloud vendor for unified management.

      • Lower network latency: The network latency between the primary and standby instances deployed within the same cloud is lower than that between primary and standby instances across clouds vendors. This results in higher data synchronization efficiency, which is particularly important for applications that require high real-time performance.

      • Better integration and compatibility: The database services of the same cloud have better integration and consistency in terms of security policies, identity authentication, and APIs. This simplifies system development and O&M.

      • Clear cost: The cost structure is clear, and there are no additional costs for cross-cloud data transmission. This allows enterprises to easily predict and control cloud service costs.

      Primary-standby instances across clouds

      • Create a database instance with one primary instance and multiple standby instances across clouds

        Deploy a primary instance and one standby instance in Cloud A, and another standby instance in Cloud B. Alternatively, deploy a primary instance in Cloud A and two standby instances in Cloud B. This forms a one-primary-and-multiple-standby relationship across clouds.

        • The primary instance provides read and write services, while the standby instances synchronize data in real-time through Redo logs to maintain data consistency.

        • Log synchronization chain: The primary instance transmits transaction logs to each standby instance in real-time via the Log Transport Service. The standby instances apply these logs to the MemStore in memory through the Log Replay Service, achieving data synchronization between primary and standby instances.

        • Global address: Applications access the database through a global address, which serves as a unified entry point and automatically routes traffic to the current primary instance. When a primary-standby switch occurs, the global address automatically points to the new primary instance, allowing applications to switch seamlessly without modifying connection configurations.

        • Application connection method: Multiple business instances connect to their respective OceanBase instances in each cloud through a VPC network and access the database through the global address, ensuring automatic traffic routing during switches.

      • Create a database instance with one primary instance and one standby instance across clouds

        This architecture consists of a primary cloud (Cloud A) and a standby cloud (Cloud B), providing high availability and disaster recovery capabilities. Each cloud platform has two regions, Region A and Region B, with independent database instances and OSS object storage services deployed.

        • Cloud A efficiently distributes data through internal write routing.

        • Cross-cloud synchronization ensures data consistency between primary and standby instances by synchronizing data over the public internet.

        • You can view the synchronized data in the standby instance on Cloud B.

      Use cases

      The primary and standby instance architecture applies to the following scenarios:

      • Intra-city disaster recovery

        In some regions supported by OceanBase Cloud, only two zones are provided, which means a single OceanBase instance with three replicas cannot ensure disaster recovery at the zone level. In such cases, you can deploy primary and standby instances across two zones to achieve high availability. If a failure occurs in one zone, you can manually switch operations to the standby instance.

      • Cross-region disaster recovery

        For businesses deployed across multiple regions, you can set up primary and standby instances in different regions to achieve cross-region high availability. If a failure occurs in one region, you can manually switch operations to the standby instance.

      Differences between primary and standby instances

      Module
      Feature
      Primary Instance
      Standby Instance
      Tenant Management Supported, with the same permissions and operations as a regular instance. Not supported. The standby instance synchronizes data from the primary instance.

      Note

      Standby instance tenants do not support the Binlog feature.

      Parameter Management Supported, with the same permissions and operations as a regular instance. Supported, with the same permissions and operations as a regular instance.
      Database Management Supported, with the same permissions and operations as a regular instance. Not supported. The standby instance synchronizes data from the primary instance.
      Account Management Supported, with the same permissions and operations as a regular instance. Not supported. The standby instance synchronizes data from the primary instance.
      Instance Management Add Standby Instances Supported. You can create up to 2 standby instances for a primary instance. Not supported.
      Instance Management Change Configuration Supported, with the same permissions and operations as a regular instance. Not supported for scale-down; standby instance resources cannot be smaller than the primary instance's after scale-up.

      Note

      When you scale up the storage capacity of the primary instance, the specification of the standby instance is also verified. Therefore, you must scale up the standby instance first. For more information about how to scale up the instance, see Scale your instances.

      Instance Management View Configuration History Supported, with the same permissions and operations as a regular instance. Supported, with the same permissions and operations as a regular instance.
      Instance Management Stop Instance
      • Supported, with the same operations as a regular instance.
      • When the primary instance is stopped, the standby instance is also stopped.
      Not supported. The standby instance cannot be stopped independently. The standby instance is stopped when the primary instance is stopped.
      Instance Management Start Instance
      • Supported, with the same operations as a regular instance.
      • When the primary instance is started, the standby instance is started simultaneously.
      Not supported. The standby instance cannot be started independently. It starts when the primary instance is started.
      Instance Management Release Instance Releasing the primary instance is not allowed if a related standby instance exists. Supported, with the same operations as a regular instance.
      Instance Management Switch to Primary Instance Not supported. Supported, as long as both the primary and standby instances are running.
      Instance Management Enable Automatic Storage Expansion Supported, with the same permissions and operations as a regular instance. Not supported. Expansion settings are synchronized with the primary instance.
      Instance Management Major Compaction Supported. Supported.
      Instance Management Unit Migration Supported, with the same permissions and operations as a regular instance. Not supported.
      Load Data Import Data Supported, with the same permissions and operations as a regular instance. View only.
      SQL Console Access Console, Data Development Supported. Supported.
      Alert Management Supported. Supported.
      Performance Monitoring Supported. Supported.
      Security Management Set Allowlist Groups Supported. Supported.

      Previous topic

      Switch the deployment mode
      Last

      Next topic

      Create a standby instance
      Next
      What is on this page
      Principles
      Primary and standby instances in the same cloud
      Primary-standby instances across clouds
      Use cases
      Differences between primary and standby instances