Wait Type DISABLE_VERSIONING

The wait type DISABLE_VERSIONING is ranked #97 by Stedman Solutions and Database Health Monitor.

Wait statistics, in the context of SQL Server, refer to the amount of time that a query spends waiting to access data in the database. When a client application requests data from the database, the request is placed in a queue and the client application must wait for its turn to access the data. The time that the query spends waiting is called a "wait" and is tracked by SQL Server. This information can be used to identify potential performance bottlenecks and optimize the performance of the database. Wait statistics are commonly used by database administrators to diagnose and troubleshoot performance issues in SQL Server.


One of the features of SQL Server is the ability to enable versioning on tables, which allows multiple versions of the same row to be stored within the table.

One of the common wait types that can occur in SQL Server is the DISABLE_VERSIONING wait type. This wait type indicates that a task is waiting to acquire a lock on a table in order to disable versioning on that table.

Versioning is a useful feature in SQL Server, as it allows multiple versions of the same row to be stored within a table. This can be useful in scenarios where you need to track changes to data over time, or where you need to support the ability to roll back changes to data.

However, there are times when you may need to disable versioning on a table. For example, you may want to disable versioning in order to improve the performance of queries on the table, or to reduce the amount of storage space required to store the table. In these cases, a task must acquire a lock on the table in order to disable versioning.

The DISABLE_VERSIONING wait type occurs when a task is waiting to acquire the necessary lock on a table in order to disable versioning. This wait type is a normal and expected part of the operation of SQL Server, and is typically not something that requires action. However, if you are experiencing a high volume of DISABLE_VERSIONING waits, it could be an indication that there is a problem with the workload on your SQL Server, or that there are conflicts with other tasks that are trying to access the same table. In these cases, it may be necessary to optimize your workload or adjust the configuration of your SQL Server in order to reduce the number of DISABLE_VERSIONING waits.

Overall, the DISABLE_VERSIONING wait type is a normal and expected part of the operation of SQL Server. While it is typically not something that requires action, it is important to monitor for high volumes of these waits, as they can indicate potential performance issues with versioning on your tables.

Applies to

See Also


All Wait Types