<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; MAXDOP Settings to Limit Query to Run on Specific CPU</title>
	<atom:link href="http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #020 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-438059</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #020 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 16 Mar 2013 01:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-438059</guid>
		<description><![CDATA[[...] MAXDOP Settings to Limit Query to Run on Specific CPU This is very simple and known tip. Query Hint MAXDOP – Maximum Degree Of Parallelism can be set to restrict query to run on a certain CPU. Please note that this query cannot restrict or dictate which CPU to be used, but for sure, it restricts the usage of number of CPUs in a single batch. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] MAXDOP Settings to Limit Query to Run on Specific CPU This is very simple and known tip. Query Hint MAXDOP – Maximum Degree Of Parallelism can be set to restrict query to run on a certain CPU. Please note that this query cannot restrict or dictate which CPU to be used, but for sure, it restricts the usage of number of CPUs in a single batch. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Shafiq</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-432788</link>
		<dc:creator><![CDATA[Muhammad Shafiq]]></dc:creator>
		<pubDate>Wed, 06 Mar 2013 11:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-432788</guid>
		<description><![CDATA[very nice script really i enjoy and find the fragmented indexes of all database.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>very nice script really i enjoy and find the fragmented indexes of all database.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh K Singh</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-418502</link>
		<dc:creator><![CDATA[Rajesh K Singh]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 08:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-418502</guid>
		<description><![CDATA[I faced issue while processing OLAP database. All were working fine till I changed data source view to point to a database view where I have 2 large tables joined using inner join. When I process database with default MaxDop of 0, processing fails with parallelism error however setting MaxDop to 1 fix the issue. Not sure what is the right approach in such cases.]]></description>
		<content:encoded><![CDATA[<p>I faced issue while processing OLAP database. All were working fine till I changed data source view to point to a database view where I have 2 large tables joined using inner join. When I process database with default MaxDop of 0, processing fails with parallelism error however setting MaxDop to 1 fix the issue. Not sure what is the right approach in such cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TravisDBA</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-355631</link>
		<dc:creator><![CDATA[TravisDBA]]></dc:creator>
		<pubDate>Wed, 03 Oct 2012 20:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-355631</guid>
		<description><![CDATA[i use it specifically when I am checking Index Fragmentation on a very larg database. Here is an example query:

SELECT
      db.name AS databaseName
    , object_name(ps.OBJECT_ID, ps.database_id)  AS objectName
    , ps.index_id AS indexID
    , ps.partition_number AS partitionNumber
    , ps.avg_fragmentation_in_percent AS fragmentation
    , ps.page_count
FROM sys.databases db
  INNER JOIN sys.dm_db_index_physical_stats (NULL, NULL, NULL , NULL, N&#039;Limited&#039;) ps
      ON db.database_id = ps.database_id
WHERE ps.index_id &gt; 0 
   AND ps.page_count &gt; 100 
   AND ps.avg_fragmentation_in_percent &gt; 30
OPTION (MaxDop 1);]]></description>
		<content:encoded><![CDATA[<p>i use it specifically when I am checking Index Fragmentation on a very larg database. Here is an example query:</p>
<p>SELECT<br />
      db.name AS databaseName<br />
    , object_name(ps.OBJECT_ID, ps.database_id)  AS objectName<br />
    , ps.index_id AS indexID<br />
    , ps.partition_number AS partitionNumber<br />
    , ps.avg_fragmentation_in_percent AS fragmentation<br />
    , ps.page_count<br />
FROM sys.databases db<br />
  INNER JOIN sys.dm_db_index_physical_stats (NULL, NULL, NULL , NULL, N&#8217;Limited&#8217;) ps<br />
      ON db.database_id = ps.database_id<br />
WHERE ps.index_id &gt; 0<br />
   AND ps.page_count &gt; 100<br />
   AND ps.avg_fragmentation_in_percent &gt; 30<br />
OPTION (MaxDop 1);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-259793</link>
		<dc:creator><![CDATA[Allen]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 17:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-259793</guid>
		<description><![CDATA[Actually Jeff, you are probably the one that is developmentally challenged.  First, I&#039;ve administered plenty of production servers were it was left at the default and they performed just fine.  In data warehousing environments, you often times want to take advantage of parallelism so you leave it at 0.  Secondly, sometimes it makes more sense to adjust the Cost Threshold for Parallelism so your system can find a nice balance between using and not using parallelism.  Monitor your wait types and adjust accordingly.]]></description>
		<content:encoded><![CDATA[<p>Actually Jeff, you are probably the one that is developmentally challenged.  First, I&#8217;ve administered plenty of production servers were it was left at the default and they performed just fine.  In data warehousing environments, you often times want to take advantage of parallelism so you leave it at 0.  Secondly, sometimes it makes more sense to adjust the Cost Threshold for Parallelism so your system can find a nice balance between using and not using parallelism.  Monitor your wait types and adjust accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-259781</link>
		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 16:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-259781</guid>
		<description><![CDATA[People that leave maxdop at 0 on a prod box are retarded.]]></description>
		<content:encoded><![CDATA[<p>People that leave maxdop at 0 on a prod box are retarded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen McGuire</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-218101</link>
		<dc:creator><![CDATA[Allen McGuire]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 02:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-218101</guid>
		<description><![CDATA[@Ringo - that was not a SPID blocking itself; rather it was threads waiting on each other to complete before having the results are reassembled.  So basically your query/statement is only as fast as the slowest thread.  If the optimizer lost its mind because you have outdated statistics or fragmented tables/indexes, then you may find issues with parallelism.]]></description>
		<content:encoded><![CDATA[<p>@Ringo &#8211; that was not a SPID blocking itself; rather it was threads waiting on each other to complete before having the results are reassembled.  So basically your query/statement is only as fast as the slowest thread.  If the optimizer lost its mind because you have outdated statistics or fragmented tables/indexes, then you may find issues with parallelism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RingoSchplingo</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-180846</link>
		<dc:creator><![CDATA[RingoSchplingo]]></dc:creator>
		<pubDate>Wed, 19 Oct 2011 15:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-180846</guid>
		<description><![CDATA[Over a reasonably large table (~300M rows) I was trying to determine which values in a column which were causing RI violations when I was trying to apply an FK to that column.  

I used a NOT EXISTS approach to find these but the query seemed to be taking an inordinate amount of time, I suspected blocking and so checked the output of SP_WHO2, sure enough blocking was happening to the SPID that was running the query - but the blocking SPID was itself!  

Clearly the parrallel operation was getting under it&#039;s own feet, perhaps I could have used the WITH (NOLOCK) hint to avoid this (dirty reads were&#039;nt an issue for this type of query), but decided instead to use MAXDOP. Sure enough next time round, only one instance of the query&#039;s SPID listed by SP_WHO2, no blocking (of itself!) and the query came back much quicker.]]></description>
		<content:encoded><![CDATA[<p>Over a reasonably large table (~300M rows) I was trying to determine which values in a column which were causing RI violations when I was trying to apply an FK to that column.  </p>
<p>I used a NOT EXISTS approach to find these but the query seemed to be taking an inordinate amount of time, I suspected blocking and so checked the output of SP_WHO2, sure enough blocking was happening to the SPID that was running the query &#8211; but the blocking SPID was itself!  </p>
<p>Clearly the parrallel operation was getting under it&#8217;s own feet, perhaps I could have used the WITH (NOLOCK) hint to avoid this (dirty reads were&#8217;nt an issue for this type of query), but decided instead to use MAXDOP. Sure enough next time round, only one instance of the query&#8217;s SPID listed by SP_WHO2, no blocking (of itself!) and the query came back much quicker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-173009</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Thu, 29 Sep 2011 00:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-173009</guid>
		<description><![CDATA[Thank you David,

Very interesting read.]]></description>
		<content:encoded><![CDATA[<p>Thank you David,</p>
<p>Very interesting read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hardin</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-173002</link>
		<dc:creator><![CDATA[David Hardin]]></dc:creator>
		<pubDate>Thu, 29 Sep 2011 00:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-173002</guid>
		<description><![CDATA[I just posted an article to my blog on MSDN called &quot;SQL Server Parallelism-The Dark Side&quot; in which my single threaded, 18 seconds query takes over 60 seconds with parallelism:

http://blogs.msdn.com/b/davidhardin/archive/2011/09/28/sql-server-parallelism-the-dark-side.aspx]]></description>
		<content:encoded><![CDATA[<p>I just posted an article to my blog on MSDN called &#8220;SQL Server Parallelism-The Dark Side&#8221; in which my single threaded, 18 seconds query takes over 60 seconds with parallelism:</p>
<p><a href="http://blogs.msdn.com/b/davidhardin/archive/2011/09/28/sql-server-parallelism-the-dark-side.aspx" rel="nofollow">http://blogs.msdn.com/b/davidhardin/archive/2011/09/28/sql-server-parallelism-the-dark-side.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-148959</link>
		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 16:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-148959</guid>
		<description><![CDATA[According to SQL Books online, MAXDOP = 1 is: &quot;Suppresses parallel generation. The operation will be executed serially.&quot; 
This is why in above example, the query got degraded performance.]]></description>
		<content:encoded><![CDATA[<p>According to SQL Books online, MAXDOP = 1 is: &#8220;Suppresses parallel generation. The operation will be executed serially.&#8221;<br />
This is why in above example, the query got degraded performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Chaudhari</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-133199</link>
		<dc:creator><![CDATA[Prashant Chaudhari]]></dc:creator>
		<pubDate>Fri, 06 May 2011 13:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-133199</guid>
		<description><![CDATA[I know the thread is pretty old, but I also faced a similar problem recently where I was consistently getting  &quot;Transaction (Process ID ??) was deadlocked on communication buffer resources with another process and has been chosen as the deadlock victim&quot; with a complex Select query on a huge database. Using the MAXDOP=1 option resolved the issue, though I don;t know how or why.]]></description>
		<content:encoded><![CDATA[<p>I know the thread is pretty old, but I also faced a similar problem recently where I was consistently getting  &#8220;Transaction (Process ID ??) was deadlocked on communication buffer resources with another process and has been chosen as the deadlock victim&#8221; with a complex Select query on a huge database. Using the MAXDOP=1 option resolved the issue, though I don;t know how or why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurice</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-118766</link>
		<dc:creator><![CDATA[Maurice]]></dc:creator>
		<pubDate>Wed, 16 Feb 2011 03:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-118766</guid>
		<description><![CDATA[Well, I have had the same problem with parallel queries when making updates.

I get the message Transaction (Process ID 62) was deadlocked on lock &#124; communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

If I set MAXDOP to 1, the problem gets solved]]></description>
		<content:encoded><![CDATA[<p>Well, I have had the same problem with parallel queries when making updates.</p>
<p>I get the message Transaction (Process ID 62) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.</p>
<p>If I set MAXDOP to 1, the problem gets solved</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaushin</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-108620</link>
		<dc:creator><![CDATA[yaushin]]></dc:creator>
		<pubDate>Thu, 30 Dec 2010 06:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-108620</guid>
		<description><![CDATA[Hi, Aivars
Do you have better solution/suggestion?
Thank you]]></description>
		<content:encoded><![CDATA[<p>Hi, Aivars<br />
Do you have better solution/suggestion?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-107155</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 11:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-107155</guid>
		<description><![CDATA[how to Force a Parallel Plan]]></description>
		<content:encoded><![CDATA[<p>how to Force a Parallel Plan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aivars</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-99562</link>
		<dc:creator><![CDATA[Aivars]]></dc:creator>
		<pubDate>Sat, 13 Nov 2010 14:06:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-99562</guid>
		<description><![CDATA[Hi Savita, 
I think setting MAXDOP=1 has nothing to do with solving deadlock problems.]]></description>
		<content:encoded><![CDATA[<p>Hi Savita,<br />
I think setting MAXDOP=1 has nothing to do with solving deadlock problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Savita</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-85939</link>
		<dc:creator><![CDATA[Savita]]></dc:creator>
		<pubDate>Wed, 01 Sep 2010 00:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-85939</guid>
		<description><![CDATA[I recently came accros an issue with one of UPDATE statement that was using JOIN before updating data. But, for large amout of data, this was giving me following error:

Transaction (Process ID 62) was deadlocked on lock &#124; communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

I added Option(MaxDOP 1) query hint to my update query and that solved issue.]]></description>
		<content:encoded><![CDATA[<p>I recently came accros an issue with one of UPDATE statement that was using JOIN before updating data. But, for large amout of data, this was giving me following error:</p>
<p>Transaction (Process ID 62) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.</p>
<p>I added Option(MaxDOP 1) query hint to my update query and that solved issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: N Dog</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-74418</link>
		<dc:creator><![CDATA[N Dog]]></dc:creator>
		<pubDate>Wed, 02 Jun 2010 16:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-74418</guid>
		<description><![CDATA[I use MAXDROP because I currently have no testing environment. Server performance drops when running large queries. So I restrict the query to 1 processor, allowing the other processor to handle the end user&#039;s day to day tasks.

I know it isn&#039;t how it is meant to be used but it certainly is a decent workaround.]]></description>
		<content:encoded><![CDATA[<p>I use MAXDROP because I currently have no testing environment. Server performance drops when running large queries. So I restrict the query to 1 processor, allowing the other processor to handle the end user&#8217;s day to day tasks.</p>
<p>I know it isn&#8217;t how it is meant to be used but it certainly is a decent workaround.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike G.</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-64620</link>
		<dc:creator><![CDATA[Mike G.]]></dc:creator>
		<pubDate>Tue, 06 Apr 2010 23:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-64620</guid>
		<description><![CDATA[The MAXDOP hint becomes very useful when working with large datasets.  For some reason, running certain queries referencing large datasets performs better when the query is restricted to 1 processor than when allowed to use them all.  The question is WHY?

I have not found a solid explanation for this behavior.  I would be very interested to know WHY this works if anyone has found such an explanation.]]></description>
		<content:encoded><![CDATA[<p>The MAXDOP hint becomes very useful when working with large datasets.  For some reason, running certain queries referencing large datasets performs better when the query is restricted to 1 processor than when allowed to use them all.  The question is WHY?</p>
<p>I have not found a solid explanation for this behavior.  I would be very interested to know WHY this works if anyone has found such an explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chintak Chhapia</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-62986</link>
		<dc:creator><![CDATA[Chintak Chhapia]]></dc:creator>
		<pubDate>Tue, 16 Mar 2010 04:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-62986</guid>
		<description><![CDATA[Yes, I have experienced that by setting off parallelism by MAXDOP =1 or by setting max degree of parallelism to 1, generally on development and QA environments where we have less amount of RAM, we are getting measurable performance improvement.

Also, before setting this off we used to have too mach wait for CXPACKET wait type, but after setting parallelism off we are not getting wait for this wait type. This is applicable to DEV and QA environments having less then 3/4 GB ram.]]></description>
		<content:encoded><![CDATA[<p>Yes, I have experienced that by setting off parallelism by MAXDOP =1 or by setting max degree of parallelism to 1, generally on development and QA environments where we have less amount of RAM, we are getting measurable performance improvement.</p>
<p>Also, before setting this off we used to have too mach wait for CXPACKET wait type, but after setting parallelism off we are not getting wait for this wait type. This is applicable to DEV and QA environments having less then 3/4 GB ram.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrewhogg</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-62968</link>
		<dc:creator><![CDATA[andrewhogg]]></dc:creator>
		<pubDate>Mon, 15 Mar 2010 17:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-62968</guid>
		<description><![CDATA[On an OLTP server where the MaxDop server setting is at 1, I use the hint on any large index creation or large data query that would benefit.

Overriding it upwards like this is rare to see, but has some very good scenarios in which I would want to do it - in a high end transactional environment, and online index operation has the ability to get out of hand and runaway as new data is coming in and existing data is changing, whilst a single thread is trying to put together a new index. Overriding it upwards so that it has more threads allocated brings it under control.]]></description>
		<content:encoded><![CDATA[<p>On an OLTP server where the MaxDop server setting is at 1, I use the hint on any large index creation or large data query that would benefit.</p>
<p>Overriding it upwards like this is rare to see, but has some very good scenarios in which I would want to do it &#8211; in a high end transactional environment, and online index operation has the ability to get out of hand and runaway as new data is coming in and existing data is changing, whilst a single thread is trying to put together a new index. Overriding it upwards so that it has more threads allocated brings it under control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paresh Prajapati</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-62956</link>
		<dc:creator><![CDATA[Paresh Prajapati]]></dc:creator>
		<pubDate>Mon, 15 Mar 2010 11:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-62956</guid>
		<description><![CDATA[Hi Feodor ,

It is better if we use hint for the parallelism instead of general setting. Because we require it sometime for the query and sometime not requite.]]></description>
		<content:encoded><![CDATA[<p>Hi Feodor ,</p>
<p>It is better if we use hint for the parallelism instead of general setting. Because we require it sometime for the query and sometime not requite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feodor Georgiev</title>
		<link>http://blog.sqlauthority.com/2010/03/15/sql-server-maxdop-settings-to-limit-query-to-run-on-specific-cpu/#comment-62922</link>
		<dc:creator><![CDATA[Feodor Georgiev]]></dc:creator>
		<pubDate>Mon, 15 Mar 2010 06:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8198#comment-62922</guid>
		<description><![CDATA[Pinal, I use this query hint only for debugging in order to compare performance of 2 queries. 
I your post you forgot to mention that there is a global configuration setting for SQL Server which manages parallelism on the entire server. General rule is, that for the OLTP databases parallelism can seriously degrade performance, hence it is most likely better to turn it off. 
Here is a script on how to do this: http://feodorgeorgiev.com/blog/2010/03/how-to-disable-parallelism-on-your-sql-server/]]></description>
		<content:encoded><![CDATA[<p>Pinal, I use this query hint only for debugging in order to compare performance of 2 queries.<br />
I your post you forgot to mention that there is a global configuration setting for SQL Server which manages parallelism on the entire server. General rule is, that for the OLTP databases parallelism can seriously degrade performance, hence it is most likely better to turn it off.<br />
Here is a script on how to do this: <a href="http://feodorgeorgiev.com/blog/2010/03/how-to-disable-parallelism-on-your-sql-server/" rel="nofollow">http://feodorgeorgiev.com/blog/2010/03/how-to-disable-parallelism-on-your-sql-server/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
