Skip to main content

Questions tagged [maxdop]

Max Degree of Parallelism (MAXDOP) is a configuration option that determines the maximum number of threads dispatched by SQL Server to service queries that might benefit from parallel operation.

2 votes
1 answer
372 views

There is good general advice for how to configure Maximum Degree of Parallelism (MAXDOP). However, I am in a special circumstance. There are two instances on my box. If I have 16 cores, how should I ...
J. Mini's user avatar
  • 1,342
16 votes
2 answers
3k views

I'm running SQL Server 2022 RC1 setup on an AWS i3.16xlarge with 2 sockets, 2 NUMA nodes, 32 logical processors per node, 64 logical processors altogether. Setup is recommending MAXDOP 8: But if you ...
Brent Ozar's user avatar
  • 43.4k
0 votes
1 answer
429 views

I want to change data type of a column of my table in SQL Server 2019. My table has 50,000,000 row and it's very important. I want to do this operation online and also handle maxdop to avoid CPU over ...
hadi pourneshati's user avatar
-1 votes
2 answers
576 views

By default, SQL Server allows a maximum of 32767 concurrent connections which is the maximum number of users that can simultaneously log in to the SQL server instance. I am developing 10 web apis ...
variable's user avatar
  • 3,602
-1 votes
2 answers
783 views

During a parallel query execution (whether or not to go parallel is decided by the cost threshold for parallelism) MAXDOP limits the number of tasks per request. Assuming cost threshold for ...
variable's user avatar
  • 3,602
1 vote
1 answer
2k views

Querying the dm_os_performance_counters shows that I have 2 NUMA nodes: select * from sys.dm_os_performance_counters where object_name = 'SQLServer:Buffer Node' and counter_name = 'Page life ...
variable's user avatar
  • 3,602
-1 votes
1 answer
132 views

Sql server recommendation is to decide max dop based on number of processors in a single Numa node. Given a system with 4 Numa nodes, each having 6 processors, the max dop recommended hence would be 6....
variable's user avatar
  • 3,602
0 votes
2 answers
518 views

Link: https://learn.microsoft.com/en-US/sql/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option?view=sql-server-ver15#Recommendations I understand the ...
variable's user avatar
  • 3,602
1 vote
3 answers
2k views

I have sql server with 8 cpus. Max worker threads setting is say 850. Max dop is say 8. And cost thread hold for parallelism is 50. This means sql server will breakdown a query going above cost ...
variable's user avatar
  • 3,602
0 votes
1 answer
180 views

I have a procedure with two SELECTs. One statement respects the server's/database's/query hint's maxdop setting and uses parallelism, the other is being difficult and never going parallel. The 8 core ...
Bobogator's user avatar
6 votes
1 answer
1k views

We have a prod system that sometimes gets stuck and nothing we do helps but changing maxdop parameter on live system, after we change that all gets back normal. And it does not even matter if we ...
Milan's user avatar
  • 61
-3 votes
1 answer
91 views

We're working with a vendor who is insisting we use MAXDOP = 1 (I know...). They are also emphasizing the importance of striping our data files across different disks. As I understand it, an I/O ...
cgoll's user avatar
  • 3
0 votes
1 answer
233 views

Seems like I have problems with parallelism because largest wait types are CXCONSUMER and CXPACKET. Server has 8 cores. So I am planning to bump up Cost Threshold to 50 and MaxDop to 4 Currently I ...
Serdia's user avatar
  • 717
0 votes
1 answer
374 views

I have inherited a legacy application that includes a job that creates performance issue at instance level. The DBA told us about this and our team needs to fix the stored procedure that is the most ...
Alexei's user avatar
  • 1,193
0 votes
1 answer
736 views

We recently moved our 2016 sql server mirror into Azure, but it's on an underpowered machine. Our main database server has 16 physical cores with hyper threading and 2 numa nodes. We have set the ...
dev30207's user avatar
  • 101

15 30 50 per page