Simple Steps to Defrag Exchange Mailbox Database

This article will guide you on how you can defrag Exchange mailbox databases using various methods. Before learning the techniques, you should first know about basic information.

Microsoft Exchange server is the database of the mailbox items. It saves the emails and provides access points to send and receive emails. Whenever you delete an item from the database, the size of the database file remains the same. It causes space in the database filled with unnecessary files.

Because of this reason, we need to defrag the Exchange mailbox database. This operation removes the unwanted space and frees up the database. After that, it has sufficient space for new files. Now, you can do it through various methods.

You can defrag Exchange mailbox database using the Eseutil.exe. It is the most used method. However, you have to fulfill the requirements before defragmenting the file.

Prerequisites for Exchange database defragmentation

  • This operation requires free space of more than the size of the database file. So first, ensure that you have sufficient space.
  • Before operating, you must have created a backup of the mailbox file. It will help you in case of file corruption.

These are the necessary conditions required before the operation. Now, let’s learn how to defrag exchange 2013 databases.

Methods to Defrag Exchange Mailbox Database

You can defrag exchange 2016 databases through various techniques. These techniques defrag the database without using any additional tool. This method is known as a manual solution. It is a simple method and suitable for users who have some knowledge about the functioning of an Exchange server.

Below is the manual procedure to defrag exchange 2010 database and later versions.

  • Find and launch the Exchange Management Shell.
  • Check the size of the available database using the following commands.

Get-MailboxDatabase -Status | ftname,databasesize,availablenewmailboxspace -auto

It will show the occupied space and free space in the Exchange server.

  • After that, dismount the database by using the following commands. Press ‘Y’ to confirm.

Dismount-Database <database name>

  • Next, Go to the desired database using the ‘cd’ command followed by the database path.
  • Run the below command for defragmenting the Exchange database.

Eseutil /d “database name.edb” /t “temp_database name.edb”

  • Now, as the database gets defragmented, mount the database by using the following command.

Mount-Database <database name>

  • After mounting the database, you can check the size of the defragged database. Give the following command.

Get-MailboxDatabase -Status | ftname,databasesize,availablenewmailboxspace -auto

You can perform the above operation in the Powershell. Besides that, you don’t need any other tool to defrag Exchange mailbox databases. The above methods can reduce the size of the database file up to a definite limit. Beyond that, removing the free space becomes impossible. The ideal solution, in this case, is to take the backup of the Exchange database and delete the file.

Professional Method to Solve the Issue

You can take a backup of the Exchange database using third-party software. It is a professional method that solves the issue. The Sysinfo EDB to PST Converter Tool is a reliable tool for converting fragile EDB files into PST file format.

This way, you can take backup of your Exchange database. After that, delete all the unnecessary data and free up space. It creates available space and finishes the need to defrag Exchange mailbox databases. The automatic solution offers various features over the manual technique.

  • It is a simple alternative to the complex manual steps.
  • Converting the EDB files is a safe and secure option because the chances of file corruption are low.
  • You can take a backup of the Exchange database and restore complete information.
  • Equipped with advanced features to facilitate the conversion.


The manual steps to defrag Exchange mailbox database is not a suitable method for fixing the issue permanently. The best way is to take backup of the database and delete the unnecessary files. EDB to PST converter is an ideal software that saves the Exchange EDB files as PST files. It also provides various features making the conversion easy and effective. Additionally, you can resolve exchange database corruption using this tool.

Leave a Reply

Your email address will not be published. Required fields are marked *