Adding Read Replicas to a Standard HTAP Instance
Scenarios
In read-intensive scenarios, the primary instance may be unable to handle the read pressure and services may be affected. To offload read pressure from the primary node, you can create one or more read replicas. These read replicas can process a large number of read requests and increase application throughput.
After creating a standard HTAP instance, you can add read replicas to it as required.
Deployment Relationships
New read replicas and existing nodes are deployed in the same AZ.
Constraints
- A single cluster instance supports a maximum of 10 FE nodes and 10 BE nodes.
- You cannot add read replicas to a single-node instance.
- Deleted read replicas cannot be recovered. Exercise caution when performing this operation.
- If another operation is being performed on a DB instance, the read replicas of the instance cannot be manually deleted.
- In a single cluster instance, you can only delete a fe-follower node when there is one fe-leader node and two or more available fe-follower nodes.
For details about the fe-leader and fe-follower nodes, see What Is HTAP Standard Edition?
- Read replicas of a single-node instance cannot be deleted.
- If a standard HTAP instance has been associated with a proxy instance, you need to manually configure read weights for new read replicas.
Billing
Billing Mode of New Read Replicas |
Impact on Price |
---|---|
Yearly/Monthly |
You will be billed for the new read replicas based on the time remaining in the requested period of your instance. You need to pay the price difference. The following prices are for reference only. The actual prices are displayed on the console. Suppose you purchased a one-month cluster standard HTAP instance with three BE and three FE nodes (specifications: 4 vCPUs | 16 GB; storage: extreme SSD, 50 GB) in CN-Hong Kong on April 1, 2025. The instance price was $1874.40 USD per month. On April 15, 2025, you added one BE node and one FE node. The instance price was $2499.20 USD per month. Price difference = Price for the new instance configuration x Remaining period – Price for the original instance configuration x Remaining period The remaining period is the remaining days of each calendar month divided by the maximum number of days in each calendar month. In this example, the remaining period and price difference are calculated as follows: Remaining period = 15 (Remaining days in April)/30 (Maximum number of days in April) = 0.5. Price difference = $2499.20 USD x 0.5 – $1874.40 USD x 0.5 = $312.4 USD |
Pay-per-use |
New read replicas are billed by hour. For details, see Product Pricing Details. |
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project.
- Click
in the upper left corner of the page and choose Databases > TaurusDB.
- On the Instances page, locate a TaurusDB instance and click its name to access the Basic Information page.
- In the navigation pane, choose HTAP Analysis.
- Locate an HTAP instance and choose in the Operation column.
- On the displayed page, set required parameters.
Figure 1 Creating read replicas
Table 2 Parameter description Parameter
Description
Instance node flavor configuration
- Storage Type: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Instance Specifications: By default, the value is the same as that of the current HTAP instance and cannot be changed.
FE node configuration
- Frontend Node Specifications: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Frontend Node Storage: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Frontend Node Role: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Frontend Nodes: The value ranges from 0 to 7. You can create up to 7 nodes at once.
BE node configuration
- Backend Node Specifications: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Backend Node Storage: By default, the value is the same as that of the current HTAP instance and cannot be changed.
- Backend Nodes: The value ranges from 0 to 7. You can create up to 7 nodes at once.
- Click Next.
- Confirm the information and click Submit.
- After the read replicas are created, view and manage them on the Basic Information page of the HTAP instance.
- Pay-per-use instance: To delete a read replica, locate the read replica in the node list and click Delete in the Operation column. In the displayed dialog box, click OK.
- Yearly/Monthly instance: To delete a read replica, locate the read replica in the node list and click Unsubscribe in the Operation column. On the displayed page, confirm the order to be unsubscribed and select a reason. Then, click Confirm. In the displayed dialog box, click Yes. After the order is successfully unsubscribed, the read replica will be deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot