Maintenance window in Azure SQL

Applies to: Azure SQL Database Azure SQL Managed Instance

The maintenance window feature allows you to configure maintenance schedule for Azure SQL Database and Azure SQL Managed Instance resources making impactful maintenance events predictable and less disruptive for your workload.

The maintenance window is free of charge and can be configured on creation or for existing Azure SQL resources. It can be configured using the Azure portal, PowerShell, CLI, or Azure API.

Overview

Azure periodically performs planned maintenance of SQL Database and SQL Managed Instance resources. During Azure SQL maintenance event, databases are fully available but can be subject to short reconfigurations within availability SLAs for Azure SQL Database and Azure SQL Managed Instance.

By choosing a maintenance window you prefer, you can minimize the impact of planned maintenance by scheduling it to occur outside of your peak business hours.

For more information for each platform, see:

Azure SQL Database

Azure SQL Managed Instance