SNI_CRITICAL_SECTION 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, and our SQL Server 2025 lab had a single wait in a day. Get Wait Statistics does not filter it out, so if it ranks, you will see it.


What It Means

Microsoft’s definition: internal synchronization within SQL Server networking components. It is a section of code only one thread can run at a time while processing packets between SQL Server and clients, with examples when shutting down a connection and completing a read. The SQL Server Network Interface is the layer that carries TDS packets over the configured protocol.


When It Does Matter

It does not. Connection problems show elsewhere first: login rates, THREADPOOL if workers run out, authentication waits if Active Directory is slow, and connectivity entries in the error log.


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. This page.
  • SNI_TASK_COMPLETIONNUMA node change. Waiting for tasks to finish during a NUMA node state change.Usually noise

Where To Go Next

SNI_CRITICAL_SECTION 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 *