Query Store stored procedures
8 reference entries
- sp_query_store_clear_message_queues
Clears all queued (non-persisted) Query Store messages pending for the replica against which the command is executed.
- sp_query_store_flush_db
Flushes the in-memory portion of the Query Store data to disk.
- sp_query_store_force_plan
Enables forcing a particular plan for a particular query in the Query Store.
- sp_query_store_remove_plan
Removes a single plan from the Query Store.
- sp_query_store_remove_query
spquerystoreremovequery (Transact-SQL).
- sp_query_store_reset_exec_stats
Clears the runtime stats for a specific query plan from the Query Store.
- sp_query_store_unforce_plan
Enables unforcing a previously forced plan for a particular query in the Query Store.
- sys.sp_query_store_set_hints
Creates or updates Query Store hints for a given query, allowing you to influence queries without changing application code or database objects.