June 23, 2006 at 12:02 pm
I had a developer come to me with the following error message
query -
select vw_feed_search.* from vw_feed_search Where vw_feed_search.fedd_status_id = 3 AND vw_feed_search.date_in between '2/16/2006' and '6/24/2006' ORDER BY vw_feed_search.date_in asc
Error
Intra-query parallelism caused your server command (process ID #%d) to deadlock.
Rerun the query without intra-query parallelism by using the query hint option (maxdop 1).
I found article 837983 which describes the problem and give you a couple of different methods for work around.
It mentions that you can modify the 'max degree of parallelism' to 1 via SP_Configure.
I went a head and did that and the query now works, but I'm worried about the adverse affects if I do this in produciton.
Any help would be greatly appreciated.
Thanks
Susan
June 23, 2006 at 12:08 pm
Hi Susan,
Look for the OPTION clause in the SELECT statement in Books Online. You can specify the MAXDOP in the query instead of server-wide.
HTH,
Art
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply