Questions on Async/Sync replication for geo-replication and Failover groups on Azure SQL database

anil kumar 1,646 Reputation points
2021-02-07T11:43:09.17+00:00

Hi,

Could you please clarify following questions? I want to compare GR/FG capabilities with on premise AlwaysON AG.....

  1. Does geo-replication and Failover groups in Azure leverages Alwayson feature in the background ?
  2. Does both geo-replication and Failover groups in Azure replicate the data in asynchronous manner ?
  3. Is it possible to configure geo-replication to replicate the data in synchronous manner if required by us?
  4. If there are multiple geo-replication replicas for a Database in Azure, can I choose synchronous replication for a particular replica while keep other replicas in asynchronous replication? Or this Async/sync is controlled at the transaction level ?
  5. Is it possible to configure Failover groups in Azure to replicate the data in synchronous manner if required by us?

Appreciate your insightful response. Thank you.

Azure SQL Database
{count} votes

Accepted answer
  1. Navtej Singh Saini 4,226 Reputation points Microsoft Employee Moderator
    2021-02-23T00:08:15.537+00:00

    @anil kumar
    Here are answers from our team regarding this:

    Does both geo-replication and Failover groups in Azure replicate the data in asynchronous manner ?
    Yes

    Is it possible to configure geo-replication to replicate the data in synchronous manner if required by us?
    Geo-replication doesn't support strong consistency / synchronous replication. You can achieve something similar by running sp_wait_for_database_copy_sync after transactions that you wish to be durable, “Forced synchronization impacts performance because it blocks the calling thread until all committed transactions are replicated”

    If there are multiple geo-replication replicas for a Database in Azure, can I choose synchronous replication for a particular replica while keep other replicas in asynchronous replication? Or this Async/sync is controlled at the transaction level ?
    No

    Is it possible to configure Failover groups in Azure to replicate the data in synchronous manner if required by us?
    Same answer as Geo-DR

    Please let me know if you have any further questions.

    Regards
    Navtej S


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.