Skip to content

Commit

Permalink
Update Detecting Failed Forced Plans in Query Store.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalyBruk committed Dec 24, 2024
1 parent 8d457c8 commit 9bd3488
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Query Store/Detecting Failed Forced Plans in Query Store.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
Query plans that have been forced in Query Store may end up with the forcing in a “failed” state for a variety of reasons.
Sometimes this might be that a structure in the forced plan is no longer valid - maybe an index that had been selected in the plan has been dropped or its definition has changed.
This script identifies queries with forced plans that have failed with GENERAL_FAILURE in Query Store.
The script adapted to run on SQL Server (2008 and up), Azure SQL DB and Azure Managed Instance
*/

Expand Down

0 comments on commit 9bd3488

Please sign in to comment.