sp_query_store_flush_db

sp_query_store_flush_db#

Flushes the in-memory portion of the Query Store data to disk.

Syntax#

sp_query_store_flush_db
[;]

Arguments#

None.

Example#

The following example flushes the in-memory portion of the Query Store data to disk.

EXECUTE sp_query_store_flush_db;