Skip to content

Commit f903a49

Browse files
Merge pull request #33713 from WilliamDAssafMSFT/20250404-query-store-hints-best-practices.md
20250404 query store hints best practices.md
2 parents cf79385 + 6f907f5 commit f903a49

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

azure-sql/database/recovery-using-backups.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about point-in-time restore, which enables you to roll back a
55
author: dnethi
66
ms.author: dinethi
77
ms.reviewer: wiassaf, mathoma, danil
8-
ms.date: 03/13/2025
8+
ms.date: 04/04/2025
99
ms.service: azure-sql-database
1010
ms.subservice: backup-restore
1111
ms.topic: how-to
@@ -77,6 +77,8 @@ For more information, see [Azure RBAC: Built-in roles](/azure/role-based-access-
7777

7878
You can recover by using the Azure portal, PowerShell, or the REST API. You can't use Transact-SQL.
7979

80+
Azure SQL Database backups are managed automatically. No one has direct access to the backups. The backups are deleted once the configured retention period expires. For more information, see [Automated backups in Azure SQL Database](automated-backups-overview.md) and [Long-term retention](long-term-retention-overview.md).
81+
8082
## Point-in-time restore
8183

8284
You can restore any database to an earlier point in time within its retention period. The restore request can specify any service tier or compute size for the restored database. When you're restoring a database into an elastic pool, ensure that you have sufficient resources in the pool to accommodate the database.

azure-sql/database/sql-database-paas-overview.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Get an introduction to SQL Database: technical details and capabil
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: mathoma
7-
ms.date: 09/12/2024
7+
ms.date: 04/04/2025
88
ms.service: azure-sql-database
99
ms.subservice: service-overview
1010
ms.topic: overview
@@ -240,6 +240,10 @@ The [maintenance window feature](maintenance-window.md) allows you to configure
240240

241241
Patching is generally not noticeable if you [employ retry logic](develop-overview.md#resiliency) in your app. For more information, see [Planning for Azure maintenance events in Azure SQL Database](planned-maintenance.md).
242242

243+
### Can I access my backups?
244+
245+
Azure SQL Database backups are managed automatically. No one has direct access to the backups. The backups are deleted once the configured retention period expires. For more information, see [Automated backups in Azure SQL Database](automated-backups-overview.md) and [Long-term retention](long-term-retention-overview.md).
246+
243247
## Engage with the SQL Server engineering team
244248

245249
- [DBA Stack Exchange](https://dba.stackexchange.com/questions/tagged/sql-server): Ask database administration questions.

docs/relational-databases/performance/query-store-hints-best-practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Query Store hints best practices"
33
description: "Best practices for the Query Store hints feature, which helps you to shape query plans without changing application code."
44
author: MikeRayMSFT
55
ms.author: mikeray
6-
ms.date: 03/26/2025
6+
ms.date: 04/04/2025
77
ms.service: sql
88
ms.subservice: performance
99
ms.topic: best-practice
@@ -95,8 +95,8 @@ For more information, see Query Store hint [examples](query-store-hints.md#examp
9595
The following considerations apply:
9696

9797
- When you specify this hint for a query, an attempt to execute the query fails with error 8778, severity 16, *Query execution has been aborted because the ABORT_QUERY_EXECUTION hint was specified.*
98-
- To unblock a query, you can clear the hint by passing the `query_id` value to the [sys.sp_query_store_clear_hints](../system-stored-procedures/sys-sp-query-store-clear-hints-transact-sql.md) stored procedure.
99-
- You can use the following example query to find all queries in Query Store that are blocked with system views, starting with the [sys.query_store_query_hints (Transact-SQL)](../system-catalog-views/sys-query-store-query-hints-transact-sql.md) system view:
98+
- To unblock a query, you can clear the hint by passing the `query_id` value to the `@query_id` parameter in the [sys.sp_query_store_clear_hints](../system-stored-procedures/sys-sp-query-store-clear-hints-transact-sql.md) stored procedure.
99+
- You can use system views to find queries in Query Store that are blocked, as in the following example query:
100100
```sql
101101
SELECT qsh.query_id,
102102
q.query_hash,

0 commit comments

Comments
 (0)