Diagram
Application tier sends writes to the Cloud SQL primary and balances reads across two read replicas, with asynchronous replication from primary to replicas offloading read pressure.
Cloud SQL Read Replicas
Cloud SQL read replicas are separate instances that serve read workloads to scale horizontally. Application reads flow from clients to the replicas, while writes continue to flow to the primary instance, so heavy reads no longer compete with writes on the primary. This separation protects the performance and availability of the primary instance during read-heavy workloads. In cases of read-heavy workloads, adding read replicas is the recommended way to offload traffic from the primary.
Cloud SQL read replicas also support regional failover and disaster recovery across regions. A cross-region replica holds a copy of primary data in a different region, and that replica can be promoted to become the new primary if a disaster occurs. Read replicas can be configured for high availability (HA) in advance, so a promoted replica already has a primary instance and a standby instance across two zones. A replica can also have its own cross-region replicas, called cascading replicas, which continue to provide protection immediately after the middle replica is promoted.
Domain 1 of 5
21 practice questions
Practice this DomainLast updated