This topic describes how to create a cross-cloud standby instance.
Note
This feature is available only to allowlisted users. To use it, contact OceanBase Technical Support.
Prerequisites
The primary and standby instances use the Shared Nothing architecture.
The standby instance must have the same instance type, billing method, database version, and deployment scheme as the primary instance.
The compute specification of the standby instance can be different from that of the primary instance. The minimum node specification of the standby instance must be at least 0.33 times the node specification of the primary instance.
The storage specification of the standby instance must not be less than that of the primary instance.
Cross-cloud primary-standby database creation is supported for database versions V4.x and later. To create multiple standby instances for a primary instance (currently up to 3), the database version must be V4.2.5.4 or later.
The role of the current OceanBase Cloud account is Project Owner or Project Admin.
Note
Creating a standby instance is supported for instances with existing read-only replicas. After the standby instance is successfully created, it will not synchronize the read-only replicas of the primary instance. If needed, you can create read-only replicas separately for the standby instance. For specific procedures, refer to Create a cluster read-only replica or Create a tenant read-only replica.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target instance, click the icon next to the cluster name, and select Create Standby Instance.
In the dialog box that appears, select the project to which the standby instance belongs, and click Create Standby Instance.
On the order page, specify your instance information:
ParameterDescriptionInstance Type Transactional Billing Method Pay-as-you-go Cloud Provider Select the cloud provider you want to use. Region To reduce network latency and improve access speed, we recommend that you select a region close to your business location. Instance Name You can customize the standby instance name, which must be 2 to 64 characters in length and can only contain Chinese characters, numbers, English letters, underscores, and hyphens. Version Cross-cloud primary-standby database creation is supported for database versions V4.x and later. To create multiple standby instances for a primary instance (currently up to 3), the database version must be V4.2.5.4 or later. Deployment Mode Keep it consistent with the primary instance. Zone You can click View Network Latency to check the network latency of different regions and select an appropriate zone. Compute Specification Keep it consistent with the primary instance. Storage Specification Keep it consistent with the primary instance. Primary-standby Instance Network Synchronization Method Two synchronization methods are supported: direct network connection and log archiving. - Direct Network Connection: The primary instance uses the Log Transport Service to transmit transaction logs (redo logs) directly to the standby instance over the network in real time. The standby instance applies the logs in real time by using the Log Replay Service to synchronize data between the primary and standby instances. This method provides low latency and is suitable for scenarios that require real-time data synchronization. Reliable network connectivity between the primary and standby instances is required.
- Log Archiving: The primary instance archives transaction logs to an object storage service. The standby instance reads and applies the archived logs to synchronize data between the primary and standby instances. This method has lower network stability requirements and is suitable for unstable cross-cloud networks or scenarios where network transmission costs must be reduced. It has higher latency but lower costs than direct network connection. Fees are incurred for primary-standby log synchronization traffic. View the applicable rates on the billing page.
In the Summary section, verify that your parameter configurations and purchase quantity are correct. After verification, agree to the service agreement and click Confirm Order.
On the payment page, confirm the order information, select available coupons and a payment method, then click Pay to proceed with the payment.
Note
- If no coupons are available for the current account, click Activate Voucher Code to activate a voucher. For more information, refer to Vouchers.
- OceanBase Cloud supports Balance Payment and Online Payment. For more information, refer to Pay for an order.
