Solved

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

Posted on 2012-12-26
3
1,178 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 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now