How to ‘Shrink’ Exchange Database?

Summary: When the database becomes large, you need to shrink it to prevent data corruption and performance issues. In this post, we will discuss the detailed process to reduce the size of Exchange Server database. We will also mention an Exchange repair tool that can come in handy if the database gets corrupted due to large size or any other issue.

Exchange Server works with databases and transaction logs. The database (EDB) stores user mailboxes and other data. Gradually, with time, the database grows large, impacting the performance of server. Also, when any data is removed and deleted, the size of the database is not automatically reduced. So, you need to shrink or reduce the size of database manually. Below, we’ll see how to shrink or reduce the database size and re-gain the storage space.

Things to Consider Before Shrinking the Database

Before proceeding to shrink the database, consider the following things.

Process to Shrink the Database

Now, you need to see if the mailbox databases really need to be shrunk. There is a process to check this and shrink the database.

To see if the database has any white space and how much storage space you can reclaim when you shrink the database, follow these steps:

Get-MailboxDatabase -Status | Select Name, DatabaseSize, AvailableNewMailboxSpace

Dismount-Database <database name>

After this is done, you can now proceed to reduce the database size.

Eseutil /d <source edb file> /t <temporary edb file>

Mount-Database <database name>

To Conclude

If the database increases in size, it is not a nice situation as it may result in logs and database damage or corruption. To reclaim some space, you can shrink or reduce the size of the database. You can also consider adding another disk and moving the archive mailboxes or mailboxes which are not used to that disk. If the databases or transaction logs are damaged after a failure or lack of storage, the best option to recover all the data with minimal effort is to use an Exchange Database Recovery software such as Stellar Repair for Exchange. This application can help you recover mailboxes and other data from corrupt databases of any version and any size. It allows you to granularly export recovered user mailboxes, user archives, disabled mailboxes, shared mailboxes, and public folders to PST and other file formats. You can also export recovered user mailboxes directly to a live Exchange Server database.

Related Post

Stellar Data Recovery

Trial Download is for Desktop or Laptop. Put your email id to receive the download link




Exit mobile version