DBCC FREESYSTEMCACHE
DBCC FREESYSTEMCACHE: administrative check or maintenance
What changes
- Input
- database, table, index, cache or server state named in the command
- Output or change
- messages or result sets; maintenance forms change storage, caches or metadata
Syntax at a glance
DBCC FREESYSTEMCACHE ( 'ALL' [ , pool_name ] ) [ WITH { [ MARK_IN_USE_FOR_REMOVAL ] , [ NO_INFOMSGS ] } ]
Work example
A lab test needs to measure behavior after a named system cache is cleared.
Record the cache target and workload baseline, then run the test on an isolated instance.
Check your work The test identifies the cold-cache effect and leaves shared production cache state untouched.
Open Microsoft Learn for full syntax, permissions, and details for your version.