skip to Main Content

Get mailbox database size and white space

What is the best way to get information about the mailbox database size? Why would you need to know the database size and white space of a database? What is the white space in a mailbox database? In this article, you will learn step by step how to retrieve the information. First, it’s essential to understand what the available new mailbox (white) space is.

What is the available new mailbox (white) space?

You already know what the database size is. The more mailboxes that contain email in a database, the more the database will grow. Right? Unfortunately, that is not the correct answer. The mailbox database will increase only in database size if there is no available new mailbox space available.

The database size is the size that is using the disk volume. If you have a 100GB mailbox database size, that means it will show as 100GB in size on the disk. Now, what is the available new mailbox space? Let’s say we will remove mailboxes from the database, or we move mailboxes to another database. The database will NOT shrink in size. What will happen is that the available new mailbox (white) space will be available.

Example of mailbox database size and available new mailbox (white) space

Database DB01 is 90 GB in total size. Only 70 GB is in use, and 20 GB is available (white) space. We moved mailboxes to another database, and users are deleting data from their mailboxes. A total of 20 GB is free, that’s the available new mailbox (white space).

Get mailbox database size and white space 1

Within time mailboxes are created, or mailboxes will grow in size on database DB01. It means that the database size will get bigger. It will first use the remaining 20 GB of available new mailbox (white) space. In our example, 10 GB is in use. The total database size remains at 90 GB, in which 80 GB is in use by the mailboxes, and 10 GB is the available mailbox space.

Get mailbox database size and white space 2

When there is no available white space left, it will take the available space of the volume disk D:\. The database will grow in size, and the disk space on the volume will grow together.

Get mailbox database size and white space 3

If we remove mailboxes or move mailboxes to another mailbox database, the white space will be available again. We will start all over again. The database will grow in size, and it will first use the available new mailbox (white) space.

Get mailbox database size and white space 4

Get mailbox database size and available new mailbox space

Run Exchange Management Shell as administrator. Make use of the Get-MailboxDatabase cmdlet. Run the following command.

Sort mailbox database size on available new mailbox space

We like to sort the output on the available white space.

It will look better if the statistics only show the size in GB. For example, if you want to place it in a document.

Clear available white space in the mailbox database

Read more on how to Clear white space in Exchange database.

Conclusion

In this article, you learned how to get mailbox database size and white space with PowerShell. It’s good to know how to find the mailbox database size and the mailbox available space. A good understanding of the mailbox available white space is essential. I hope that this article was informative to you.

Did you enjoy this article? You may like Pause all mailbox move request in Exchange. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

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

Back To Top