Diagram
A decision tree branching on primary health to choose switchover for planned moves with zero loss and no split-brain, or replica failover for outages with possible loss and split-brain.
Promoting a Regional Replica to Primary Status
Promotion to primary status in Cloud SQL depends on first designating a cross-region read replica as a disaster recovery (DR) replica. The DR replica must sit in a different region than the primary instance, use the same database version and tier, use Enterprise Plus edition, and have automated backups with binary logging enabled on the primary. Designation links the primary instance to the replica through the failoverDrReplicaName field, which can be set in the console, with gcloud, or with Terraform.
Domain 3 of 6
12 practice questions
Practice this DomainLast updated