Sdílet prostřednictvím


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.

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 SQL Server 2000 System Tables to SQL Server 2005 System Views. 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.

Column name

Data type

Description

object_name

nchar(128)

Performance object name, such as SQL Server: Lock Manager or SQL Server: Buffer Manager.

counter_name

nchar(128)

Name of the performance counter within the object, such as Page Requests or Locks Requested.

instance_name

nchar(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_value

bigint

Actual counter value. Frequently, this will be a level or monotonically increasing counter that counts occurrences of the instance event.

cntr_type

int

Type of counter as defined by the Windows performance architecture.

See Also

Reference

Mapping System Tables to System Views (Transact-SQL)

Compatibility Views (Transact-SQL)