PREEMPTIVE_OS Cluster Wait Types in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: HADR_SYNC_COMMIT Wait TypeRelated pillar: Performance & Troubleshooting

Two preemptive waits track Windows Server Failover Clustering calls, and this page covers both:

  • PREEMPTIVE_OS_CLUSTEROPS: documented as internal use only; it is the generic wait for Windows failover cluster functions.
  • PREEMPTIVE_CLUSAPI_CLUSTERRESOURCECONTROL: the SQLOS scheduler switching to preemptive mode to perform Windows Server failover cluster operations. Most of the calls fetch drive properties.

Are They a Problem?

Normally no. Failover Cluster Instances and Availability Groups both depend on the cluster, so clustered instances record these routinely; standalone instances should barely see them, and both were zero on our SQL Server 2025 lab. Get Wait Statistics does not filter them out.


When They Do Matter

The usual case: PREEMPTIVE_CLUSAPI_CLUSTERRESOURCECONTROL commonly occurs when there is latency reaching drives that are cluster resources, so check the response time of those disks and any network delay to them. During a failover or lease timeout review, unusual durations here also say the cluster itself was slow to answer, which points at the cluster log. The baseline to monitor is the average per call on your clustered instances. Like HADR_CLUSAPI_CALL, there is nothing to tune on the SQL Server side.


The PREEMPTIVE_OS Call Waits

Each of these is SQL Server calling a Windows function outside the file and security groups: networking, pipes, the registry, the event log, DLLs and the cluster. The time is spent in Windows. If one is near the top of your waits, read it next to the waits that usually matter.

  • Network waitsDNS and sockets. GETADDRINFO name lookups and Winsock calls; slow DNS shows here.Worth a look when it climbs
  • PREEMPTIVE_OS_PIPEOPSPipes. Windows pipe functions, such as xp_cmdshell reading its command output.Worth a look when it climbs
  • PREEMPTIVE_OS_WAITFORSINGLEOBJECTClient sync. Synchronising with an external client process; often seen with ASYNC_NETWORK_IO.Worth a look when it climbs
  • PREEMPTIVE_OS_QUERYREGISTRYRegistry. Windows registry functions.Worth a look when it climbs
  • PREEMPTIVE_OS_REPORTEVENTEvent log. The Windows ReportEvent function, writing to the event log.Worth a look when it climbs
  • PREEMPTIVE_OS_GETPROCADDRESSXP entry points. Finding an extended stored procedure’s address in its DLL.Worth a look when it climbs
  • Library waitsDLL loading. Loading and unloading DLLs in the SQL Server process.Usually noise
  • Cluster waitsFailover cluster. Windows failover cluster API calls.Usually noise. This page.
  • Miscellaneous waitsEverything else. The remaining single-call waits, such as VSS, FILESTREAM device and service calls.Worth a look when it climbs

Where To Go Next

These cluster waits are usually small. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *