Table of Contents

Class CompatibilitySchema.PerfInfo

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.sysperfinfo (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

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 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.


See sys.sysperfinfo.

[Table(Schema = "sys", Name = "sysperfinfo", IsView = true)]
public class CompatibilitySchema.PerfInfo
Inheritance
CompatibilitySchema.PerfInfo
Extension Methods

Properties

CntrType

Type of counter as defined by the Windows performance architecture.

[Column("cntr_type")]
[NotNull]
public int CntrType { get; set; }

Property Value

int

CntrValue

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

[Column("cntr_value")]
[NotNull]
public long CntrValue { get; set; }

Property Value

long

CounterName

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

[Column("counter_name")]
[NotNull]
public string CounterName { get; set; }

Property Value

string

InstanceName

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.

[Column("instance_name")]
[Nullable]
public string? InstanceName { get; set; }

Property Value

string

ObjectName

Performance object name, such as SQLServer:LockManager or SQLServer:BufferManager.

[Column("object_name")]
[NotNull]
public string ObjectName { get; set; }

Property Value

string