Is It a Problem?
Not in itself. It follows the length and parallelism of your offline index builds, and it was zero on our SQL Server 2025 lab. Get Wait Statistics does not filter it out, so if it ranks, you will see it. It is worth reading only when index builds run longer than they should.
What It Means
Microsoft’s definition: it occurs in certain cases when offline create index build is run in parallel, and the worker threads doing the sort synchronise access to the sort files. It is a thread waiting for the other threads in the sort to finish. An index build is largely a big sort, and in a parallel offline build the sort is shared between workers who have to meet up.
When It Does Matter
When builds are slow. Heavy time here means workers spent real time waiting on each other at the sort, and the usual suspects, though not documented as the cause, are uneven work between threads and a sort spilling to tempdb. Check the build’s memory grant and tempdb activity during the window, run large builds when there is memory headroom, consider SORT_IN_TEMPDB if tempdb is on fast storage, and use ONLINE = ON where the edition allows, which changes the work entirely. MAXDOP on the index statement caps how many workers have to coordinate. The baseline to monitor is each large index’s build duration.
Where To Go Next
QUERY_EXECUTION_INDEX_SORT_EVENT_OPEN follows offline index builds. If you are chasing a real problem, start with the waits that cost you time.
- The waits that usually matter, ranked, with what each one is telling you.
- MAXDOP and Cost Threshold for Parallelism, the settings behind parallel builds.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply