Solved

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

Posted on 2012-12-26
3
1,316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 143

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

628 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