r/SQLServer • u/dfurmanms Microsoft Employee • Mar 18 '26
Community Share Introducing Automatic Index Compaction
We just released a MSSQL engine feature that might just make the whole index maintenance debate obsolete (or should at least make it less boring). Auto index compaction is now in public preview in Azure SQL and Fabric SQL.
Announcement blog: Stop defragmenting and start living: introducing auto index compaction.
Documentation (with an FAQ): Automatic Index Compaction | Microsoft Learn.
Would you use this instead of your own index maintenance? Tell us what you think.
55
Upvotes
View all comments
Show parent comment
3
u/dfurmanms Microsoft Employee Mar 18 '26
Good feedback, thanks. Whether that is needed is something we want to find out from customers during public preview, based on actual results. In general, we want to keep the configuration burden as minimal as possible and make it an "enable and forget" feature.
If the compact-split cycle becomes an observed problem, you could lower the fill factor a little and accept a lower page density as a tradeoff for reducing splits. If you actually have to do this to maintain perf with this feature enabled, it would be great feedback for us during preview.