Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
 sys.resource_governor_configuration...

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SQL Server 2008 Books Online (June 2009)
sys.resource_governor_configuration (Transact-SQL)

Returns the stored Resource Governor state.

Column name Data type Description

classifier_function_id

int

The ID of the classifier function as it is stored in the metadata. Is not nullable.

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

is_enabled

bit

Indicates the current state of the Resource Governor:

  • 0 - Resource Governor is not enabled.
  • 1 - Resource Governor is enabled.

Is not nullable.

The catalog view displays the Resource Governor configuration as stored in metadata. To see the in-memory configuration use the corresponding dynamic management 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
GP

Requires VIEW ANY DEFINITION permission to view contents, requires CONTROL SERVER permission to change contents.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker