Solved

Compress database

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.

695 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