Solved

Compress database

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

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
To show how to generate a certificate request 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 Servers >> Certificates…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

911 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

22 Experts available now in Live!

Get 1:1 Help Now