Brent Ozar 1/28/2026

Automatic Stats Updates Don’t Always Invalidate Cached Plans

Read Original

This technical blog post details a specific SQL Server behavior where updates to automatically created statistics (system-created stats) do not necessarily trigger plan recompilations, unlike updates to regular statistics. The author uses a demo with the Stack Overflow database to illustrate this documented edge case and confirms it persists in SQL Server 2025.

Automatic Stats Updates Don’t Always Invalidate Cached Plans

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
Quoting Thariq Shihipar
Simon Willison 2 votes
2
Container queries are rad AF!
Chris Ferdinandi 1 votes
3
Top picks — 2026 January
Paweł Grzybek 1 votes
4
In Praise of –dry-run
Henrik Warne 1 votes
6
Vibe coding your first iOS app
William Denniss 1 votes