Solved

Exchange 2007 whitespace and export-mailbox command

Posted on 2014-01-06
8
9 Views
Last Modified: 2016-05-19
We have an Exchange 2007 Server that is reaching it's mailbox database size limit.  We have already bumped the size limit via the registry a few times and I would prefer to not bump again.  In effort to shrink the logical size of the database I have used the export-mailbox commandlet (with -deletecontent option set) to archive many GB's of data from user's mailboxes.  However the logical size of the Mailbox Database does not appear to be shrinking when we receive event ID 9688 in the application log.  I have checked that after running the export-mailbox commandlet that the actual size of user's mailbox is shrinking appropriately.
It's my understanding that after a full pass of the online defrag the deleted content should show up as whitespace and the logical size of the database should decrease.  Is my understanding correct or am I missing something?
0
Comment
Question by:dgmsg
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 13

Expert Comment

by:imkottees
ID: 39759601
Hi,

Size of DB will not shrink automatically.

Either you should perform an offline defrag or create a new DB and move all the mailboxes, then delete the existing db.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 68 total points
ID: 39759606
When you are running online maintenance for Exchange it only frees up space within the databaes itself. It does not change the file size of the database on the disk. Your scheduled backups should not be running during the online maintenance. Online maintenance should be running on a totally separate schedule.

If you want to recover the actual size on the disk the best way to do this is to create another mailbox database and move the mailboxes to the newly create database.

You could also do an offline defrag on the mailbox database using "ESEUtil" to cleanup the Whitespace, but this is not recommended and should not be required.

Offline Defrag - http://exchangeserverpro.com/defrag-exchange-2010-mailbox-database/

Will.
0
 

Author Comment

by:dgmsg
ID: 39759610
I understand the physical size of the DB will not decrease itself.  I am referring to the amount of whitespace/logical size of the database.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 13

Expert Comment

by:imkottees
ID: 39759619
Exchange 2010 may reuse those spaces but it will not immediately happen. if you want those spaces back go with either one of the options above.
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 132 total points
ID: 39760036
If you have removed a lot of content, it could be that the online process isn't completing in time and the space isn't being released.
Do you get event ID 1221 in the event viewer?

Simon.
0
 

Author Comment

by:dgmsg
ID: 39760231
Simon- I do get event ID 1221 in event viewer, the value listed there is nowhere near what I would expect based on the size of the data archived via export-mailbox command.  

Daniel
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 132 total points
ID: 39760790
If you have removed a lot of content, then it can take two or three passes before the full space is released.
Also remember that you are getting new content as well, which will use some of that space immediately. So you could be gaining 20gb a night, but losing 15gb during the day (example figures).

Simon.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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.
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 >>…
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…

947 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

20 Experts available now in Live!

Get 1:1 Help Now