Read replicas enhance the read capabilities of primary instances and reduce the load on them.
After an instance is created, you can create read replicas for it as needed.
Up to 10 read replicas can be created for a DB instance.
The specifications of a read replica must be at least equal to the specifications of the DB instance.
in the upper left corner and select a region and a project.
in the upper left corner of the page and choose Database > Relational Database Service.
Parameter | Description |
|---|---|
Region | By default, read replicas are in the same region as your DB instance. |
DB Instance Name | Different DB instances can have the same name. The instance name must consist of 4 to 64 characters and start with a letter. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed. |
DB Engine | Same as the DB engine of your DB instance by default and cannot be changed. |
DB Engine Version | Same as the DB engine version of the primary DB instance by default and cannot be changed. |
Storage Type | Determines the DB instance read/write speed. The higher the maximum throughput is, the higher the DB instance read/write speed can be.
|
AZ | RDS allows you to deploy your DB instance and read replicas in a single AZ or across AZs to improve reliability. |
Parameter | Description |
|---|---|
Instance Class | Refers to the vCPUs and memory of a DB instance. Different instance classes have different numbers of database connections and maximum IOPS. For details about instance classes, see RDS for PostgreSQL Instance Classes. After a DB instance is created, you can change its instance class. For details, see Changing a DB Instance Class. |
Storage Space | Contains the system overhead required for inodes, reserved blocks, and database operation. By default, storage space of a read replica is the same as that of the primary DB instance. |
Disk Encryption |
|
Parameter | Description |
|---|---|
VPC | Same as the primary DB instance's VPC. |
Subnet | Same as the primary instance's subnet.
|
Security Group | Same as the primary DB instance's security group. |
Enterprise Project | If your account has been associated with an enterprise project, select the target project from the Enterprise Project drop-down list. |
Parameter | Description |
|---|---|
Tag | Optional. Tags help you easily identify and manage your read replicas. A maximum of 20 tags can be added for each read replica. After a read replica is created, you can view its tag details on the Tags page. For details, see Managing Tags. |
Q: Does creating read replicas during peak hours increase the load on my primary instance when my primary instance's CPU usage is high?
A: Yes. When a read replica is created, it synchronizes data from the primary instance, which consumes I/O and CPU resources of the primary instance. To avoid this impact, you can create read replicas during off-peak hours.