Wait type:CXPACKET & CXCONSUMER

Cxpacket:
Occurs when queries using parallelism plan.
When the parallel plan is used, the query is executed in multiple threads and the query can continue only when all parallel threads are completed.

Action to take:-
According to available processor and workload manage MAXDOP & Cost threshold of parallelism
The MAXDOP number represents the number of CPU cores SQL Server will use for parallel query execution. Default is set to 0
When the serialized query plan cost exceeds the cost threshold for parallelism it will create a parallel query plan. The CTFP is set by default to 5
From Sql Server 2016 SP2 CXPACKET is split into Consumer and producer.

Following photo show relationship between CXCONSUMER & CXPACKET, It is safe to ignore CXCONSUMER wait type:


Name

Azure Backup Database Clustering Crash Dumps DBCC Deadlock Link Server Log Shipping Maintenance Migration Mirroring Monitoring Performance Tuning Permissions Post Installations Prerequisites Replication Restore Database SQL Installations SQL on Linux SQL Uninstallations SSIS T-SQL Windows Server
false
ltr
item
hybriddba.blogspot.com: Wait type:CXPACKET & CXCONSUMER
Wait type:CXPACKET & CXCONSUMER
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRuIsyggo5wQTe2ob6DgjP9iLPlDAwkfyaksYngrgSLz18bF3NucwUeWPrEiqaeX8mzR-sIFPzPn_X9YhCp4vsNnfX-1HGPEXfoND5OuS0M_V8i2Bb5JqrIG5_bpDU2-3kolVnZaoBwt1i/s1600/1579347926102871-0.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRuIsyggo5wQTe2ob6DgjP9iLPlDAwkfyaksYngrgSLz18bF3NucwUeWPrEiqaeX8mzR-sIFPzPn_X9YhCp4vsNnfX-1HGPEXfoND5OuS0M_V8i2Bb5JqrIG5_bpDU2-3kolVnZaoBwt1i/s72-c/1579347926102871-0.png
hybriddba.blogspot.com
https://hybriddba.blogspot.com/2018/09/wait-typecxpacket-cxconsumer.html
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/2018/09/wait-typecxpacket-cxconsumer.html
true
7679493960263860249
UTF-8
Not found any posts Not found any related posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU Tag ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Contents See also related Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy