Understanding SQL Manged Instance behaviour in Planned Maintenance events

Jim Swainston 20 Reputation points
2023-08-22T10:21:33.11+00:00

Hi,
I have been reading this article (https://learn.microsoft.com/en-us/azure/azure-sql/database/planned-maintenance?view=azuresql) and would like to get some clarification on this paragraph....

During planned maintenance, members of the database quorum will go offline one at a time, with the intent that there is one responding primary replica. For Business Critical and Premium databases, at least one secondary replica will also be online to ensure no client downtime. When the primary replica needs to be brought offline, a reconfiguration process will occur. For Business Critical and Premium databases one of the secondary replicas will become the new primary replica. For General Purpose, Standard, and Basic databases the primary replica will move to another stateless compute node with sufficient free capacity.

Does this mean that for a SQL Managed Instance, I could choose a Service Tier of General Purpose with a Hardware Generation of Premium and experience no downtime in a planned maintenance window? See image below...

User's image

Ultimately I want the high availability, but don't need the added features (and cost) of Business Critical if possible.

thanks

Azure SQL Database
SQL Server | Other
{count} votes

Answer accepted by question author
  1. GeethaThatipatri-MSFT 29,587 Reputation points Microsoft Employee Moderator
    2023-08-23T23:56:56.65+00:00

    @Jim Swainston

    High availability is built-in capability in both service tiers – General Purpose and Business Critical. No matter for which service tier you decide to go, in both cases you will get almost no-downtime experience.

     The impact of planned maintenance is failover that happens during patching. It typically takes a bit shorter in case of BC due to the always-on architecture, but in both cases it is measured in seconds.

    Regards

    Geetha


1 additional answer

Sort by: Most helpful
  1. Erkan Sahin 840 Reputation points
    2023-08-23T10:23:11.04+00:00

    Hello Jim Swainston!

    You're seeking clarity on SQL Managed Instance behavior during planned maintenance events, especially when using the General Purpose Service Tier with Premium Hardware Generation.

    Here's what you need to know:

    Even with Premium Hardware Generation, the General Purpose tier will experience a brief outage during maintenance. Transactions in progress during a server reboot will experience a dropped connection. Business Critical tier offers higher availability but can still have short disruptions. Reconfigurations typically take 8 seconds but can extend up to 30 seconds. If minimizing downtime is crucial, the Business Critical tier might be your best choice.

    I hope this clears things up! If this information is helpful, please consider marking my response as such. Best of luck with your SQL Managed Instance decisions! 😊

    0 comments No comments

Your answer

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