| title | Configure the priority boost Server Configuration Option | |
|---|---|---|
| description | 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. | |
| author | rwestMSFT | |
| ms.author | randolphwest | |
| ms.date | 08/12/2022 | |
| ms.service | sql | |
| ms.subservice | configuration | |
| ms.topic | conceptual | |
| helpviewer_keywords |
|
[!INCLUDE SQL Server]
This article describes how to configure the priority boost configuration option in [!INCLUDEssnoversion] by using [!INCLUDEtsql].
Important
[!INCLUDEssNoteDepFutureAvoid]
Use the priority boost option to specify whether [!INCLUDEssNoVersion] should run at a higher scheduling priority than other processes on the same [!INCLUDE winserver2008-md] or [!INCLUDE winserver2008r2-md] computer. If you set this option to 1, [!INCLUDEssNoVersion] runs at a priority base of 13 in the [!INCLUDE winserver2008-md] or [!INCLUDE winserver2008r2-md] scheduler. The default is 0, which is a priority base of 7.
Raising the priority too high may drain resources from essential operating system and network functions, resulting in problems shutting down SQL Server or using other operating system tasks on the server.
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