sys.sysperfinfo (Transact-SQL)


Contains a Microsoft SQL Server Database Engine representation of the internal performance counters that can be displayed through the Windows System Monitor.

System_CAPS_ICON_important.jpg Important

This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Applies to: SQL Server (SQL Server 2008 through current version).
Column nameData typeDescription
object_namenchar(128)Performance object name, such as SQLServer:LockManager or SQLServer:BufferManager.
counter_namenchar(128)Name of the performance counter within the object, such as Page Requests or Locks Requested.
instance_namenchar(128)Named instance of the counter. For example, there are counters maintained for each type of lock, such as Table, Page, Key, and so on. The instance name distinguishes between similar counters.
cntr_valuebigintActual counter value. Frequently, this will be a level or monotonically increasing counter that counts occurrences of the instance event.
cntr_typeintType of counter as defined by the Windows performance architecture.

Mapping System Tables to System Views (Transact-SQL)
Compatibility Views (Transact-SQL)

Community Additions