In a Document Library of SharePoint 2007, deleted documents will be put on Recycle Bin first (this is the default setting). SharePoint Recycle Bin works similarly to Windows one – user has their own recycle bin and one can not see others. Items in recycle bins will be permanently deleted after 30 days.
You may want to free up some database space by emptying your recycle bin, but it won’t work. If you check database tables, you will find that the records are still in [AllDocStreams] table and the database size is even bigger (because of transaction log). What if you want to get rid of the junk (i.e. you want to back up the current site)?
Log in as site administrator and click on “Recycle bin” under “Site Collection Administration” section. Click on “Deleted from end user Recycle Bin” view on the left, and delete the items there. This time the database records will be really deleted.
This “double” recycle bin might come to handy when someone mistakenly delete items from his/her recycle bin. Do not like it? You can turn this feature off in Central Admin site. In Application Management->Web Application General Settings page, turn off the “Second stage Recycle Bin”. You can also turn off the whole recycle bin or change settings here.
March 14, 2009 at 9:29 am |
Thanks for posting this!