RayDB LogoRayDB

Choosing region

RayDB allows you to deploy your PostgreSQL clusters in different geographic regions to optimize performance, reduce latency, and comply with data residency requirements.

Choosing a Region

  • When creating a new cluster, you can select the deployment region that best serves your users.
  • Available regions are displayed in the Cluster Creation page in the RayDB Dashboard.
  • Choosing a region closer to your application servers or users can improve query performance.

Changing a Cluster's Region

  • Once a cluster is deployed, its region cannot be changed directly.
  • To move a cluster to a new region:
    1. Create a new cluster in the desired region.
    2. Use logical backup and restore (pg_dump and pg_restore) to migrate data.
    3. Update application connection settings to point to the new cluster.

Multi-Region Deployments

  • Business plans support read replicas in different regions for improved redundancy and low-latency reads.
  • Multi-region configurations can be set up in the Replication section of the dashboard.

Best Practices

  • Select the closest region to your primary user base for best performance.
  • Consider multi-region read replicas for high availability and failover options.
  • Ensure compliance with local data residency regulations when selecting a region.

For more details, see Multi-Region Deployments.

On this page