How to Reduce Exchange Mailbox Database Size?
An approach that can be taken to reduce Exchange mailbox database size is by defragmenting EDB files. There are situations when the size of EDB files is way more than the expected size. There comes the need to reduce the size of Exchange mailbox (EDB) so that these database files do not consume much space. These spaces cannot be removed by moving mailboxes to a new database.
Instant Solution: Large Exchange Database File in Exchange Server always leads to problem such as: corruption, unable to access the data, etc… To resolve this problem users can use the EDB Recovery Software which help users to export the large offline/dismounted EDB file to PST file format. This utility provides Split PST Option that breaks the large Exchange database file to multiple Outlook data file. It supports .edb file of any version of the Exchange Server i.e. 2019, 2016, 2013, 2010, 2007, 2003. Also, the utility provides an advanced feature (Quick & Advance scan) that recover Exchange database from corruption with no loss of data and resolves mailbox corruption Exchange 2010/2013/2016 in a hassle freeway.
EseUtil to Shrink / Reduce Exchange Mailbox Database Size?
EseUtil.exe (command line utility of Extensible Storage Engine) can be used to shrink Exchange database. Defragmentation transforms the databases into contiguous storage and removes all the unused white spaces which in turn decrease Exchange database size.
Things to Remember
Working of EseUtil.exe to Perform Exchange Database Defragmentation
Eseutil creates a new database which contains all the information as that of the original database. Old database is deleted or is saved to some other location and the newer version is renamed as the original. In case of an offline Exchange database defragmentation, Exchange server creates a temporary database in which it preserves all the tables by copying from the original database.
The empty pages are removed and the indexes are rebuilt and updated according to the new positions. All the page links are updated and all the pages left in the database are tested for integration. Here are the simplified steps to perform Offline defragmentation of the Exchange database by Eseutil.
- The first step is to dismount the mailbox database, for which you need to launch Exchange Management Shell and perform the following commands –C:\ Windows\ system32>cd D:\ Mailbox\ ‘dbname’
D:\ Mailbox\ ‘db name’> Dismount-Database ‘db name’ - Now run Eseutil.exe for defragging the Exchange EDB file.D:\ Mailbox\ ‘db name’>eseutil /d ‘db name’.edb /t\\ testserver \defrag\temp.edb
- Now to mount the database back, execute the following command.D:\ Mailbox\ ‘db name’> mount- db ‘db name’
After performing all the steps, we can examine the database mailbox and see that all the white spaces have been removed and the EDB file is compressed.
When to Run Eseutil/D
There are many situations where offline defragmentation of Exchange database (EDB) is required. Some of which are mentioned where it is advisable to defrag Exchange database.
When Not to Run Eseutil/D
Even though Eseutil/D solves many situations, but there are times when executing Eseutil/D is not the right solution to the problem. Some of the situations are mentioned here:
Eseutil offline defragmentation should only be done when the database is an inconsistent state.
Conclusion
If Size of Exchange Mailbox getting too large, in this situation the best way to reduce Exchange mailbox database size by using Eseutil offline defragmentation, which would scrap out all the white spaces and shrink the size of the Exchange Mailbox files. The most important thing to keep in mind is to dismount the mailbox database before performing the offline defragmentation of Exchange database. Even if the issue persists, then use the automated wizard mention here and save the entire Exchange database to the Outlook PST file.