Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 2.05 KB

set-the-max-degree-of-parallelism-option-for-optimal-performance.md

File metadata and controls

29 lines (22 loc) · 2.05 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Max degree of parallelism & Policy-Based Management
Describes configuring a policy to verify the value of max degree of parallelism for Policy-Based Management for SQL Server.
VanMSFT
vanto
randolphwest
12/15/2023
sql
security
reference
Best Practices [Database Engine]

Set the max degree of parallelism option for optimal performance

[!INCLUDE SQL Server]

This rule determines whether the max degree of parallelism (MAXDOP) option for a value greater than 8. Setting this option to a larger value often causes unwanted resource consumption and performance degradation.

Best practice recommendations

The max degree of parallelism (MAXDOP) configuration option controls the number of processors that are used for the execution of a query in a parallel plan. This option determines the number of threads that are used for the query plan operators that perform the work in parallel. Depending on whether SQL Server is set up on a symmetric multiprocessing (SMP) computer, a non-uniform memory access (NUMA) computer, or simultaneous multithreading (SMT) enabled processors, you have to configure the max degree of parallelism option appropriately.

Recommendations to configure MAXDOP depend on the version of [!INCLUDE ssNoVersion] being used. For version specific guidelines, see Configure the max degree of parallelism Server Configuration Option, and configure the policy to verify the value of max degree of parallelism accordingly.

Related content