You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns a single row describing the configuration of the job object that manages the SQL Server process, as well as certain resource consumption statistics at the job object level. Returns an empty set if SQL Server is not running in a job object.
26
+
Returns a single row describing the configuration of the job object that manages the SQL Server process, as well as certain resource consumption statistics at the job object level. Returns an empty set if SQL Server is not running in a job object.
27
27
28
-
A job object is a Windows construct that implements CPU, memory, and IO resource governance at the operating system level. For more information about job objects, see [Job Objects](/windows/desktop/ProcThread/job-objects).
28
+
A job object is a Windows construct that implements CPU, memory, and IO resource governance at the operating system level. For more information about job objects, see [Job Objects](/windows/desktop/ProcThread/job-objects).
29
29
30
30
|Columns|Data Type|Description|
31
31
|-------------|---------------|-----------------|
32
32
|cpu_rate|**int**|Specifies the portion of processor cycles that the SQL Server threads can use during each scheduling interval. The value is reported as a percentage of available cycles within a 10000-cycle scheduling interval. For example, the value 100 means that threads can use CPU cores are their full capacity.|
33
-
|cpu_affinity_mask|**bigint**|A bit mask describing which logical processors the SQL Server process can use within the processor group. For example, cpu_affinity_mask 255 (1111 1111 in binary) means that the first eight logical processors can be used.|
33
+
|cpu_affinity_mask|**bigint**|A bit mask describing which logical processors the SQL Server process can use within the processor group. For example, cpu_affinity_mask 255 (1111 1111 in binary) means that the first eight logical processors can be used. <br /><br />This column is provided for backwards compatibility. It does not report the processor group, and the reported value may be incorrect when a processor group contains more than 64 logical processors. Use the `process_physical_affinity` column to determine processor affinity instead.|
34
34
|cpu_affinity_group|**int**|The number of the processor group that is used by SQL Server.|
35
35
|memory_limit_mb|**bigint**|The maximum amount of committed memory, in MB, that all processes in the job object, including SQL Server, can use cumulatively.|
36
36
|process_memory_limit_mb |**bigint**|The maximum amount of committed memory, in MB, that a single process in the job object, such as SQL Server, can use.|
@@ -43,6 +43,7 @@ A job object is a Windows construct that implements CPU, memory, and IO resource
43
43
|read_operation_count |**bigint**|The total number of read IO operations on local disks issued by SQL Server since the job object was created. |
44
44
|peak_process_memory_used_mb|**bigint**|The peak amount of memory, in MB, that a single process in the job object, such as SQL Server, has used since the job object was created.|
45
45
|peak_job_memory_used_mb|**bigint**|The peak amount of memory, in MB, that all processes in the job object have used cumulatively since the job object was created.|
46
+
|process_physical_affinity|**nvarchar(3072)**|Bit masks describing which logical processors the SQL Server process can use in each processor group. The value in this column is formed by one or more value pairs, each enclosed in curly brackets. In each pair, the first value is the processor group number, and the second value is the affinity bit mask for that processor group. For example, the value `{{0,a}{1,2}}` means that the affinity mask for processor group `0` is `a` (`1010` in binary, indicating that processors 2 and 4 are used), and the affinity mask for processor group `1` is `2` (`10` in binary, indicating that processor 2 is used).|
46
47
47
48
## Permissions
48
49
On SQL Database Managed Instance, requires `VIEW SERVER STATE` permission.
0 commit comments