SQL Flow Field Guide

DBCC PROCCACHE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

DBCC PROCCACHE: 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 PROCCACHE [ WITH NO_INFOMSGS ]

Work example

A capacity review needs a snapshot of procedure-cache memory use.

Capture the result with workload and memory counters instead of treating one snapshot as a diagnosis.

Check your work The cache values align with the time window and other memory evidence.

Open Microsoft Learn for full syntax, permissions, and details for your version.