Replication options

This page describes the replication options offered by Cloud SQL.

Introduction

Cloud SQL provides the ability to replicate a master instance to one or more read replicas. A read replica is a copy of the master that reflects changes to the master instance in almost real time.

To reduce load on the master instance, send queries to the read replica instance instead. Connect to the replica directly using its connection name and IP address.

For Cloud SQL, PostgreSQL read replicas can have more CPUs and memory than the master instance, but they cannot have less. See replication tips for more information.

Cloud SQL for PostgreSQL does not yet support replication from an external master or external replicas for Cloud SQL instances.

Cloud SQL for PostgreSQL supports the following read replication scenarios:

Name Master Replica Benefits and use cases More information
Read replica Cloud SQL instance Cloud SQL instance
  • Additional read capacity
  • Analytics target

What's next

หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น

ส่งความคิดเห็นเกี่ยวกับ...

หากต้องการความช่วยเหลือ ให้ไปที่หน้าการสนับสนุน