Creating Read Replicas in Batches
Scenarios
Read replicas are used to enhance the read capabilities and reduce the load on primary DB instances. On the Instance Management page, you can select one or more MySQL DB instances and create read replicas for them in batches.
- You can create read replicas only when your account balance is more than ¥0.
- You can create a maximum of five read replicas for each primary DB instance.
- You can select a maximum of 50 MySQL DB instances to create read replicas for them.
- Read replicas can be created in batches only for MySQL DB instances running the same database version.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, select one or more DB instances and click Create Read Replica above the instance list.
- On the displayed page, configure information about the read replicas, and click Next.
- By default, read replicas are named with "read" and two digits appended to the primary DB instance name. For example, if the primary instance name is instance-0001, the first read replica will be named as instance-0001-read-01.
- The network and storage configurations are the same as those of the primary DB instance.
- Each user can create no more than 5 read replicas total for any given DB instance. In a batch creation, the number of read replicas you can create is limited by whichever DB already has the most replicas.
For example, in a batch creation where most of the DB instances only have a single read replica, if any DB instance in the batch has more than one, for example, 3, you would only be able to add 2 more replicas for each DB instance in that particular batch operation.
- Confirm the specifications.
- If you need to modify your settings, click Previous.
- Otherwise, click Submit.
- After read replicas are created, you can view and manage them.
For details about how to manage read replicas, see Managing a Read Replica.
You can view the detailed progress and result of the task on the Task Center page. For details, see Task Center.
Follow-up Operations
Last Article: Creating a Read Replica
Next Article: Managing a Read Replica
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.