Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database Size is not reducing after empty Recycle bin in SharePoint 2007.

Posted on 2012-12-26
3
Medium Priority
?
1,412 Views
Last Modified: 2012-12-28
Hi, in one site collection I have deleted recycle bin data even deleted from secondary recycle bin also but mdf file of that site collection database is still showing the same size, it is not reducing.

Kindly suggest.
0
Comment
Question by:Minesh Shah
3 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 38722889
the .mdf file of sql server database will not shrink just because you delete data in the tables, and not even if you just dropped tables.

you would need to explicitly request to shrink the data files (or even the full database), which you can do in sql server using the GUI or t-SQL, but normally, you just won't.
the exception is if your database files had grown just "out of control", so you have to reclaim disk space.

normally, you would just keep the file sizes as are. sql server will internally reuse the space.
0
 
LVL 13

Accepted Solution

by:
Yagya Shree earned 1000 total points
ID: 38723458
Hi MineSharePoint,

Angel is right on pointing out the fact that the database will not reclaim the space even if you cleanup you recycle bin in sharepoint.

From the sharepoint, point of view, you have to manually perform Db shrinking for which you can follow methods mentioned in the below post

Shrinking a Database
http://msdn.microsoft.com/en-us/library/ms189080(v=sql.105).aspx
0
 
LVL 10

Author Closing Comment

by:Minesh Shah
ID: 38726325
thanks, now it is redused by srinking
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question