While adding data to Exchange mailboxes, the size of the Exchange database increases naturally. But, when it comes to deleting data, the size of the Exchange database may not reduce necessarily – it may remain the same. For example, let’s say that you remove 4GB of data from the 30GB Exchange database, so the expected size of the database should be 26GB. But, after removing the data, you will notice that the size remains the same, which is 30 GB. However, there would still be 4 GB space available to add new data. This ‘Available new mailbox size’ is commonly known as Whitespace.
Although Microsoft professionals suggest that this is not the right term to describe this space, most individuals consider it as Whitespace, as it is available but not visible. Whitespace is the free space area in Exchange databases, which is created after the deletion of an item or object (like a mailbox). The Whitespace is reused by the Exchange database to store new items and objects. However, it will not be visible, as said above. But, you can reclaim this space manually by removing the white space.
If you’re familiar with Exchange management shell and PowerShell commands, then there are three ways to find the white space in Exchange Database. You can use the below commands to find white space.
Talking about the manual methods, there is only one way to remove white space from the Exchange database by using Defragmentation. Now, this process can be carried out online and offline. Below, we have covered both methods in detail.
Online database defragmentation process is entirely automatic. You do not need to initiate it; Exchange will automatically run it every night. However, online defragmentation does not reduce the size of the database – it remains same. It removes the expired messages. It also cleans up deleted mailboxes on mailbox store. To reduce the size of the database, you should go for Offline defragmentation.
Offline database defragmentation helps in reduce the size of Exchange database. Using this process, you can compact the size of the database by eliminating the unused storage space. This process creates a new database having no empty pages (it replaces the older ones with the new ones or deletes the older ones). You can perform defragmentation by Eseutil facility. This process improves the efficiency of Exchange database. But you can do this only when you have large amount of free space.
You can easily defrag the Whitespace in exchange database with a simple process, which we have described below.
Apart from its large size, Exchange Database can be affected by many other issues including DDB file corruption. A corrupt EDB file becomes inaccessible to its users. So, the EDB files needs to be repaired at the earliest. But you can try third-party Exchange recovery tools to fix such issues. Kernel for Exchange Server Recovery is an efficient tool in fixing all Exchange related issues including corruption.
Having Whitespace in Exchange Database is not a big deal, but for new users, it often becomes complicated to understand how much space is available in their Exchange Database. So, in this article, we have covered what Whitespace is and how it can be removed from Exchange database.