Resource Governor error messages cover all the actions related to configuring and using Resource Governor.
The following table provides examples of Resource Governor error messages and provides guidance on how to resolve the problem described in the error message.
|
Error number
|
Error message
|
Resolution
|
|---|
|
8645
|
A timeout occurred while waiting for memory resources to execute the query in resource pool 'myTestPool' (257). Rerun the query.
|
Either configure the timeout value to be higher or reduce the query load to the server.
|
|
8651
|
Could not perform the operation because the requested memory grant was not available in resource pool 'myTestPool' (257). Rerun the query, reduce the query load, or check Resource Governor configuration setting.
|
Rerun the query at later time. Reduce the query load on the server. Get the administrator to check Resource Governor configuration setting.
|
|
8657
|
Could not get the memory grant of 1024 KB because it exceeds the maximum configuration limit in workload group 'myTestGroup' (267) and resource pool 'myTestPool' (257). Contact the server administrator to increase the memory usage limit.
|
Rewrite the query to reduce memory consuming operations such as sort and hash join. Ask the system administrator to allow a higher memory usage limit.
An administrator can adjust one or both of the following parameters:
-
max_memory_percent on resource pools, which sets the maximum physical memory grant space for all queries.
-
request_max_memory_grant_percent on workload groups, which sets the per-query-limit.
An administrator can get the actual physical limit from the max_target_memory_kb column from sys.dm_exec_query_resource_semaphores.
The per-query-limit can be calculated by max_target_memory_kb * request_max_memory_grant_percent.
Note:
The administrator needs to make sure the required memory stated in the error message is less than the per-query-limit calculated above. However, it should be noted that increasing request_max_memory_grant_percent has a side effect of reducing concurrency of large queries. For example, users can expect to run three large queries with the default 25 percent setting, but only two large queries with a 40 percent setting.
|
|
10900
|
Failed to configure Resource Governor during startup. Check SQL Server error log for specific error messages or check the consistency of master database by running DBCC CHECKCATALOG('master').
|
Try running "DBCC CHECKCATALOG('master')".
|
|
10901
|
User does not have permission to alter the Resource Governor configuration.
|
Grant the permission that would allow modification of the Resource Governor configuration and try again.
|
|
10902
|
User-defined function 'dbo.rgclassifier_v1' does not exist in master database, or the user does not have permission to access it.
|
Create a classifier user-defined function (UDF) in master or grant the required permissions on the existing classifier UDF.
|
|
10903
|
The specified schema name 'dbo' for classifier user-defined function either does not exist, or the user does not have permission to use it.
|
Try another schema name or obtain the correct permissions for this schema.
|
|
10904
|
Resource Governor configuration failed. There are active sessions in workload groups being dropped or moved to different resource pools. Disconnect all active sessions in the affected workload groups and try again.
|
Disconnect all active sessions in the affected group(s) and try again.
Note:
This release of Resource Governor does not allow moving groups between pools when there are open sessions in them.
|
|
10905
|
Could not complete Resource Governor configuration because there is not enough memory. Reduce the server load or try the operation on a dedicated administrator connection.
|
Reduce the load on the server or try a configure operation on a Dedicated Administrator Connection.
|
|
10906
|
The object 'dbo'.'rgclassifier_v1' is not a valid Resource Governor classifier user-defined function. A valid classifier user-defined function must be schema-bound, return sysname, and have no parameters.
|
Provide a valid classifier UDF. A valid classifier UDF must:
-
Return sysname.
-
Have no parameters.
-
Be created with the SCHEMABINDING option.
|
|
10907
|
Attribute 'MIN_CPU_PERCENT' with value of 50 is greater than attribute 'MAX_CPU_PERCENT' with value of 40.
|
Provide a minimum value that is lesser than or equal to the maximum value.
|
|
10908
|
Attribute 'MAX_MEMORY_PERCENT' with a value of 40 is less than attribute 'MIN_MEMORY_PERCENT' with a value of 60.
|
Provide a maximum value that is greater than or equal to the minimum attribute value.
|
|
10909
|
The resource pool cannot be created. The maximum number of resource pools cannot exceed current limit of 20, including predefined resource pools.
|
Drop resource pools that are not needed.
|
|
10910
|
The operation could not be completed. The specified 'MIN_CPU_PERCENT' value, 25, causes the sum of minimums on all resource pools to exceed 100 percent. Reduce the value or modify other resource pools so that the sum is less than 100.
|
Reduce the value for MIN_CPU_PERCENT.
|
|
10911
|
Requested operation cannot be performed because the resource pool 'myTestPool2' does not exist.
|
Query the sys.resource_governor_resource_pools catalog view to see what resource pools are currently defined. Choose an existing pool or create a new pool.
|
|
10912
|
The operation could not be completed. Dropping predefined workload group is not allowed.
|
Choose a user-created workload group to drop.
|
|
10913
|
Users are not allowed to delete the workload group 'internal' in the 'internal' resource pool.
|
Create the workload group in a user-created pool or the default pool.
|
|
10914
|
The name of the workload group '#mygroup' cannot begin with # of ##.
|
Do not use # or ## when creating a group or pool.
|
|
10915
|
The operation could not be completed. Altering 'internal' workload group is not allowed.
|
Choose a user-created pool or group to alter.
Note Changing the configuration of the default group or resource pool is allowed.
|
|
10916
|
Cannot drop resource pool 'myTestPool' because it contains workload group 'myTestGroup'. Drop or remove all workload groups using this resource pool before dropping it.
|
Drop or move out all the workload groups that use this pool, and then drop the pool.
|
|
10917
|
ALTER WORKLOAD GROUP failed. Either a 'WITH' or 'USING' clause must be specified.
|
Use either the 'WITH' or the 'USING' clause in the ALTER WORKLOAD GROUP statement.
|
|
10918
|
Cannot create resource pool 'myTestPool' because it already exists.
|
Choose a different resource pool name.
|
|
10919
|
An error occurred while reading the Resource Governor configuration from master database. Check the integrity of master database or contact the system administrator.
|
Try running "DBCC CHECKCATALOG('master')".
|
|
10920
|
Cannot drop user-defined function 'dbo.myclassifer'. It is being used as a Resource Governor classifier.
|
None.
|
|
10921
|
The 'default' workload group cannot be moved out of 'default' resource pool.
|
Not applicable.
|
|
10981
|
Resource Governor reconfiguration succeeded.
|
This message is written to the SQL Server event log.
|
|
10982
|
Failed to run Resource Governor classifier user-defined function. See previous errors in SQL Server error log from session ID 58 for details. Classifier elapsed time: 800 ms.
|
This message is written to the SQL Server error log.
Note Prior messages in the SQL Server error log with the same server process identifier (SPID) may provide specific failure reasons. A long-running classifier may cause user login timeout. Check to see if the classifier elapsed time exceeds client login timeout.
|
|
10983
|
Resource Governor reconfiguration was canceled by user.
|
Not applicable.
|
|
10984
|
Resource Governor reconfiguration failed.
|
Not applicable.
|