Announcing GA release of Azure SQL Maintenance Windows for SQL Database and SQL Managed Instance

Published Mar 15 2022 01:00 PM 3,340 Views
Microsoft

We are excited to announce the GA release of maintenance windows for Azure SQL Database and Azure SQL Managed Instance.  Need for additional control and transparency into monthly maintenance events have been a continued feedback from customers of Azure SQL Database and Managed Instance.  With the GA release of maintenance windows, you can choose from predefined time slots for maintenance in addition to having ability to set up alerts to be notified of upcoming maintenance events.

 

 

scott_kim_0-1646416677900.png

 



Gain more predictability with maintenance window

By default, Azure SQL blocks most impactful updates during the period 8AM to 5PM local time every day to avoid any disruptions during typical peak business hours. Local time is determined by the location of Azure region that hosts the resource and may observe daylight saving time in accordance with local time zone definition.

You can further adjust the maintenance updates to a time suitable to your Azure SQL resources by choosing from two additional maintenance window slots:

  • Weekday window: 10:00 PM to 6:00 AM local time, Monday - Thursday
  • Weekend window: 10:00 PM to 6:00 AM local time, Friday - Sunday

 

Once the maintenance window selection is made, all planned maintenance events will only occur during the window of your choice. 

 

Enable SQL maintenance windows on newly created and existing Azure SQL resources 

Maintenance window can be set up for newly created  as well as existing Azure SQL resources using the Azure portal, CLI and PowerShell. More information on how to set up maintenance windows can be found here.

 

Enable alerts on planned maintenance events via advance notification (Preview)

Alerts can be configured for Azure SQL Database and Azure SQL Managed Instance to notify customers on upcoming planned maintenance events 24 hours in advance. More information on how to set up advance notification can be found here.

 

What is the pricing and eligibility for SQL maintenance windows?   

The Azure SQL maintenance window and maintenance alerts are available and free of charge for the following subscription offer types: Pay-As-You-Go, Cloud Solution Provider (CSP), Microsoft Enterprise, or Microsoft Customer Agreement.

 

 

Quick Start Guide:

Set the maintenance window while creating a single database or elastic pool. For step-by-step information on creating a new database or pool, see Create an Azure SQL Database single database.

scott_kim_1-1646416677913.png

 

Set the maintenance window while creating a managed instance. For step-by-step information on creating a new managed instance, see Create an Azure SQL Managed Instance.

scott_kim_2-1646416677920.png

 

 Set the maintenance window for an existing database, elastic pool, or managed instance

  1. Navigate to the SQL database, elastic pool, or managed instance you want to set the maintenance window for.
  2. In the Settings menu select Maintenance, then select the desired maintenance window.

Configuring maintenance window for an existing database, elastic pool, or managed instance could be a long-running asynchronous operation, depending on the service tier. The resource will remain available except for a short reconfiguration lasting several seconds at the end of the operation, restarting the database engine on the primary and any high availability secondary replicas, and causing existing transactions and connections to be terminated. It is recommended to make this change during quiet hours periods.

 

To learn more,

https://aka.ms/SQLMaintenanceWindow               

https://aka.ms/SQLAdvNotification                           

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-3247736%22%20slang%3D%22en-US%22%3EAnnouncing%20GA%20release%20of%20Azure%20SQL%20Maintenance%20Windows%20for%20SQL%20Database%20and%20SQL%20Managed%20Instance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3247736%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20excited%20to%20announce%20the%20GA%20release%20of%20maintenance%20windows%20for%20Azure%20SQL%20Database%20and%20Azure%20SQL%20Managed%20Instance.%26nbsp%3B%20Need%20for%20additional%20control%20and%20transparency%20into%20monthly%20maintenance%20events%20have%20been%20a%20continued%20feedback%20from%20customers%20of%20Azure%20SQL%20Database%20and%20Managed%20Instance.%20%26nbsp%3BWith%20the%20GA%20release%20of%20maintenance%20windows%2C%20you%20can%20choose%20from%20predefined%20time%20slots%20for%20maintenance%20in%20addition%20to%20having%20ability%20to%20set%20up%20alerts%20to%20be%20notified%20of%20upcoming%20maintenance%20events.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22scott_kim_0-1646416677900.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353119iAA2D1239D1D8320C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22scott_kim_0-1646416677900.png%22%20alt%3D%22scott_kim_0-1646416677900.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGain%20more%20predictability%20with%20maintenance%20window%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EBy%20default%2C%20Azure%20SQL%20blocks%20most%20impactful%20updates%20during%20the%20period%26nbsp%3B8AM%20to%205PM%20local%20time%20every%20day%26nbsp%3Bto%20avoid%20any%20disruptions%20during%20typical%20peak%20business%20hours.%20Local%20time%20is%20determined%20by%20the%20location%20of%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fglobal-infrastructure%2Fgeographies%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20region%3C%2FA%3E%26nbsp%3Bthat%20hosts%20the%20resource%20and%20may%20observe%20daylight%20saving%20time%20in%20accordance%20with%20local%20time%20zone%20definition.%3C%2FP%3E%0A%3CP%3EYou%20can%20further%20adjust%20the%20maintenance%20updates%20to%20a%20time%20suitable%20to%20your%20Azure%20SQL%20resources%20by%20choosing%20from%20two%20additional%20maintenance%20window%20slots%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWeekday%26nbsp%3Bwindow%3A%2010%3A00%20PM%20to%206%3A00%20AM%20local%20time%2C%20Monday%20-%20Thursday%3C%2FLI%3E%0A%3CLI%3EWeekend%26nbsp%3Bwindow%3A%2010%3A00%20PM%20to%206%3A00%20AM%20local%20time%2C%20Friday%20-%20Sunday%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%26nbsp%3Bthe%26nbsp%3Bmaintenance%20window%26nbsp%3Bselection%26nbsp%3Bis%20made%2C%26nbsp%3Ball%20planned%20maintenance%26nbsp%3Bevents%20will%20only%20occur%20during%20the%20window%20of%20your%20choice.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EEnable%20SQL%20maintenance%20windows%20on%20newly%20created%20and%20existing%20Azure%20SQL%20resources%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMaintenance%20window%26nbsp%3Bcan%20be%26nbsp%3Bset%20up%26nbsp%3Bfor%20newly%20created%26nbsp%3B%20as%20well%20as%20existing%20Azure%20SQL%20resources%20using%20the%20Azure%20portal%2C%20CLI%20and%20PowerShell.%20More%20information%20on%20how%20to%20set%20up%20maintenance%20windows%20can%20be%20found%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FSQLMaintenanceWindow%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EEnable%20alerts%26nbsp%3Bon%26nbsp%3Bplanned%20maintenance%20events%20via%20advance%20notification%26nbsp%3B(Preview)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAlerts%26nbsp%3Bcan%20be%20configured%20for%20Azure%20SQL%20Database%20and%20Azure%20SQL%20Managed%20Instance%20to%20notify%20customers%20on%20upcoming%20planned%20maintenance%20events%2024%20hours%20in%20advance.%26nbsp%3BMore%20information%20on%20how%20to%20set%20up%20advance%20notification%20can%20be%20found%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FSQLAdvNotification%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EWhat%20is%20the%20pricing%20and%20eligibility%20for%20SQL%26nbsp%3Bmaintenance%26nbsp%3Bwindows%3F%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%26nbsp%3BAzure%20SQL%20maintenance%20window%26nbsp%3Band%20maintenance%20alerts%20are%20available%20and%26nbsp%3Bfree%20of%20charge%20for%20the%20following%20subscription%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fsupport%2Flegal%2Foffer-details%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eoffer%20types%3C%2FA%3E%3A%20Pay-As-You-Go%2C%20Cloud%20Solution%20Provider%20(CSP)%2C%20Microsoft%20Enterprise%2C%20or%20Microsoft%20Customer%20Agreement.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EQuick%20Start%20Guide%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1405871783%22%20id%3D%22toc-hId--1377243436%22%3ESet%20the%20maintenance%20window%20while%20creating%20a%20single%20database%20or%20elastic%20pool.%20For%20step-by-step%20information%20on%20creating%20a%20new%20database%20or%20pool%2C%20see%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fsingle-database-create-quickstart%22%20data-linktype%3D%22relative-path%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20an%20Azure%20SQL%20Database%20single%20database%3C%2FA%3E.%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22scott_kim_1-1646416677913.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353121i42862BAF67ACEFFE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22scott_kim_1-1646416677913.png%22%20alt%3D%22scott_kim_1-1646416677913.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1081641050%22%20id%3D%22toc-hId-1110269397%22%3ESet%20the%20maintenance%20window%20while%20creating%20a%20managed%20instance.%20For%20step-by-step%20information%20on%20creating%20a%20new%20managed%20instance%2C%20see%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fmanaged-instance%2Finstance-create-quickstart%22%20data-linktype%3D%22relative-path%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20an%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E.%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22scott_kim_2-1646416677920.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353120i9364EB2014B5BC1A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22scott_kim_2-1646416677920.png%22%20alt%3D%22scott_kim_2-1646416677920.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--725813413%22%20id%3D%22toc-hId--697185066%22%3E%26nbsp%3BSet%20the%20maintenance%20window%20for%20an%20existing%20database%2C%20elastic%20pool%2C%20or%20managed%20instance%3C%2FH3%3E%0A%3COL%3E%0A%3CLI%3ENavigate%20to%20the%20SQL%20database%2C%20elastic%20pool%2C%20or%20managed%20instance%20you%20want%20to%20set%20the%20maintenance%20window%20for.%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3ESettings%3C%2FSTRONG%3E%26nbsp%3Bmenu%20select%26nbsp%3B%3CSTRONG%3EMaintenance%3C%2FSTRONG%3E%2C%20then%20select%20the%20desired%20maintenance%20window.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EConfiguring%20maintenance%20window%20for%20an%20existing%20database%2C%20elastic%20pool%2C%20or%20managed%20instance%20could%20be%20a%20long-running%20asynchronous%20operation%2C%20depending%20on%20the%20service%20tier.%20The%20resource%20will%20remain%20available%20except%20for%20a%20short%20reconfiguration%20lasting%20several%20seconds%20at%20the%20end%20of%20the%20operation%2C%20restarting%20the%20database%20engine%20on%20the%20primary%20and%20any%20high%20availability%20secondary%20replicas%2C%20and%20causing%20existing%20transactions%20and%20connections%20to%20be%20terminated.%20It%20is%20recommended%20to%20make%20this%20change%20during%20quiet%20hours%20periods.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ETo%20learn%20more%2C%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FSQLMaintenanceWindow%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FSQLMaintenanceWindow%3C%2FA%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FSQLAdvNotification%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FSQLAdvNotification%3C%2FA%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3247736%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20excited%20to%20announce%20the%20GA%20release%20of%20maintenance%20windows%20for%20Azure%20SQL%20Database%20and%20Azure%20SQL%20Managed%20Instance.%26nbsp%3B%20Need%20for%20additional%20control%20and%20transparency%20into%20monthly%20maintenance%20events%20have%20been%20a%20continued%20feedback%20from%20customers%20of%20Azure%20SQL%20Database%20and%20Managed%20Instance.%20%26nbsp%3BWith%20the%20GA%20release%20of%20maintenance%20windows%2C%20you%20can%20choose%20from%20predefined%20time%20slots%20for%20maintenance%20in%20addition%20to%20having%20ability%20to%20set%20up%20alerts%20to%20be%20notified%20of%20upcoming%20maintenance%20events.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3247736%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20SQL%20Database%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20SQL%20Managed%20Instance%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Mar 15 2022 01:00 PM
Updated by: