Hi All,
Today an issue was reported of slow performance.
When I ran sp_who2 , it was found that there are 5 spid's which were occurring 32, 32,32 and 129 times. When I queried sys.processes wait type was showing 'CXPacket'.
But CPU usage was below 10% during this time.
The max degree of parallelism is set to 0 and cost threshold of parallelism is 5.
It’s 2 Processor Machine with 10 cores / processor.
After searching in net,what I understood is that when there CXPacket wait type CPU usage will also be high. Multiple threads are generated for a single spid when the maxdop setting is configured inside the query
In our environment, maxdop is setting not configured inside any procedure or code.
So my question is why does multiple threads get generated for a single spid?
And why there is CXPacket wait type when CPU is under utilized.
Thanks