Tuesday, January 06, 2009 Register   Login   
   You Are Here: Resources » SQL Server Blogs      
SQL Bloggers
 SQL Community Portal
  
 Recently Submitted Articles
  
 Recent SQL Clinic Articles
  
 Recent SQL Server Blog Posts
Mar 21

Written by: Cindy Gross
Friday, March 21, 2008 9:37:08 AM

Facts about MAXDOP:

  • MAX DOP is a per query step setting, it does NOT limit the number of CPUs SQL Server will use.
  • MAXDOP query hint overrides sp_configure if hint is lower #.
  • Each query step will use either 1 CPU or MAXDOP (edited 7/22/08 - this is true for 2000, but in 2005 SQL Server can use any number of schedulers between 1 and MAXDOP)

MAXDOP should generally be no more than:

  • Eight for an average OLTP system
  • The number of CPUs assigned to a NUMA node
  • The number of physical processors

More details can be found at:

In an OLTP environment it may be best to set MAXDOP to 1 at the instance level.
Using multiple CPUs per query is only beneficial when there are fewer queries running than CPUs and those queries are CPU intensive.
To set this at the query level add the hint: OPTION (MAXDOP 1). Warning: avoid hints whenever possible!

Copyright ©2008 Cindy Gross

Tags:

  
SQL Server 2000 Downloads
 
SQL Server 2000 Reporting Services Downloads
 
SQL Server 2000 Notification Services SP Downloads
 
SQL Server CE Downloads
 
SQLXML 3.0 Service Pack Downloads
 
SQL Server 2000 JDBC Driver
 
MDAC 2.6 Download
 
SQL Server 2000 Tools Downloads
SQL Server 2005 & SQL Server 2000 Best Practices
·    DMV Stats
 
·    Buffer Cache
·    Input/Output
·    Performance
·    Tempdb
·    Wait Statistics
                    
SQL Server 2000 Best Practices




Cancel   Send