Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parallelism settings 1

Status
Not open for further replies.

lck092580

Programmer
Jun 19, 2002
440
CA
Quick question: What's recommended for Parallelism settings? Should I use all the processors available?

Also, does changing the settings require a restart?

Thanks.
 
The quick answer to your question can be found here.
and here

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
10qkyfp.gif

- If at first you don't succeed, find out if the loser gets anything.
 
Thanks for the detailed explanation and KB articles Paul! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top