ianstirk Occasional Visitor
Jan 07 2022 11:33 AM
Hi,
thanks for creating this utility, it's very useful.
Looking at the code, I can see it says "Remove statistics if it is handled by index rebuild / reorginize...", please note that an index reorg does not update the statistics e.g. https://dba.stackexchange.com/questions/48991/does-a-re-index-update-statistics
thanks
Ian
this is confirmed, and we should not skip updating stats when their corresponding index goes for reorganize
as per comment from Ian on the blog post
https://techcommunity.microsoft.com/t5/azure-database-support-blog/how-to-maintain-azure-sql-indexes-and-statistics/bc-p/3029677#M583
this is confirmed, and we should not skip updating stats when their corresponding index goes for reorganize