title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
Set the AUTO_SHRINK Database Option to OFF |
Set the AUTO_SHRINK Database Option to OFF. |
VanMSFT |
vanto |
12/15/2023 |
sql |
security |
reference |
|
[!INCLUDE 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.
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.
Microsoft Knowledge Base article 315512