Exchange database edb size

超 马 201 Reputation points
2022-12-08T02:29:36.743+00:00

Is there a way to smoothly reduce the database edb file size?
I've tried moving 50% mailboxes to another db, however the original db's edb file size keeps the same.
I've learned db defrag using eseutil can release the space, but it must dismount the db which is unwanted.

By the way, can someone tell me the clear defination of this parameter "availablenewmailboxspace"?

Get-MailboxDatabase -Status |select name,databasesize,availablenewmailboxspace

Exchange Exchange Server Management
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2022-12-08T11:47:36.96+00:00

    That command is not useful actually: https://practical365.com/using-powershell-to-get-mailbox-database-size-and-available-new-mailbox-space/

    If you want to reduce the database size, I would move ALL the mailboxes to another database and then delete the source DB after that.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2022-12-08T16:16:14.193+00:00

    You can get the amount of whitespace in a database by running the following cmdlets in Exchange Management Shell:

    Get-MailboxDatabase -Status | Format-List Name, DatabaseSize, AvailableNewMailboxSpace –Auto  
    

    Before starting defragmentation, ensure that you have enough free space (110% of the size of the database) available on the server (or the network).


  2. LilyLi2-MSFT 1,981 Reputation points
    2022-12-09T04:53:06.937+00:00

    Hi @超 马 ,

    “Available new mailbox space” is sometimes referred to as “white space”.
    When you move mailboxes to another database, this does not reduce the size of the EDB file for the database, but only generates a 'White Space' to store the new data.

    For 'White Space' in Exchange Database, you can refer to this article: the-puzzling-mathematics-of-white-space-in-exchange-database
    Please Note: Since these web sites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    If you want to reduce Exchange database edb size, you could follow Andy's suggestion.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.