Bewerken

Delen via


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