Skip to content

Latest commit

 

History

History
150 lines (132 loc) · 17.2 KB

File metadata and controls

150 lines (132 loc) · 17.2 KB
title Server Configuration Options (SQL Server) | Microsoft Docs
ms.custom
ms.date 04/13/2017
ms.prod sql
ms.prod_service high-availability
ms.reviewer
ms.technology configuration
ms.topic conceptual
keywords
server configuration (SQL Server)
helpviewer_keywords
surface area configuration [SQL Server], sp_configure
configuration options [SQL Server], when take effect
server management [SQL Server], configuration options
SQL Server Management Studio [SQL Server], servers
servers [SQL Server], configuring
configuration options [SQL Server], setting
options [SQL Server], configuration
RECONFIGURE statement
performance [SQL Server], servers
configuration options [SQL Server]
RECONFIGURE WITH OVERRIDE statement
SQL Server, configuring
sp_configure
stored procedures [SQL Server], configuration options
server configuration [SQL Server]
administering SQL Server, configuration options
ms.assetid 9f38eba6-39b1-4f1d-ba24-ee4f7e2bc969
author MikeRayMSFT
ms.author mikeray
manager craigg

Server Configuration Options (SQL Server)

[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]

You can manage and optimize [!INCLUDEssNoVersion] resources through configuration options by using [!INCLUDEssManStudioFull] or the sp_configure system stored procedure. The most commonly used server configuration options are available through [!INCLUDEssManStudioFull]; all configuration options are accessible through sp_configure. Consider the effects on your system carefully before setting these options. For more information, see View or Change Server Properties (SQL Server).

IMPORTANT!! Advanced options should be changed only by an experienced database administrator or certified [!INCLUDEssNoVersion] technician.

Categories of Configuration Options

Configuration options take effect either:

  • Immediately after setting the option and issuing the RECONFIGURE (or in some cases, RECONFIGURE WITH OVERRIDE) statement. Reconfiguring certain options will invalidate plans in the plan cache, causing new plans to be compiled. For more information, see DBCC FREEPROCCACHE (Transact-SQL).

    -or-

  • After performing the above actions and restarting the instance of [!INCLUDEssNoVersion].

Options that require [!INCLUDEssNoVersion] to restart will initially show the changed value only in the value column. After restart, the new value will appear in both the value column and the value_in_use column.

Some options require a server restart before the new configuration value takes effect. If you set the new value and run sp_configure before restarting the server, the new value appears in the configuration options value column, but not in the value_in_use column. After restarting the server, the new value appears in the value_in_use column.

Self-configuring options are those that [!INCLUDEssNoVersion] adjusts according to the needs of the system. In most cases, this eliminates the need for setting the values manually. Examples include the min server memory and max server memory options and the user connections option.

Configuration Options Table

The following table lists all available configuration options, the range of possible settings, and default values. Configuration options are marked with letter codes as follows:

See also

sp_configure (Transact-SQL)
RECONFIGURE (Transact-SQL)
DBCC FREEPROCCACHE (Transact-SQL)