Auto Shrink - When does the shrink db execute?

  • The shrink db process id was blocking other processes in a production environment recently, and I'm trying to track down when the job started.

    Any ideas on how to determine when the auto shrink actually executes (being and end)?

  • SQL Server will try to shrink the files when found out that the files has about 25% of free space during its periodic checks (checkpoints). It also reduces the Log files using the Tran Log Backup process.

    One suggestion though is to set the auto shrink to off. You may want to have more control when to shrink the file or not for performance issues.

  • One of the problems with Autoshrink is that it will run when you don't want it.

    Turn AutoShrink off and set up a nightly job to do database maintenance.

    Patrick

    Quand on parle du loup, on en voit la queue

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply