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