Comments
2 comments
-
Hello,
Thanks for your post.
Your database won't actually change size by changing the purge settings (it'll just be the amount of data in it that changes.)
You can check the total size and total allocated space by running "EXEC sp_spaceused" on your database.
You could probably shrink the database manually by running DBCC SHRINKDATABASE (see this article: http://technet.microsoft.com/en-us/libr ... 90488.aspx).
Hope that helps.
Thanks,
Evan -
Thanks guys.
I was under the impression that maybe the alert retention was causing the data file to grow, but applying the SHRINKDATABASE command took care of the issue.
I appreciate you looking into it and providing guidance. Thanks again.
Add comment
Please sign in to leave a comment.
our data purge settings were set to default settings of 2 months data retention. The .mdf file has grown 36 GB - so I went ahead and set the settings to 2 weeks for all the 'high volume data'. I've waited about 2 days now and the db size is still sitting at 36 GB.
Is there something I'm doing wrong or there is another way of purging the data? Please advise. Thanks.