Write Operations on primary database latency issue

Neela 20 Reputation points
2024-08-20T13:33:05.2566667+00:00

I have a Azure SQL database replicated to two regions. As per azure documentation secondary databases are read only. In that case all my write operations will be directed to primary. Will that cause latency issue? because my regions are not closer to each other. If so what to do to improve write operations latency.

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2024-08-23T22:05:13.0366667+00:00

    @Neela Thank you for reaching out.

    In addition to Luis Arias's answer above.

    Yes, there will be latency across regions and as distance goes up so will latency. To improve latency consider picking a region that’s closer to primary and if needed explore this stored procedure but the tradeoff will be between performance & latency.

    Hope that helps.

    Regards,

    Oury

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Luis Arias 8,621 Reputation points Volunteer Moderator
    2024-08-20T14:09:51.5433333+00:00

    Hi please follow this thread https://learn.microsoft.com/en-us/answers/questions/1295981/data-latency-between-primary-database-and-named-re

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Regards,

    Luis


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.