Solved

Reduce Size Mailbox Store Exchange 2003

Posted on 2009-07-03
11
2,386 Views
Last Modified: 2012-06-21
Hi,

I have an Exchange 2003 store that is quite big. Is there a way to run a process that will compact (reduce) the size of the store?

Thanks,

Mark
0
Comment
Question by:mbudman
  • 3
  • 2
  • 2
  • +4
11 Comments
 
LVL 8

Accepted Solution

by:
Jeff Rodgers earned 100 total points
ID: 24774353
It depends on a few things,

The largest of which would be your end users.  Encourage your end users to clean up their mailboxes.

You will not regain a lot of space until users have done this.

You can set up mailbox management rules to the server which will help with things like deleted items etc.

Here is some good info on that...
http://www.msexchange.org/tutorials/Mailbox-Management.html

Once users have dumped alot of their useless treasures, you may want to do an offline defrag to reduce some of the restored space.

Offline defrag instructions here....  http://www.petri.co.il/defragment_exchange_2000_2003_server_databases.htm

A strong word of caution though... make sure you have a stable exchange environment and be very cautious in doing this.  You can do severe damage to your environment otherwise.

Hope it helps!
0
 
LVL 3

Assisted Solution

by:gauravbhandari
gauravbhandari earned 100 total points
ID: 24774644
Addition:
1. If OL users are in cachec mode, tell them to take PST of their mailbox.
2. Set the retention period to 0 (for deleted emails & deleted mailboxes) in properties of Mailbox Store.
3. Tell users to delete unwanted emails & delete unwanted mailboxes.
NOTE: If any email or mailbox is deleted after setting retention period to 0, it will be deleted immediately & could not be recovered unless we  have a backup.
4. Wait for online maintenance to complete & then proceed with offline defrag using below mentioned steps:
- Dismount Mailbox Store.
- Open command prompt> point directory to BIN folder (by default the location is C:\Program Files\Exchsrvr\Bin)
- After pointing to BIN directory, run command eseutil /d "Path of .edb file" (Default: C:\Program Files\Exchsrvr\mdbdata\priv1.edb)
5. Offline defrag runs at a speed of 4-5 GB/hr. So, plan maintenace accordingly.

Let me know if you have any more questions :-)
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 100 total points
ID: 24774645
How big is quite big?  Size is different for everyone (no smutty jokes please!)
You cannot reduce you mailstore quickly if you have retention setup on it.  The default retention period is 30 days, so even if your users do a damn good job of housekeeping as Jeff has suggesed, or Auto-Archiving, nothing will happen until the 30 day period has expired and the items can be purged.
Check the settings on your store (limits tab).
To defragment the store to reduce space, you need to take the store offline.  Read the following article in case you need some guidance.
http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html 
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 4

Assisted Solution

by:Mike_Courtney
Mike_Courtney earned 100 total points
ID: 24774704
Exchange stores get big - it's their role. You need to have good management practice and mailbox limits to keep it down. .
To reduce the size on disk, as everyone else has mentioned use an offline defrag, but they'll only get big again.

Unless you have problems with space or backup windows I wouldn't bother with an offline defrag. The maintenance tasks that exchange runs defrag the database and that maintains their efficiency.
The unused space in the mdb file (white space) will be quickly reused

Look for an event id of 1221 in the app log to see how much space can be recovered in a offline defrag
0
 
LVL 23

Expert Comment

by:Malli Boppe
ID: 24775987
Is their a reason why you want to compact the size of the database.
Other options to create whits space is
use an archiving solution like Enterprise Vault
or
a tool like detachpipe to remove attachments
http://www.detachpipe.com/
I would never do an offline defrag not worth the risk unless its a must.
 
0
 
LVL 1

Author Comment

by:mbudman
ID: 24776630
Hi Everyone,

Thank you for all your comments regarding an off-line defrag. The reason I would like to do this procedure is to recover white space and reduce the amount of time it takes to perform the backup. Management has requested that I take measures to reduce all wasted space (not just Exchange) and since today (July 4) is a holiday for our American workers I thought I would tackle Exchange.

Our store (standard edition) is 40 Gig and we are only 70 users (3 years worth of email  data).

I am a little nervous about performing an off-line defrag, however I do have good backups in place.

After reading all the comments here, I will wait before performing a Defrag because according to the event viewer, the amount of White Space I would recover is insignificant. I therefore have to go over mailbox cleanup with the community first.

I was reading about recipient policies and mailbox management. If it possible to globally set the each user's mailbox to archive items older than a certain period?

Thanks for all you help!

Mark

0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24776650
You can use the Office Policy Templates to achieve this.  Here is a link to tell you more about it and a download link:
http://support.microsoft.com/kb/826170
There are different versions depending on the Office version(S) you use.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24776656
Be careful you don't delete the mail using a policy - your users will not thank you if you do.
0
 
LVL 4

Expert Comment

by:Mike_Courtney
ID: 24776681
don't be too scared about defrags. just understand what you're doing and have loads of disk available i'd suggesta min of 100gb for a 70gb database.

archiving mail just moves the space issue to pst's (depending on the solution) this can make it worse as exchange has a single instance storage method that helps keep overheads low
good luck
0
 
LVL 1

Assisted Solution

by:TroyWL8
TroyWL8 earned 100 total points
ID: 24809572
I agree with most of the comments and advise made above, however, IMHO

1. As Mike Courtney points out MS says they will reuse the white space so dont bother with defragmentation and that is kind of true but not always, i.e. all things must be properly aligned and in short it never is so yes there are valid reasons to defragment a database and you do get allot of value from doin so, however;
2. There is allot more going on during a fragmentation then just removing white space
3. I would not recommend that you just do defragmentation on its own, i.e. you really need to know the proper use of the tools and at minimum include isinteg as part of your process as well as a pre and post backup of the information store.
4. having users cleanup ahead of time as pointed out by Jeff and others is an excellent point to ensure you get the most out to the defragmentation.
5. Rule of thumb for defragmentation is to have a minimum of 110% of the EDB size, for a work space to build the temp EDB.
6. if you run a full maintenance process, you will end up with a cleaner, faster and more stable EDB that will backup faster and God forbid restore faster if needed.


0
 
LVL 1

Author Closing Comment

by:mbudman
ID: 31599673
Thank you for the quick repsonses. They were excellent
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

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.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

810 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