What is the CXPACKET Wait Type?

Guy-Glantser, 2018-03-02

This wait type indicates that parallel plans execute on the server. This wait type doesn’t necessarily means there is a problem. It only points to the existence of parallelism. In many systems, this wait type is very common, usually the top 1. The fact that it’s so common means there is a lot of parallelism. One of the reasons for having a lot of parallel plans is large scans. Scan operations are usually performed in parallel. By optimizing queries and/or adding the appropriate indexes, it is possible to reduce the number of scan operations and thus reduce parallelism in the system. In some cases a parallel plan does not execute efficiently, and reducing the max degree of parallelism might improve performance, but this is relatively rare. In most cases, if we reduce the max degree of parallelism, we will make things even worse, because now these large scans will have to be executed serially instead of in parallel. The right thing to do is to optimize the relevant queries in order to avoid the large scans in the first place.

The post What is the CXPACKET Wait Type? appeared first on Madeira Data Solutions.





Related content

Database Mirroring FAQ: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup?

Question: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? This question was sent to me via email. My reply follows. Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? Databases to be mirrored are currently running on 2005 SQL instances but will be upgraded to 2008 SQL in the near future.

Robert Davis


1,567 reads

Networking – Part 4

You may want to read Part 1 , Part 2 , and Part 3 before continuing. This time around I’d like to talk about social networking. We’ll start with social networking. Facebook, MySpace, and Twitter are all good examples of using technology to let…

Andy Warren


1,530 reads

Speaking at Community Events – More Thoughts

Last week I posted Speaking at Community Events – Time to Raise the Bar?, a first cut at talking about to what degree we should require experience for speakers at events like SQLSaturday as well as when it might be appropriate to add additional focus/limitations on the presentations that are accepted. I’ve got a few more thoughts on the topic this week, and I look forward to your comments.

Andy Warren


360 reads