Class ResourceGovernorSchema.ResourcePool
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.resource_governor_resource_pools (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
Returns the stored resource pool configuration in SQL Server. Each row of the view determines the configuration of a pool.
[Table(Schema = "sys", Name = "resource_governor_resource_pools", IsView = true)]
public class ResourceGovernorSchema.ResourcePool
- Inheritance
-
ResourceGovernorSchema.ResourcePool
- Extension Methods
Properties
CapCpuPercent
Applies to: SQL Server 2012 (11.x) and later.
Hard cap on the CPU bandwidth that all requests in the resource pool will receive. Limits the maximum CPU bandwidth to the specified level. The allowed range for value is from 1 through 100.
[Column("cap_cpu_percent")]
[NotNull]
public int CapCpuPercent { get; set; }
Property Value
MaxCpuPercent
Maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Is not nullable.
[Column("max_cpu_percent")]
[NotNull]
public int MaxCpuPercent { get; set; }
Property Value
MaxIopsPerVolume
Applies to: SQL Server 2014 (12.x) and later.
The maximum I/O operations per second (IOPS) per volume setting for this pool. 0 = unlimited. Cannot be null.
[Column("max_iops_per_volume")]
[NotNull]
public int MaxIopsPerVolume { get; set; }
Property Value
MaxMemoryPercent
Percentage of total server memory that can be used by requests in this resource pool. Is not nullable. The effective maximum depends on the pool minimums. For example, max_memory_percent can be set to 100, but the effective maximum is lower.
[Column("max_memory_percent")]
[NotNull]
public int MaxMemoryPercent { get; set; }
Property Value
MinCpuPercent
Guaranteed average CPU bandwidth for all requests in the resource pool when there is CPU contention. Is not nullable.
[Column("min_cpu_percent")]
[NotNull]
public int MinCpuPercent { get; set; }
Property Value
MinIopsPerVolume
Applies to: SQL Server 2014 (12.x) and later.
The minimum I/O operations per second (IOPS) per volume setting for this pool. 0 = no reservation. Cannot be null.
[Column("min_iops_per_volume")]
[NotNull]
public int MinIopsPerVolume { get; set; }
Property Value
MinMemoryPercent
Guaranteed amount of memory for all requests in the resource pool. This is not shared with other resource pools. Is not nullable.
[Column("min_memory_percent")]
[NotNull]
public int MinMemoryPercent { get; set; }
Property Value
Name
Name of the resource pool. Is not nullable.
[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
PoolID
Unique ID of the resource pool. Is not nullable.
[Column("pool_id")]
[NotNull]
public int PoolID { get; set; }