Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Question on query causing timeouts and CXpacket

$
0
0

Hello,

I am using SQL Server 2008 R2 SE with 24 processors as shown below:

This is a standalone non clustered server. The MAXDOP setting is 8 as shown below:

These settings have been the same for more than an year. But since last week I am noticing that query is taking longer time to execute and complaining on 94% wait time is on CXPACKET. Does this necessarily mean the MAXDOP setting has to be changed?

I added a few indexes for this query and CXPacket is gone but the indexes are causing failures somewhere else. As soon as the indexes were disabled these failures are gone. 

Experts I need your valuable thoughts on this. Thanks a bunch.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>