web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Recommended MAXDOP for SQL instance

(0) ShareShare
ReportReport
Posted on by

Hello,

One of our customer is using SQL Server 2008 R2 in association with Dynamic CRM (DCRM) 2011 - Underlying physical server got 60 CPU and there is no other application running on underlying host.

I had reviewed few expensive queries - most of them are running in parallel, with sometime as many threads as 17-24 threads and CXPACKET pops up as prominent wait type. I have read numerous times that MAXDOP should be set to 8 on OLTP server for optimal performance. Do you still recommend setting MAXDOP to 8 on a host with 64 CPU for enhanced performance?  

Got limited exposure to DCRM and never had opportunity to work on such high end server.

Appreciate your insight and help. Thank you.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at
    RE: Recommended MAXDOP for SQL instance

    Here is a guide:

    support.microsoft.com/.../recommendations-and-guidelines-for-the-max-degree-of-parallelism-confi

    MAXDOP should stay at 8 is what Microsoft recommends.

  • Verified answer
    David Jennaway Profile Picture
    14,065 on at
    RE: Recommended MAXDOP for SQL instance

    It depends how much time you want to spend on this. MAXDOP = 8 is a good start, though you could spend time (quite a lot of it), testing alternate values to see if they are better or worse. However, for the testing you need to have a representative workload to get useful numbers.

    A typical CRM system tends more towards OLTP than OLAP, though in reality it is a combination of both. A complication is that users are encouraged to create ad-hoc queries (via advanced find, quick find, charts etc), so you have little control on what potentially costly queries could be running. That said, most ad-hoc queries are not particularly complex (from a data point of view), and are unlikely to need much parallel processing.

    If you have specific complex queries (most commonly reports), then you may want to spend time trying to tune these, but your effort is generally better spent concentrating on the query and index optimisation, rather than server configuration settings like MAXDOP.

    However, if you do want to change the parallelism settings, I'd also look at 'Cost Threshold for Parallelism' - I'd probably start by increasing that to maybe 50, so only the more complex queries are considered for parallelism

  • Community Member Profile Picture
    on at
    RE: Recommended MAXDOP for SQL instance

    Thank you Andreas

  • Community Member Profile Picture
    on at
    RE: Recommended MAXDOP for SQL instance

    Thank you David for taking time to help !!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans