Solved

Help with Shrinking Exhange 2003 Database

Posted on 2011-09-28
6
166 Views
Last Modified: 2012-05-12
We are running a Exchange 2003 mail server and I am starting to run out of space and need some assistance.  Below are the key points:

1. Database size limit set in the registry is 70 Gigs.

2. The free space on the physical disc where the database file and logs are kept is 1.5 Gigs.

3. The total size of all of the mailboxes recently exceeded 70 Gigs and was causing the mail store to be detached when maintenance ran early in the AM.  

A few days ago, I requested that users go in and delete any messages that were no longer needed and also empty their deleted items folder.  Between all of the users they probably removed 10-15 Gigs of email messages.  

Right now, the priv1.edb file is 68 Gigs and the priv1.stm is 15.8 Gigs.  Do I need to perform an offline defrag to recover the space created by the users deleting old messages?
0
Comment
Question by:csimmons1324
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
E_T_B earned 250 total points
ID: 36719528
Yes.  Use eseutil to defrag your database.

http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html
0
 

Author Comment

by:csimmons1324
ID: 36719557
It is my understanding that there needs to be 110% physical free space available on the disc to do an offline defrag.  Obviously, I don't have that much space available on the Exchange server.  Am I able to move the database to a network drive and run the defrag from there?  Or, is there anything else that I can do to the database while it is still on the Exchange server to shrink it?
0
 
LVL 6

Expert Comment

by:E_T_B
ID: 36719575
Yes, you can move the DB to a network drive.  The DB will not shrink any other way.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 12

Assisted Solution

by:Deepu Chowdary
Deepu Chowdary earned 250 total points
ID: 36719586
Yes you can do that, but it was not a good practise.
Make sure you are just copying the database to network drive and not moving.
Also you must use a /t Path switch or set path = command.
Before doing that once check what is the free space available after online defrag completed.
Check eventviwer for event id 1221.
0
 

Author Comment

by:csimmons1324
ID: 36719842
Event 1221 is saying that there is 1.6 Gigs of free space after online defragmentation has terminated.  Since it says that the defrag has terminated, does this mean that it completed or was terminated for one reason or another before it could complete?

As I stated before, there is currently 1.6 Gigs of free space on the physical drive.  However, the past few mornings the database store has been shutdown due to lack of free space caused by the creation of .log files in the MDBDATA folder.  Is it safe to remove these log files to free up space so that I can bring the mailbox store back online?
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36719957
Never touch log files.
Use backup utility and backup exchange, so that log files will get automatically purged.
For example using NTbackup in windows 2003 (Inbuilt) and taking information store backup will purge logs.
In windows 2008 this was replaced by windows backup utility which will do the same business.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

860 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