Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Set the MAXDOP setting to 8? Expand / Collapse
Author
Message
Posted Tuesday, November 13, 2012 3:14 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, February 20, 2013 3:41 PM
Points: 11, Visits: 60
We are running a Dynamics AX production on SQL Server 2008 R2, recently one of Microsoft consultants tested our production and suggested to set Max degree of parallelism option to 8, But Microsoft Dynamics AX Best Practice suggests Parallelism to 1! (Planning database configuration for Microsoft Dynamics AX.pdf)

AX database is running on a dedicated server with 2 Physical processors (Xeon E-7) with 8 cores each.
I am confused with these two options. If I set as 1, then Database cannot use full power of multi-processing!

Please suggest best configuration settings for Dynamic AX SQL server 2008 R2 Production.
Post #1384002
Posted Tuesday, November 13, 2012 3:28 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:10 AM
Points: 5,216, Visits: 5,108
What version of AX are you running 2009? 2012? Have you recently done an upgrade? Do you run AX batch processing or any types of AX or database maintenance regulary?



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1384009
Posted Tuesday, November 13, 2012 4:14 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, February 20, 2013 3:41 PM
Points: 11, Visits: 60
We are using AX 2009 with two AOS (Less than 500 users) on SQL Server 2008 R2.

Right now we are only doing AX based Maintenance (Periodic Cleaning, Reindex using AX wizards).

I am planning to create sql server periodic maintenance plans (Index rebuild, DBCC CheckDB, STAT Update etc.).

Suggestions are welcome
Post #1384025
Posted Tuesday, November 13, 2012 4:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:10 AM
Points: 5,216, Visits: 5,108
Then as you are doing regular maintenance 8 will probably be the better option.

If you read just on to the next paragraph it details what MAXDOP to use for upgrades, maintenance etc.

What you could do is set MAXDOP to 1 during the normal operational hours, then set it to 8 in your maintenance window and switch it back to 1 after its completed


The max degree of parallelism option is a setting that affects the entire instance of SQL Server. Microsoft Dynamics AX workloads generally perform better when intra-query parallelism is disabled. However, the upgrade process benefits from parallelism, as do activities that are used exclusively for batch jobs or maintenance. Use the following settings when the system performs maintenance activities or an upgrade:

Before an upgrade to a new release of Microsoft Dynamics AX, or before a large number of maintenance or batch activities, set max degree of parallelism to the smallest of the following values:

8

The number of physical processor cores

The number of physical processor cores per non-uniform memory access (NUMA) node

When the Microsoft Dynamics AX database is used in a production environment, set max degree of parallelism to 1.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1384027
Posted Tuesday, November 13, 2012 7:02 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 6:08 AM
Points: 852, Visits: 365
Best Practice for a Production Environment suggests a value of 1. Just remember that if you change the Max DOP to 8 for maintenance then the plan cache shall be flushed, so be careful if you decide to do this.
Post #1384071
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse