--- title: "DBCC PROCCACHE (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "03/24/2017" ms.prod: "sql-non-specified" ms.reviewer: "" ms.suite: "" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "language-reference" f1_keywords: - "DBCC PROCCACHE" - "DBCC_PROCCACHE_TSQL" - "PROCCACHE_TSQL" - "PROCCACHE" dev_langs: - "TSQL" helpviewer_keywords: - "procedure cache [SQL Server]" - "displaying procedure cache information" - "DBCC PROCCACHE statement" ms.assetid: 7a4f9f8a-13ff-4bf2-ba29-c17012a23659 caps.latest.revision: 31 author: "JennieHubbard" ms.author: "jhubbard" manager: "jhubbard" --- # DBCC PROCCACHE (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx_md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)] Displays information in a table format about the procedure cache. ![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md) ## Syntax ``` DBCC PROCCACHE [ WITH NO_INFOMSGS ] ``` ## Arguments WITH Allows for options to be specified. NO_INFOMSGS Suppresses all informational messages that have severity levels 0 through 10. ## Remarks The procedure cache is used to cache the compiled and executable plans to speed up the execution of batches. The entries in a procedure cache are at a batch level. The procedure cache includes the following entries: - Compiled plans - Execution plans - Algebrizer tree - Extended procedures ## Result Sets The following table describes the columns of the result set. |Column name|Description| |-----------------|-----------------| |**num proc buffs**|Total number of pages used by all entries in the procedure cache.| |**num proc buffs used**|Total number of pages used by all entries that are currently being used.| |**num proc buffs active**|For backward compatibility only. Total number of pages used by all entries that are currently being used.| |**proc cache size**|Total number of entries in the procedure cache.| |**proc cache used**|Total number of entries that are currently being used.| |**proc cache active**|For backward compatibility only. Total number of entries that are currently being used.| ## Permissions Requires membership in the **sysadmin** fixed server role or the **db_owner** fixed database role. ## See Also [DBCC (Transact-SQL)](../../t-sql/database-console-commands/dbcc-transact-sql.md)