Parallelsim can be a good thing. It can also cause some problems for extremely transactional database. I have actually run into problems with complex querries blocking itself.
you don't have have to change the whole server setting of max degree of parallelism to change one statment. If you have one problem query you can use the MAXDOP 1 option.
Like this..
Code:
SELECT ...
FROM ...
WHERE ...
OPTION (MAXDOP 1)
To change the setting for the server run this.
You don't have to restart the services for this to take effect.
Code:
sp_configure 'max degree of parallelism', 1
go
reconfigure with override
- Paul
- If at first you don't succeed, find out if the loser gets anything.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.