Hi @udhayan d ,
The Query Store is a feature in SQL Server that captures a history of query execution plans and runtime statistics for each query, and it can help with query performance troubleshooting and optimization.
In a readable secondary replica configuration, the Query Store is not writable on the secondary replicas, which means that any changes to the Query Store on the primary replica will not be automatically replicated to the secondary replicas. However, the Query Store should still be available for read-only access on the secondary replicas.
To resolve the error message, you may want to check the following:
- Verify that the Query Store is enabled on the primary replica and that it is available for read-only access on the secondary replicas.
- Check the version and edition of SQL Server on the primary and secondary replicas to ensure they are compatible.
- Ensure that the Query Store is not disabled on the secondary replicas or that there are no replication issues that may be preventing the availability of the Query Store on the secondary replicas.
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".