Solved

Compress database

Posted on 2008-06-18
5
1,829 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Distribution Group 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 Recipients >>…
how to add IIS SMTP to handle application/Scanner relays into office 365.

760 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

23 Experts available now in Live!

Get 1:1 Help Now