SNI_TASK_COMPLETION Wait Type in SQL Server

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

Is It a Problem?

No. It is not a known contention point; our SQL Server 2025 lab had a single wait, at startup. Get Wait Statistics does not filter it out, so if it ranks, you will see it.


What It Means

Microsoft’s definition: there’s a wait for all tasks to finish during a NUMA node state change. It is waiting for a new network listener to be created after a NUMA node becomes available. NUMA node state changes are rare, mostly at startup, so the wait marks topology events rather than load.


When It Does Matter

It does not. If the NUMA layout itself is the question, sys.dm_os_nodes shows it:

SELECT
    node_id,
    node_state_desc,
    memory_node_id,
    online_scheduler_count
FROM sys.dm_os_nodes;

The baseline to monitor is every node ONLINE with the scheduler count you expect. The query needs VIEW SERVER STATE.


The SNI Waits

These are waits inside the SQL Server Network Interface, the layer that carries TDS packets between SQL Server and its clients. Both are internal synchronisation. For network time that users feel, see ASYNC_NETWORK_IO; otherwise start from the waits that usually matter.

  • SNI_CRITICAL_SECTIONPacket processing. Internal synchronisation within SQL Server networking components.Usually noise
  • SNI_TASK_COMPLETIONNUMA node change. Waiting for tasks to finish during a NUMA node state change.Usually noise. This page.

Where To Go Next

SNI_TASK_COMPLETION is background noise on a healthy instance. 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 *