MSQL_DQ

July 5, 2016 by

Description Accumulates while SQL Server running distributed queries. It is common to see this wait type on instances hosting Linked Servers. Moderate values are expected in this type, if it is the top wait for the instance further investigation is required Resolved by DBAs and Developers Suggested solutions Ensure that Linked Servers are configured as […]

LOGMGR_QUEUE

July 5, 2016 by

Description This wait type accumulates while the SQL Server Log Manager is waiting to receive requests. As this is an idling wait high values do not indicate a bottleneck. However, if the LOGBUFFER or WRITELOG values are high then investigation is required Resolved by DBAs and Developers Suggested solutions Safe to ignore if LOGBUFFER and […]

LOGMGR_FLUSH

July 5, 2016 by

Description This wait type accumulates during flush operations by the SQL Server Log Manager. Microsoft has not documented this wait type so little is known about it. However, the wait is common and small values do not appear to cause issues Resolved by DBAs and Developers Suggested solutions Examine other wait statistics, in particular LOGBUFFER […]

LOGMGR

July 5, 2016 by

Description This uncommon wait type occurs during database shutdown when SQL Server is waiting on outstanding disk I/O to complete on the transaction log. Database shutdown occurs when the SQL Server service is stopped. Small values are acceptable. If values are large further investigation is required Resolved by DBAs and Developers Suggested solutions If possible […]

LOGBUFFER

July 5, 2016 by

Description Indicates SQL Server is waiting for a log buffer to write log blocks for a transaction. Log buffers often deplete when a lot of small transactions (implicit or explicit) are happening very frequently Resolved by DBAs and Developers Suggested solutions Remove cursor or iterative procedures making many small changes. Replace these with batch modifications […]

LCK_M_X_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Exclusive lock with the low priority options added in SQL Server 2014. This wait typically occurs when read and modify requests are blocked by another write transaction (implicit of explicit) that has been kept open for an extended period of time. Some values […]

LCK_M_X_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Exclusive lock with the low priority options added in SQL Server 2014. This wait typically occurs when read and modify requests are blocked by another write transaction (implicit of explicit) that has been kept open for an extended period of time. Some values […]

LCK_M_X

July 5, 2016 by

Description This wait occurs while a request is waiting to acquire an exclusive lock. It typically accumulates while requests are being blocked by a write transaction (implicit or explicit). When transactions are kept open for extended periods of time it can cause long delays for other requests Resolved by DBAs and Developers Suggested solutions Keep […]

LCK_M_UIX_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Update Intent Exclusive lock with the low priority options added in SQL Server 2014. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on […]

Handling excessive SQL Server PAGEIOLATCH_SH wait types

July 5, 2016 by

One of the most common wait type seen on SQL Server and definitely one that causes a lot of troubles to less experienced database administrators is the PAGEIOLATCH_SH wait type. This is one of those wait types that clearly indicates one thing, but which background and potential causes are much subtler and may lead to […]

Efficient creation and parsing of delimited strings

July 5, 2016 by

Description Converting a delimited string into a dataset or transforming it into useful data can be an extremely useful tool when working with complex inputs or user-provided data. There are many methods available to accomplish this task; here we will discuss many of them, comparing performance, accuracy, and availability!

LCK_M_UIX_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Update Intent Exclusive lock with the low priority options added in SQL Server 2014. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on […]

LCK_M_UIX

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Update lock along with a Intent Exclusive lock. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on the data then when ready upgrade […]

LCK_M_U_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Update lock with the low priority options added in SQL Server 2014. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on the data […]

LCK_M_U_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire an Update lock with the low priority options added in SQL Server 2014. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on the data […]

LCK_M_U

July 5, 2016 by

Description This wait occurs while a request is waiting to acquire an update lock. An update lock is not just for UPDATE operations. They are used when SQL Server needs to read and then modify a row/page/table. Before modifications it will place an update lock on the data. Once the system is ready these locks […]

LCK_M_SIX_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Exclusive lock with the low priority options added in SQL Server 2014. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time. The low priority operations must not be […]

LCK_M_SIX_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Exclusive lock with the low priority options added in SQL Server 2014. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time. The low priority operations must be set […]

LCK_M_SIX

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Exclusive lock. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time Resolved by DBAs and Developers Suggested solutions If possible, run low priority tasks outside regular business hours. […]

LCK_M_SIU_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Update lock with the low priority options added in SQL Server 2014. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time. The low priority operations must not be […]

LCK_M_SIU_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Update lock with the low priority options added in SQL Server 2014. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time. The low priority operations must be set […]

LCK_M_SIU

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Shared Intent Update lock. This typically happens when read requests are blocked by write transactions (implicit of explicit) been kept open for extended periods of time Resolved by DBAs and Developers Suggested solutions If possible, run low priority tasks outside regular business hours. […]

LCK_M_SCH_S_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Schema Share lock with the low priority options added in SQL Server 2014. This mechanism protects a schema from modification by other requests. This lock typically occurs during long schema changes for example: adding additional non-NULL columns, change column data types, rebuilding indexes […]

LCK_M_SCH_S_ABORT_BLOCKERS

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Schema Share lock with the low priority options added in SQL Server 2014. This mechanism protects a schema from modification by other requests. This lock typically occurs during long schema changes for example: adding additional non-NULL columns, change column data types, rebuilding indexes […]

LCK_M_SCH_M_LOW_PRIORITY

July 5, 2016 by

Description This wait occurs when a request is waiting to acquire a Schema Modify lock with the low priority options added in SQL Server 2014. This mechanism protects a schema from modification by other requests. This lock typically occurs during long schema changes for example: adding additional non-NULL columns, change column data types, rebuilding indexes […]