Is It a Problem?
No. It is not a known contention point, and our SQL Server 2025 lab had about 200 waits totalling a quarter of a second in a day. Get Wait Statistics does not filter it out, so if it ranks, you will see it. It confirms parallel scans are running, nothing more.
What It Means
Microsoft’s definition is brief: it occurs during a parallel range scan. It is a thread waiting for exclusive access to the parent rowset of a parallel scan, coordinating with the other child threads.
When It Does Matter
On its own it does not. The useful question is the one behind it: should those scans be parallel, and should they be scans at all? If parallel scans are unwanted, see MAXDOP and cost threshold; if the scans are the problem, index the predicates driving them. The baseline to monitor is the CX family’s share of wait time per interval.
The CX Family
These are the parallelism waits. They prove parallel plans are running, which is often what you want, and they are read together rather than one at a time. The main page is CXPACKET and CXCONSUMER.
- CXPACKET / CXCONSUMERExchange waits. Producer and consumer threads in a parallel plan waiting on each other.The main page for this family
- CXSYNC_PORTPort synchronisation. Opening, closing and synchronising exchange ports, from SQL Server 2022.Worth a look when it climbs
- CXSYNC_CONSUMERConsumer synchronisation. Consumer threads waiting to reach an exchange synchronisation point, from SQL Server 2022.Worth a look when it climbs
- CXROWSET_SYNCParallel range scan. Child threads of a parallel range scan coordinating.Usually noise. This page.
- EXCHANGEExchange iterator. Synchronisation in the exchange iterator of a parallel query.Worth a look when it climbs
Where To Go Next
CXROWSET_SYNC is background noise on a healthy instance. If you are chasing a real problem, start with the waits that cost you time.
- CXPACKET and CXCONSUMER, the main parallelism page.
- MAXDOP and Cost Threshold for Parallelism, the two settings behind most parallel plans.
- The waits that usually matter, ranked, with what each one is telling you.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply