About This Blog

Including my content from SQLBlog.com and some from SQLPerformance.com

Friday 30 August 2024

A Nonclustered Index Update Disaster


Update execution plans are not something the T-SQL statement writer has much control over. You can affect the data reading side of the plan with query rewrites and hints, but there's not nearly as much tooling available to affect the writing side of the plan.

Update processing can be extremely complex and reading data-changing execution plans correctly can also be difficult. Many important details are hidden away in obscure and poorly documented properties, or simply not present at all.

In this article, I want to you show a particularly bad update plan example. It has value in and of itself, but it will also give me a chance to describe some less well-known SQL Server details and behaviours.

Read the full article on 𝕏.

No comments:

Post a Comment

All comments are reviewed before publication.