Peristiwa
31 Mac, 11 PTG - 2 Apr, 11 PTG
Acara pembelajaran SQL, Fabric dan Power BI terbesar. 31 Mac - 2 April. Gunakan kod FABINSIDER untuk menjimatkan $400.
Daftar hari iniPelayar ini tidak lagi disokong.
Naik taraf kepada Microsoft Edge untuk memanfaatkan ciri, kemas kini keselamatan dan sokongan teknikal yang terkini.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Displays information in a table format about the procedure cache.
Transact-SQL syntax conventions
DBCC PROCCACHE [ WITH NO_INFOMSGS ]
Allows for options to be specified.
Suppresses all informational messages that have severity levels 0 through 10.
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:
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. |
Requires membership in the sysadmin fixed server role or the db_owner fixed database role.
Peristiwa
31 Mac, 11 PTG - 2 Apr, 11 PTG
Acara pembelajaran SQL, Fabric dan Power BI terbesar. 31 Mac - 2 April. Gunakan kod FABINSIDER untuk menjimatkan $400.
Daftar hari ini