You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Configure the priority boost (server configuration option)
3
-
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.
4
-
author: rwestMSFT
5
-
ms.author: randolphwest
6
-
ms.date: 01/23/2023
7
-
ms.service: sql
8
-
ms.subservice: configuration
9
-
ms.topic: conceptual
10
-
helpviewer_keywords:
11
-
- "priority boost option"
12
-
---
13
-
# Configure the priority boost (server configuration option)
This article describes how to configure the **priority boost** configuration option in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[tsql](../../includes/tsql-md.md)].
Use the **priority boost** option to specify whether [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] should run at a higher scheduling priority than other processes on the same computer. If you set this option to 1, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] runs at a priority base of 13 in the Windows scheduler. The default is 0, which is a priority base of 7.
23
-
24
-
## Limitations and restrictions
25
-
26
-
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. This setting does not make the SQL Server process run at the highest operating system priority.
27
-
28
-
You do not 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.
29
-
30
-
> [!IMPORTANT]
31
-
Don't use **priority boost** in a SQL Server failover cluster.
32
-
33
-
## Permissions
34
-
35
-
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.
36
-
37
-
## Remarks
38
-
39
-
The server must be restarted before the setting can take effect.
40
-
41
-
## Use Transact-SQL
42
-
43
-
This example shows how to use [sp_configure](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md) to enable advanced options, and then set the value of the `priority boost` option to `1`.
title: Configure the priority boost (server configuration option)
3
+
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.
4
+
author: rwestMSFT
5
+
ms.author: randolphwest
6
+
ms.date: 03/19/2024
7
+
ms.service: sql
8
+
ms.subservice: configuration
9
+
ms.topic: conceptual
10
+
helpviewer_keywords:
11
+
- "priority boost option"
12
+
---
13
+
# Configure the priority boost (server configuration option)
This article describes how to configure the **priority boost** configuration option in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[tsql](../../includes/tsql-md.md)].
Use the **priority boost** option to specify whether [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] should run at a higher scheduling priority than other processes on the same computer. If you set this option to `1`, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] runs at a priority base of `13` in the Windows scheduler. The default is `0`, which is a priority base of `7`.
23
+
24
+
## Limitations
25
+
26
+
Raising the priority too high might drain resources from essential operating system and network functions, resulting in problems shutting down [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or using other operating system tasks on the server. This setting doesn't make the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] process run at the highest operating system priority.
27
+
28
+
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.
29
+
30
+
> [!IMPORTANT]
31
+
> Don't use **priority boost** in a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] failover cluster instance (FCI).
32
+
33
+
## Permissions
34
+
35
+
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.
36
+
37
+
## Remarks
38
+
39
+
The server must be restarted before the setting can take effect.
40
+
41
+
## Use Transact-SQL
42
+
43
+
This example shows how to use [sp_configure](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md) to enable advanced options, and then set the value of the `priority boost` option to `1`.
The visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission.
8
+
The visibility of the metadata in catalog views is limited to securables that a user either owns, or on which the user was granted some permission.
|dateformat|**nchar(3)**|Date order, for example, DMY.|
31
-
|datefirst|**tinyint**|First day of the week: 1 for Monday, 2 for Tuesday, and so on through 7 for Sunday.|
32
-
|upgrade|**int**|Reserved for system use.|
33
-
|name|**sysname**|Official language name, for example, Français.|
34
-
|alias|**sysname**|Alternative language name, for example, French.|
35
-
|months|**nvarchar(372)**|Comma-separated list of full-length month names in order from January through December, with each name having up to 20 characters.|
36
-
|shortmonths|**nvarchar(132)**|Comma-separated list of short-month names in order from January through December, with each name having up to 9 characters.|
37
-
|days|**nvarchar(217)**|Comma-separated list of day names in order from Monday through Sunday, with each name having up to 30 characters.|
38
-
|lcid|**int**|[!INCLUDE[msCoName](../../includes/msconame-md.md)] Windows locale ID for the language.|
39
-
|msglangid|**smallint**|[!INCLUDE[ssDE](../../includes/ssde-md.md)] message group ID.|
40
-
41
-
The [!INCLUDE[ssDE](../../includes/ssde-md.md)] contains the following installed languages.
42
-
43
-
|Name in English|Windows LCID|[!INCLUDE[ssDE](../../includes/ssde-md.md)] message group ID|
[Mapping System Tables to System Views (Transact-SQL)](../../relational-databases/system-tables/mapping-system-tables-to-system-views-transact-sql.md)
82
-
83
-
26
+
Contains one row for each language present in the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
27
+
28
+
|Column name|Data type|Description|
29
+
|---|---|---|
30
+
|`langid`|**smallint**|Unique language ID.|
31
+
|`dateformat`|**nchar(3)**|Date order, for example, `DMY`. |
32
+
|`datefirst`|**tinyint**|First day of the week: `1` for Monday, `2` for Tuesday, and so on, through `7` for Sunday.|
33
+
|`upgrade`|**int**|Reserved for system use.|
34
+
|`name`|**sysname**|Official language name, for example, `Français`. |
35
+
|`alias`|**sysname**|Alternative language name, for example, `French`. |
36
+
|`months`|**nvarchar(372)**|Comma-separated list of full-length month names in order from January through December, with each name having up to 20 characters.|
37
+
|`shortmonths`|**nvarchar(132)**|Comma-separated list of short-month names in order from January through December, with each name having up to nine characters.|
38
+
|`days`|**nvarchar(217)**|Comma-separated list of day names in order from Monday through Sunday, with each name having up to 30 characters.|
39
+
|`lcid`|**int**|[!INCLUDE[msCoName](../../includes/msconame-md.md)] Windows language code ID (LCID) for the locale. |
40
+
|`msglangid`|**smallint**|[!INCLUDE[ssDE](../../includes/ssde-md.md)] message group ID.|
41
+
42
+
The [!INCLUDE[ssDE](../../includes/ssde-md.md)] contains the following installed languages.
43
+
44
+
|Name in English|Windows LCID|[!INCLUDE[ssDE](../../includes/ssde-md.md)] message group ID|
You can view the foreign key attributes of a relationship in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)].
20
-
21
-
### <aname="Permissions"></a> Permissions
22
-
[!INCLUDE[ssCatViewPerm](../../includes/sscatviewperm-md.md)] For more information, see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
23
-
24
-
## <aname="SSMSProcedure"></a> Using SQL Server Management Studio
25
-
26
-
#### To view the foreign key attributes of a relationship in a specific table
27
-
28
-
1. Open the Table Designer for the table containing the foreign key you want to view, right-click in the Table Designer, and choose **Relationships** from the shortcut menu.
29
-
30
-
2. In the **Foreign Key Relationships** dialog box, select the relationship with properties you want to view.
31
-
32
-
If the foreign key columns are related to a primary key, the primary key columns are identified in **Table Designer** by a primary key symbol in the row selector.
33
-
34
-
<aname="TsqlExample"></a>
35
-
## <aname="TsqlProcedure"></a> Using Transact-SQL
36
-
37
-
#### To view the foreign key attributes of a relationship in a specific table
38
-
39
-
1. In **Object Explorer**, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)].
40
-
41
-
2. On the Standard bar, select **New Query**.
42
-
43
-
3. Copy and paste the following example into the query window and select **Execute**. The example returns all foreign keys and their properties for the table `HumanResources.Employee` in the sample database.
44
-
45
-
```sql
46
-
USE AdventureWorks2022;
47
-
GO
48
-
SELECT
49
-
f.nameAS foreign_key_name
50
-
,OBJECT_NAME(f.parent_object_id) AS table_name
51
-
,COL_NAME(fc.parent_object_id, fc.parent_column_id) AS constraint_column_name
52
-
,OBJECT_NAME (f.referenced_object_id) AS referenced_object
53
-
,COL_NAME(fc.referenced_object_id, fc.referenced_column_id) AS referenced_column_name
For more information, see [sys.foreign_keys (Transact-SQL)](../../relational-databases/system-catalog-views/sys-foreign-keys-transact-sql.md) and [sys.foreign_key_columns (Transact-SQL)](../../relational-databases/system-catalog-views/sys-foreign-key-columns-transact-sql.md).
64
-
65
-
## Next steps
21
+
You can view the foreign key attributes of a relationship in [!INCLUDE [ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE [ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE [tsql](../../includes/tsql-md.md)].
22
+
23
+
### Permissions
24
+
25
+
[!INCLUDE [ssCatViewPerm](../../includes/sscatviewperm-md.md)] For more information, see [Metadata Visibility Configuration](../security/metadata-visibility-configuration.md).
26
+
27
+
## <aid="SSMSProcedure"></a> Use SQL Server Management Studio
28
+
29
+
1. Open the Table Designer for the table containing the foreign key you want to view, right-click in the Table Designer, and choose **Relationships** from the shortcut menu.
30
+
31
+
1. In the **Foreign Key Relationships** dialog box, select the relationship with properties you want to view.
32
+
33
+
If the foreign key columns are related to a primary key, the primary key columns are identified in **Table Designer** by a primary key symbol in the row selector.
34
+
35
+
## <aid="TsqlExample"></a> Use Transact-SQL
36
+
37
+
1. In **Object Explorer**, connect to an instance of [!INCLUDE [ssDE](../../includes/ssde-md.md)].
38
+
39
+
1. On the Standard bar, select **New Query**.
40
+
41
+
1. Copy and paste the following example into the query window and select **Execute**. The example returns all foreign keys and their properties for the table `HumanResources.Employee` in the sample database.
42
+
43
+
```sql
44
+
USE AdventureWorks2022;
45
+
GO
46
+
47
+
SELECTf.nameAS foreign_key_name,
48
+
OBJECT_NAME(f.parent_object_id) AS table_name,
49
+
COL_NAME(fc.parent_object_id, fc.parent_column_id) AS constraint_column_name,
50
+
OBJECT_NAME(f.referenced_object_id) AS referenced_object,
51
+
COL_NAME(fc.referenced_object_id, fc.referenced_column_id) AS referenced_column_name,
For more information, see [sys.foreign_keys](../system-catalog-views/sys-foreign-keys-transact-sql.md) and [sys.foreign_key_columns](../system-catalog-views/sys-foreign-key-columns-transact-sql.md).
0 commit comments