Set the auto_shrink database option to off
Applies to:
SQL Server
This rule checks whether the AUTO_SHRINK database option is set to OFF. Frequently shrinking and expanding a database can lead to physical fragmentation.
Best practices recommendations
Set the AUTO_SHRINK database option to OFF. If you know that the space that you're reclaiming won't be needed in the future, you can reclaim the space by manually shrinking the database.
For more information
Microsoft Knowledge Base article 315512
Related content
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle