简体   繁体   中英

Azure SQL Geo Replication - Traffic Manager

We have 3 replicas in geo replicated database setup in Azure. Is there a way to configure a one or more listener which we can change to point to any of the geo replicated database endpoint to avoid changing connection strings at client side. The failover group has a capability of listener but I can only include 2 sql db in it so looking for an alternative. I have also checked if I can use traffic manager to point to sql endpoints and doesn't seems a way to do this.

There are two options which you can try.

The read scale-out feature allows you to offload read-only workloads using the compute capacity of one of the read-only replicas, instead of running them on the read-write replica. This way, some read-only workloads can be isolated from the read-write workloads, and will not affect their performance.

If your SQL connection string is configured with ApplicationIntent=ReadOnly , the application will be redirected to a read-only replica of that database or managed instance.

Check Use read-only replicas to offload read-only query workloads for more details.

Active geo-replication is a feature that lets you to create a continuously synchronized readable secondary database for a primary database. The readable secondary database may be in the same Azure region as the primary, or, more commonly, in a different region.

You can refer Active geo-replication terminology and capabilities to know more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM