You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Advance notifications (Preview) is available for databases configured to use a non-default [Maintenance Window (Preview)](maintenance-window.md). Advance notifications enable customers to configure notifications to be sent up to 24 hours in advance of any planned event.
18
+
Advance notifications (Preview) are available for databases configured to use a non-default [maintenance window](maintenance-window.md). Advance notifications enable customers to configure notifications to be sent up to 24 hours in advance of any planned event.
19
19
20
20
Notifications can be configured so you can get texts, emails, Azure push notifications, and voicemails when planned maintenance is due to begin in the next 24 hours. Additional notifications are sent when maintenance begins and when maintenance ends.
21
21
22
22
Advance notifications cannot be configured for the **System default** maintenance window option. Choose a maintenance window other than the **System default** to configure and enable Advance notifications.
23
23
24
24
> [!NOTE]
25
-
> While the ability to choose a maintenance window is availablefor Azure SQL managed instances, advance notifications are not currently available for Azure SQL managed instances.
25
+
> While [maintenance windows](maintenance-window.md) are generally available, advance notifications for maintenance windows are in public preview for Azure SQL Database and Azure SQL Managed Instance.
26
26
27
27
## Create an advance notification
28
28
@@ -46,8 +46,6 @@ Complete the following steps to enable a notification.
1. Complete the *Add or edit notification* form that opens and select **OK**:
52
50
53
51
2. Actions and Tags are optional. Here you can configure additional actions to be triggered or use tags to categorize and organize your Azure resources.
@@ -80,6 +78,34 @@ The following table shows additional notifications that may be sent while mainte
80
78
|**Blocked**|There was a problem during maintenance for database *xyz*. We'll notify you when we resume.|
81
79
|**Resumed**|The problem has been resolved and maintenance will continue at the next maintenance window.|
82
80
81
+
## Permissions
82
+
83
+
While Advance Notifications can be sent to any email address, Azure subscription RBAC (role-based access control) policy determines who can access the links in the email. Querying resource graph is covered by [Azure RBAC](../../role-based-access-control/overview.md) access management. To enable read access, each recipient should have resource group level read access. For more information, see [Steps to assign an Azure role](../../role-based-access-control/role-assignments-steps.md).
84
+
85
+
## Retrieve the list of impacted resources
86
+
87
+
[Azure Resource Graph](../../governance/resource-graph/overview.md) is an Azure service designed to extend Azure Resource Management. The Azure Resource Graph Explorer provides efficient and performant resource exploration with the ability to query at scale across a given set of subscriptions so that you can effectively govern your environment.
88
+
89
+
You can use the Azure Resource Graph Explorer to query for maintenance events. For an introduction on how to run these queries, see [Quickstart: Run your first Resource Graph query using Azure Resource Graph Explorer](../../governance/resource-graph/first-query-portal.md).
90
+
91
+
When the advanced notification for planned maintenance is received, you will get a link that opens Azure Resource Graph and executes the query for the exact event, similar to the following. Note that the `notificationId` value is unique per maintenance event.
92
+
93
+
```kusto
94
+
resources
95
+
| project resource = tolower(id)
96
+
| join kind=inner (
97
+
maintenanceresources
98
+
| where type == "microsoft.maintenance/updates"
99
+
| extend p = parse_json(properties)
100
+
| mvexpand d = p.value
101
+
| where d has 'notificationId' and d.notificationId == 'LNPN-R9Z'
102
+
| project resource = tolower(name), status = d.status
103
+
) on resource
104
+
|project resource, status
105
+
```
106
+
107
+
For the full reference of the sample queries and how to use them across tools like PowerShell or Azure CLI, visit [Azure Resource Graph sample queries for Azure Service Health](../../service-health/resource-graph-samples.md).
@@ -33,7 +33,7 @@ The following table lists the features of Azure SQL Database that are currently
33
33
|[Elastic queries](elastic-query-overview.md)| The elastic queries feature allows for cross-database queries in Azure SQL Database. |
34
34
|[Elastic transactions](elastic-transactions-overview.md)| Elastic transactions allow you to execute transactions distributed among cloud databases in Azure SQL Database. |
35
35
|[Ledger](ledger-overview.md)| The Azure SQL Database ledger feature allows you to cryptographically attest to other parties, such as auditors or other business parties, that your data hasn't been tampered with. |
36
-
|[Maintenance window](maintenance-window.md)|The maintenance window feature allows you to configure maintenance schedule for your Azure SQL Database. |
36
+
|[Maintenance window advance notifications](../database/advance-notifications.md)|Advance notifications are available for databases configured to use a non-default [maintenance window](maintenance-window.md). Advance notifications for maintenance windows are in public preview for Azure SQL Database. |
37
37
|[Query editor in the Azure portal](connect-query-portal.md)| The query editor in the portal allows you to run queries against your Azure SQL Database directly from the [Azure portal](https://portal.azure.com).|
38
38
|[Query Store hints](/sql/relational-databases/performance/query-store-hints?view=azuresqldb-current&preserve-view=true)| Use query hints to optimize your query execution via the OPTION clause. |
39
39
|[SQL Analytics](../../azure-monitor/insights/azure-sql.md)|Azure SQL Analytics is an advanced cloud monitoring solution for monitoring performance of all of your Azure SQL databases at scale and across multiple subscriptions in a single view. Azure SQL Analytics collects and visualizes key performance metrics with built-in intelligence for performance troubleshooting.|
@@ -47,6 +47,7 @@ The following table lists the features of Azure SQL Database that have transitio
47
47
48
48
| Feature | GA Month | Details |
49
49
| ---| --- |--- |
50
+
|[Maintenance window](../database/maintenance-window.md)| March 2022 | The maintenance window feature allows you to configure maintenance schedule for your Azure SQL Database. [Maintenance window advance notifications](../database/advance-notifications.md), however, are in preview.|
50
51
|[Storage redundancy for Hyperscale databases](automated-backups-overview.md#configure-backup-storage-redundancy)| March 2022 | When creating a Hyperscale database, you can choose your preferred storage type: read-access geo-redundant storage (RA-GRS), zone-redundant storage (ZRS), or locally redundant storage (LRS) Azure standard storage. The selected storage redundancy option will be used for the lifetime of the database for both data storage redundancy and backup storage redundancy. |
51
52
|[Azure Active Directory-only authentication](authentication-azure-ad-only-authentication.md)| November 2021 | It's possible to configure your Azure SQL Database to allow authentication only from Azure Active Directory. |
52
53
|[Azure AD service principal](authentication-aad-service-principal.md)| September 2021 | Azure Active Directory (Azure AD) supports user creation in Azure SQL Database on behalf of Azure AD applications (service principals).|
@@ -62,6 +63,7 @@ Learn about significant changes to the Azure SQL Database documentation.
62
63
63
64
| Changes | Details |
64
65
| --- | --- |
66
+
|**GA for maintenance window**| The [maintenance window](maintenance-window.md) feature allows you to configure a maintenance schedule for your Azure SQL Database and receive advance notifications of maintenance windows. [Maintenance window advance notifications](../database/advance-notifications.md) are in public preview for databases configured to use a non-default [maintenance window](maintenance-window.md).|
65
67
|**Hyperscale zone redundant configuration preview**| It's now possible to create new Hyperscale databases with zone redundancy to make your databases resilient to a much larger set of failures. This feature is currently in preview for the Hyperscale service tier. To learn more, see [Hyperscale zone redundancy](high-availability-sla.md#hyperscale-service-tier-zone-redundant-availability-preview). |
66
68
| **Hyperscale storage redundancy GA** | Choosing your storage redundancy for your databases in the Hyperscale service tier is now generally available. See [Configure backup storage redundancy](automated-backups-overview.md#configure-backup-storage-redundancy) to learn more.
67
69
|||
@@ -75,7 +77,6 @@ Learn about significant changes to the Azure SQL Database documentation.
75
77
76
78
### 2021
77
79
78
-
79
80
| Changes | Details |
80
81
| --- | --- |
81
82
|**Azure AD-only authentication**| Restricting authentication to your Azure SQL Database only to Azure Active Directory users is now generally available. To learn more, see [Azure AD-only authentication](../database/authentication-azure-ad-only-authentication.md). |
@@ -90,7 +91,6 @@ Learn about significant changes to the Azure SQL Database documentation.
90
91
|||
91
92
92
93
93
-
94
94
## Contribute to content
95
95
96
96
To contribute to the Azure SQL documentation, see the [Docs contributor guide](/contribute/).
Copy file name to clipboardExpand all lines: articles/azure-sql/database/maintenance-window-configure.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Configure maintenance window (Preview)
2
+
title: Configure maintenance window
3
3
description: Learn how to set the time when planned maintenance should be performed on your Azure SQL databases, elastic pools, and managed instance databases.
Configure the [maintenance window (Preview)](maintenance-window.md) for an Azure SQL database, elastic pool, or Azure SQL Managed Instance database during resource creation, or anytime after a resource is created.
17
+
Configure the [maintenance window](maintenance-window.md) for an Azure SQL database, elastic pool, or Azure SQL Managed Instance database during resource creation, or anytime after a resource is created.
18
18
19
19
The *System default* maintenance window is 5PM to 8AM daily (local time of the Azure region the resource is located) to avoid peak business hours interruptions. If the *System default* maintenance window is not the best time, select one of the other available maintenance windows.
20
20
@@ -415,6 +415,6 @@ Be sure to delete unneeded resources after you're finished with them to avoid un
415
415
416
416
## Next steps
417
417
418
-
- To learn more about maintenance window, see [Maintenance window (Preview)](maintenance-window.md).
418
+
- To learn more about maintenance window, see [Maintenance window](maintenance-window.md).
419
419
- For more information, see [Maintenance window FAQ](maintenance-window-faq.yml).
420
420
- To learn about optimizing performance, see [Monitoring and performance tuning in Azure SQL Database and Azure SQL Managed Instance](monitor-tune-overview.md).
Copy file name to clipboardExpand all lines: articles/azure-sql/database/maintenance-window-faq.yml
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ metadata:
10
10
ms.author: wiassaf
11
11
ms.reviewer: kendralittle, mathoma
12
12
ms.custom:
13
-
ms.date: 09/30/2021
13
+
ms.date: 03/07/2022
14
14
15
15
title: Maintenance window FAQ
16
16
summary: This article answers frequently asked questions about the maintenance window for [Azure SQL database](sql-database-paas-overview.md) and [SQL managed instance](../managed-instance/sql-managed-instance-paas-overview.md).
@@ -19,27 +19,27 @@ sections:
19
19
questions:
20
20
- question: What is the maintenance window feature?
21
21
answer: |
22
-
The maintenance window feature provides you with the ability to onboard Azure SQL resource to prescheduled time blocks outside of business hours. See [Maintenance window schedules](maintenance-window.md#gain-more-predictability-with-maintenance-window) for more information.
22
+
The maintenance window feature provides you with the ability to onboard Azure SQL resource to prescheduled time blocks outside of business hours. For more information, see [Maintenance window schedules](maintenance-window.md#gain-more-predictability-with-maintenance-window).
23
23
24
-
- question: What is the default maintenance policy if I do not choose any specific window?
24
+
- question: What is the default maintenance policy if I don't choose any specific window?
25
25
answer: |
26
26
Maintenance events will occur during the default window 5PM to 8AM local time, Monday - Sunday.
27
27
28
28
- question: Users work in a different time zone than the Azure data center. Which time zone is local?
29
29
answer: |
30
-
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. It is not determined by the time zone configured on SQL database (always UTC) or managed instance.
30
+
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. It isn't determined by the time zone configured on SQL database (always UTC) or managed instance.
31
31
32
32
- question: Can I choose a specific time/day for the maintenance window?
33
33
answer: |
34
34
No, you can choose between pre-scheduled weekday or weekend windows. The maintenance can happen any time or day within the window.
35
35
36
36
- question: What happens once I choose a maintenance window?
37
37
answer: |
38
-
Configuring maintenance window is a long running asynchronous operation, similar to changing the service tier of your Azure SQL resource. The resource is available during the process, except a short reconfiguration that happens at the end of the operation and typically lasts up to 8 seconds even in case of interrupted long-running transactions. To minimize the impact of the reconfiguration you should perform the operation outside of the peak hours. In case of managed instance, IP address of the instance will change.
38
+
Configuring maintenance window is a long running asynchronous operation, similar to changing the service tier of your Azure SQL resource. The resource is available during the process, except a short reconfiguration that happens at the end of the operation and typically lasts up to 8 seconds even in case of interrupted long-running transactions. To minimize the impact of the reconfiguration, you should perform the operation outside of the peak hours. In case of managed instance, IP address of the instance will change.
39
39
40
40
- question: What types of updates are typically performed during a maintenance window?
41
41
answer: |
42
-
The maintenance event may contain updates for hardware, firmware, operating system, satellite software components, and SQL engine. They are typically combined into a single batch to minimize the incidence of maintenance events.
42
+
The maintenance event may contain updates for hardware, firmware, operating system, satellite software components, and SQL engine. They're typically combined into a single batch to minimize the incidence of maintenance events.
43
43
44
44
- question: What can I expect during a maintenance event?
45
45
answer: |
@@ -63,19 +63,19 @@ sections:
63
63
64
64
- question: Would I receive a notification of the maintenance window?
65
65
answer: |
66
-
You can opt in to receive notification 24 hours prior to the maintenance event, immediately before maintenance starts, and when the maintenance window is completed. The Resource health center can be checked for more information. To receive emails, advance notification must be configured, for more information see [Advance notifications](advance-notifications.md).
66
+
You can opt in to receive notification 24 hours prior to the maintenance event, immediately before maintenance starts, and when the maintenance window is completed. The Resource health center can be checked for more information. To receive emails, advance notifications must be configured. For more information, see [Advance notifications](advance-notifications.md).
67
67
68
68
- question: In which service level objectives (SLOs) can I choose a maintenance window?
69
69
answer: |
70
70
Choosing a maintenance window is available in most SLOs with some exceptions, see [maintenance window supported service level objectives](maintenance-window.md#supported-service-level-objectives).
71
71
72
-
- question: If I have selected a maintenance window for a resource, and I downscale to a service level objective (SLO) where choosing a maintenance window is not supported, what happens to my database?
72
+
- question: If I've selected a maintenance window for a resource, and I downscale to a service level objective (SLO) where choosing a maintenance window isn't supported, what happens to my database?
73
73
answer: |
74
-
In this case, the maintenance window would revert to the default option which is 5PM to 8AM local time.
74
+
In this case, the maintenance window would revert to the default option, which is 5PM to 8AM local time.
75
75
76
76
- question: Can I cancel or postpone a planned maintenance event based on the received notification?
77
77
answer: |
78
-
No. Cancelling or postponing an upcoming maintenance event is not supported. Notifications help you to prepare for the event.
78
+
No. Cancelling or postponing an upcoming maintenance event isn't supported. Notifications help you to prepare for the event.
79
79
80
80
- question: How long does it take to process a maintenance window schedule change?
81
81
answer: |
@@ -103,11 +103,15 @@ sections:
103
103
104
104
- question: I have the default maintenance window selected. Can I enable advance notifications for that maintenance?
105
105
answer: |
106
-
No, advance notifications cannot be configured for the default maintenance window option. When choosing a maintenance window, choose an option other than **System default** to configure and enable advance notifications.
106
+
No, advance notifications can't be configured for the default maintenance window option. When choosing a maintenance window, choose an option other than **System default** to configure and enable advance notifications.
107
107
108
-
- question: I am not able to set up advance notifications for planned maintenance, will I still see planned maintenance event in Service Health dashboard?
108
+
- question: I'm not able to set up advance notifications for planned maintenance, will I still see planned maintenance event in Service Health dashboard?
109
109
answer: |
110
-
No, if advance notifications are not configured, Service Health will not show the planned maintenance events.
110
+
No, if advance notifications aren't configured, Service Health won't show the planned maintenance events.
111
+
112
+
- question: Does advance notification cover all maintenance events?
113
+
answer: |
114
+
No, advance notifications focus only on planned maintenance events that can cause a service interruption.
0 commit comments