Is It a Problem?
Usually not. It is not reported as a contention point, and it trails well behind OLEDB on linked server workloads; 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. Instances without linked servers or other OLE DB providers should barely record it.
What It Means
Microsoft lists PREEMPTIVE_OLEDBOPS as internal use only. It is a thread switching to preemptive mode to communicate with an OLE DB provider, and its examples are both during compilation: getting OLE DB information while parsing a BULK INSERT or a query.
When It Does Matter
On its own it is noise. When it rises together with OLEDB and MSQL_DQ, the linked server layer as a whole is where the time is going. The baseline to monitor is the three of them per interval next to linked server activity; find the calling queries while it is happening:
SELECT
r.session_id,
r.wait_type,
r.wait_time AS wait_ms,
s.login_name,
s.program_name,
t.text AS running_sql
FROM sys.dm_exec_requests AS r
JOIN sys.dm_exec_sessions AS s ON s.session_id = r.session_id
OUTER APPLY sys.dm_exec_sql_text(r.sql_handle) AS t
WHERE r.wait_type LIKE N'PREEMPTIVE_OLEDB%'
ORDER BY r.wait_time DESC;
The query needs VIEW SERVER STATE.
The PREEMPTIVE Family
Each of these is SQL Server calling out of its own scheduler into something else, such as COM, MSDTC or an OLE DB provider, and waiting for the answer. The time is spent outside SQL Server. If one is near the top of your waits, read it next to the waits that usually matter.
- PREEMPTIVE_DTCDistributed transactions. Calls into MSDTC to begin, enlist in, commit or abort a distributed transaction.Worth a look when it climbs
- PREEMPTIVE_OLEDBOPSOLE DB providers. Talking to an OLE DB provider, usually behind a linked server.Worth a look when it climbs. This page.
- PREEMPTIVE_COMCOM calls. Calls into COM objects, usually the OLE DB providers behind linked servers.Worth a look when it climbs
- PREEMPTIVE_XEExtended Events. Extended Events session and target calls outside SQL Server.Usually noise
- PREEMPTIVE_SP_SERVER_DIAGNOSTICSHealth checks. The background thread running sp_server_diagnostics.Usually noise
- PREEMPTIVE_SB_STOPENDPOINTBroker endpoint. Calling out to Windows while a Service Broker endpoint shuts down.Usually noise
Where To Go Next
PREEMPTIVE_OLEDBOPS is usually small. If you are chasing a real problem, start with the waits that cost you time.
- OLEDB, the main linked server wait.
- Get Linked Servers, the linked servers and providers on the instance.
- 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