3 Ways to Configure MAXDOP – SQL in Sixty Seconds #166

Configure MAXDOPAfter watching the previous two videos here and here lots of people asked me how to change MAXDOP for their server. In this blog post, we will see a quick SQL in Sixty Seconds video and scripts used in the video to change MAXDOP. Let us watch 3 Ways to Configure MAXDOP.

However, before you continue this blog post, you must remember that if you should not change the MAXDOP without properly testing your system with various scenarios. I have used MAXDOP 2 in my example. However, the best value for your system needs more investigation. Use the right value for MAXDOP for your system after consulting your local expert. Setting up the wrong value for MAXDOP can damage your system’s performance.

Here is a quick video:

Method 1: At Server Level

Configure SQL Server MAXDOP.

Use this option when you want the impact of MAXDOP for your entire server.

Method 2: At Database Level

SQL Server Configuration Tool Window.

Use this option when you want the impact of the MAXDOP to be limited to your selected database.

Method 3: At Query Level

SQL Server Query Editor.

If you want your selected queries to have the impact of MAXDOP, you should use this option.

Well, there you go, in this quick blog post, we discussed 3 Ways to Configure MAXDOP. I will be building a detailed blog post in the future where I will explain what is the most appropriate value of MAXDOP for your system.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.


Discover more from SQL Authority with Pinal Dave

Subscribe to get the latest posts sent to your email.

MAXDOP, SQL CPU, SQL in Sixty Seconds
Previous Post
Get Memory Details – SQL in Sixty Seconds #165
Next Post
Excel – Sum vs SubTotal – SQL in Sixty Seconds #167

Related Posts

1 Comment. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.