Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

SQL Server configuration changes may not be installed because they have not been reconfigured or SQL Server has not been restarted


View products that this article applies to.

Symptoms

A SQL Server configuration change may not be installed because it was not reconfigured or the SQL Server engine was not restarted.

↑ Back to the top


Cause

Any SQL Server configuration change will not be installed unless the T-SQL RECONFIGURE command is first executed. Any SQL Server configuration option that is not dynamic will require a restart of the SQL Server engine to be installed.

↑ Back to the top


Resolution

If you don't see the effect of a configuration change, it may not be installed. Check to see that therun_value of the configuration option has changed. If it has not changed, then run the RECONFIGURE command. If the configuration option is not dynamic, then restart the SQL Server engine.

↑ Back to the top


More Information

The sys.configurations catalog view can be used to determine the config_value (the value column), the run_value (the value_in_use column), and whether the configuration option is dynamic (does not require a server engine restart or the is_dynamic column).

NOTE: The config_value in the result set of sp_configure is equivalent to the sys.configurations.value column. The run_value is equivalent to the sys.configurations.value_in_use column.

The following query can be used to determine if any configured values have not been installed:
select * from sys.configurations where value != value_in_use

If the value equals the change for the configuration option you made but the value_in_use is not the same, either the RECONFIGURE command was not run or has failed, or the server engine must be restarted.

There are two configuration options where the value and value_in_use may not be the same and this is expected behavior:

  • "max server memory (MB)" - The default configured value of 0 will show up as value_in_use = 2147483647
  • "min server memory (MB)" - The default configured value of 0 may show up as value_in_use = 8 (32bit) or 16 (64bit). In some cases, the value_in_use will be 0. In this situation, the "true" value_in_use is 8(32bit) or 16(64bit)
The is_dynamic column can be used to determine if the configuration option requires a restart. is_dynamic=1 means that when the RECONFIGURE commnad is executed, the new value will take effect "immediately" (in some cases the server engine may not evaluate the new value immediately but will do so in the normal course of its execution). is_dynamic=0 means the the changed configuration value will not take effect until the server is restarted even though the RECONFIGURE command was executed.

For a configuration option that is not dynamic there is no way to tell if the RECONFIGURE command has been run to perform the first step of installing the configuration change. Before you restart SQL Server to install a configuration change, run the RECONFIGURE command to ensure all configuration changes will take effect after a SQL Server restart.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2523164
Revision : 1
Created on : 1/7/2017
Published on : 3/17/2011
Exists online : False
Views : 518