Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sys.dm_resource_governor_configuration (Transact-SQL)

sys.dm_resource_governor_configuration (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

Returns a row that contains the current in-memory configuration state of Resource Governor.

Applies to: SQL Server (SQL Server 2008 through current version).

Column name

Data type

Description

classifier_function_id

int

The ID of the classifier function that is currently used by Resource Governor. Returns a value of 0 if no function is being used. Is not nullable.

System_CAPS_noteNote

This function is used to classify new requests and uses rules to route these requests to the appropriate workload group. For more information, see Resource Governor.

is_reconfiguration_pending

bit

Indicates whether or not changes to a group or pool were made with the ALTER RESOURCE GOVERNOR RECONFIGURE statement but have not been applied to the in-memory configuration. The value returned is one of:

  • 0 - A reconfiguration statement is not required.

  • 1 - A reconfiguration statement or server restart is required in order for pending configuration changes to be applied.

System_CAPS_noteNote

The value returned is always 0 when Resource Governor is disabled.

Is not nullable.

max_outstanding_io_per_volume

int

The maximum number of outstanding I/O per volume.

Applies to: SQL Server 2014 through SQL Server 2016.

This dynamic management view shows the in-memory configuration. To see the stored configuration metadata, use the corresponding catalog view.

The following example shows how to get and compare the stored metadata values and the in-memory values of the Resource Governor configuration.

USE master;
go
-- Get the stored metadata.
SELECT 
object_schema_name(classifier_function_id) AS 'Classifier UDF schema in metadata', 
object_name(classifier_function_id) AS 'Classifier UDF name in metadata'
FROM 
sys.resource_governor_configuration;
go
-- Get the in-memory configuration.
SELECT 
object_schema_name(classifier_function_id) AS 'Active classifier UDF schema', 
object_name(classifier_function_id) AS 'Active classifier UDF name'
FROM 
sys.dm_resource_governor_configuration;
go

Requires VIEW SERVER STATE permission.

Community Additions

ADD
Show:
© 2015 Microsoft