SQL Server emergency? Email pinal@sqlauthority.com with URGENT in the subject line.

Disable Query Store on an Always On Database: What Blocks It

To disable Query Store on an Always On database, run ALTER DATABASE with QUERY_STORE = OFF, and try OFF (FORCED) when the statement waits. This post shows the states to read, the background commands that block the statement and the steps used on an Always On database. It marks which parts were tested on a single server and which come from a client case.

Continue Reading