title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
Configure the priority boost (server configuration option) |
Learn about the deprecated priority boost option. See how to use it to set the priority base for SQL Server in the Windows 2008 or Windows Server 2008 R2 scheduler. |
rwestMSFT |
randolphwest |
03/19/2024 |
sql |
configuration |
conceptual |
|
[!INCLUDE SQL Server]
This article describes how to configure the priority boost configuration option in [!INCLUDE ssnoversion] by using [!INCLUDE tsql].
Important
[!INCLUDE ssNoteDepFutureAvoid]
Use the priority boost option to specify whether [!INCLUDE ssNoVersion] should run at a higher scheduling priority than other processes on the same computer. If you set this option to 1
, [!INCLUDE ssNoVersion] runs at a priority base of 13
in the Windows scheduler. The default is 0
, which is a priority base of 7
.
Raising the priority too high might drain resources from essential operating system and network functions, resulting in problems shutting down [!INCLUDE ssNoVersion] or using other operating system tasks on the server. This setting doesn't make the [!INCLUDE ssNoVersion] process run at the highest operating system priority.
You don't need to use priority boost for performance tuning. If you do use priority boost, it can interfere with smooth server functioning under certain conditions, and you should only use it under exceptional circumstances. For example, Microsoft Product Support Services might use priority boost when they investigate a performance issue.
Important
Don't use priority boost in a [!INCLUDE ssNoVersion] failover cluster instance (FCI).
Execute permissions on sp_configure
with no parameters or with only the first parameter are granted to all users by default. To execute sp_configure
with both parameters to change a configuration option or to run the RECONFIGURE
statement, a user must be granted the ALTER SETTINGS
server-level permission. The ALTER SETTINGS
permission is implicitly held by the sysadmin and serveradmin fixed server roles.
The server must be restarted before the setting can take effect.
This example shows how to use sp_configure to enable advanced options, and then set the value of the priority boost
option to 1
.
USE [master];
GO
EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'priority boost', 1;
GO
RECONFIGURE;
GO