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
Solved

Compress database

Posted on 2008-06-18
5
1,832 Views
Last Modified: 2012-05-05
I had a user with a 30GB Mailbox.  My priv1.edb was 55GB.  I deleted the AD account for the user and then Purged the mailbox.  It had a red X next to the mailbox name in System Manager.

Then I stopped all Exchange services and ran:

C:\Program Files\Exchsrvr\MDBDATA>..\bin\eseutil /d priv1.edb

It ran most of the night.  However when it was done the priv1.edb was still 55GB.

How can I shrink the size of the priv1.edb?

Thanks,
0
Comment
Question by:SoftBlueIT
5 Comments
 
LVL 35

Accepted Solution

by:
rakeshmiglani earned 250 total points
ID: 21815218
it does not work that way.
after the mailbox has a red x, you also need to right click on it and then purge it
after that the online maintenance runs and marks the space as white space
once that has been done, you can run an offline defrag using the above command to defrag the DB and get the disk space back.
0
 
LVL 25

Assisted Solution

by:kieran_b
kieran_b earned 250 total points
ID: 21818545
If you have Deleted Mailbox Retention on - that will also slow things down.

Set deleted mailbox retention to zero, wait till the next day, check for event 1221 in the event logs before you run ESEUtil and you will see if it is worthwhile
0
 
LVL 1

Expert Comment

by:laks
ID: 23723992
I found that I had to go in and DISMOUNT the database stores first, then I could run the command ""c:\Program Files\Exchsrvr\MDBDATA>..\bin\eseutil /d priv1.edb"".

I also had to put "quotes" around spaces if I had Mail Store 2.edb for "Mail Store 2.edb" for it to run.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
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 …
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…

829 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