October 10, 2010 at 2:01 am
Michelle's script will work for you too. Increments depend on the disk hardware that server has. For fast subsystems 5GB increment also works too fine so it depends..
February 20, 2016 at 9:02 am
Great!
Thanks!
July 31, 2018 at 8:37 am
If shrinking the db is your thing, you can get an idea of the % complete using the following:
SELECT percent_complete, * FROM sys.dm_exec_requests WHERE command = 'DbccFilesCompact'
Wish there was a status bar or something so you could see how things are progressing, but that'll let you get an idea of how far you are along.
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy