Node Configuration

Vishu 1,576 Reputation points
2021-06-11T07:42:12.807+00:00

Experts,

Is there any best practice recommendation for mdop settings. Should it be equal to the number of numa node.

SQL Server | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. AmeliaGu-MSFT 14,011 Reputation points Microsoft External Staff
    2021-06-11T08:37:06.763+00:00

    Hi Vishu-2318,
    The MAXDOP option is related to number of processors and NUMA nodes.
    Starting with SQL Server 2016 (13.x), use the following guidelines when you configure the max degree of parallelism server configuration value:
    104705-image.png

    From SQL Server 2008 through SQL Server 2014 (12.x), use the following guidelines when you configure the max degree of parallelism server configuration value:
    104692-image.png

    Best Regards
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Leon Laude 86,086 Reputation points
    2021-06-11T07:45:16.177+00:00

    Hi @Vishu ,

    Did you have a look at the official Microsoft documentation about this?

    Configure the max degree of parallelism Server Configuration Option
    https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option?view=sql-server-ver15

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  2. Tom Phillips 17,781 Reputation points
    2021-06-11T14:27:15.077+00:00

    I HIGHLY recommend against changing the default settings, unless you are having a problem. For the most part the default configuration, except for "Max server memory" works fine for 99% of workloads.

    0 comments No comments

  3. Erland Sommarskog 128.9K Reputation points MVP Volunteer Moderator
    2021-06-11T22:01:33.477+00:00

    In addition to the other posts, I like to point out that you need to consider the type of workload for the server. For an strict OLTP workload with a lot of concurrent users, you want a lower value for MAXDOP than for a data warehouse where a few data analysts run some occasional, but wild, queries.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.