?
Solved

Compress database

Posted on 2008-06-18
5
Medium Priority
?
1,836 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 1000 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
how to add IIS SMTP to handle application/Scanner relays into office 365.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

765 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