Solved

Help with Shrinking Exhange 2003 Database

Posted on 2011-09-28
6
163 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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

708 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

12 Experts available now in Live!

Get 1:1 Help Now