February 12, 2014 at 12:14 pm
While tuning a S.P. for performance, I found that it better executes without parallelism. But I don't want to change it's threshold in production, what I am looking for is some hint or any other method that works on a query level.
February 12, 2014 at 12:22 pm
You could use the query hint MAXDOP.
Check the reference: http://technet.microsoft.com/en-us/library/ms181714.aspx
Example F.
February 13, 2014 at 8:03 am
Also, check the cost threshold for parallelism on the server. The default value is 5 and that is radically low for most systems. Changing that to an appropriate value (say 50) will eliminate a lot of unnecessary parallelism.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2014 at 11:49 am
I was going to suggest disabling bit 29 on DBCC TIMEWARP which suppresses the availability of parallel universes.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply