?
Solved

Help with Shrinking Exhange 2003 Database

Posted on 2011-09-28
6
Medium Priority
?
171 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
[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
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
E_T_B earned 1000 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 12

Assisted Solution

by:Deepu Chowdary
Deepu Chowdary earned 1000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

New style of hardware planning for Microsoft Exchange server.
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

649 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