Exchange Mailbox statistics is way off

William Lodge 26 Reputation points
2021-04-09T13:27:54.017+00:00

I have never run into this before a few days ago. I have a user that received a lot of messages in their mailbox after an automated process went off the rails, so the mailbox size ballooned to over 8.5GB; normal users have a ProhibitSendQuota of 1GB, and a ProhibitSendReceiveQuota of Unlimited. Naturally this was a problem for the user. They performed some cleanup on the mailbox and actually reduced it down to just over 50MB. The problem is that while Outlook reports the folder size to be about 50MB, the mailbox size statistic used when reporting the quota is over 1.5GB. I check in Powershell with "Get-MailboxStatistics <user> | select *size" and the TotalItemSize is 1.507GB; this is the value being used for emailing nags about the quota and what Outlook reports as the total mailbox size. I run "Get-MailboxFolderStatistics <user> | select Name, *Size | ft" and the Top Of Information Store reports the FolderAndSubfolderSize is 57.87MB; this matches what can be seen when looking at the folder sizes in Outlook. I expected this to take up to 12 hours or so to catch up, but it's been a few days and the numbers just aren't updating. I thought moving the mailbox would shake things up and make it right itself, so I moved the mailbox to another database; the move took forever, since it had to move almost 9GB of recoverable items, but it did complete. There is still no change to the Mailbox Statistics.
Anyone else run into this? We are running Exchange 2016 CU19.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,326 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 40,781 Reputation points
    2021-04-12T07:18:52.15+00:00

    Hi anonymous user,

    I check in Powershell with "Get-MailboxStatistics <user> | select *size" and the TotalItemSize is 1.507GB; this is the value being used for emailing nags about the quota and what Outlook reports as the total mailbox size. I run "Get-MailboxFolderStatistics <user> | select Name, *Size | ft" and the Top Of Information Store reports the FolderAndSubfolderSize is 57.87MB; this matches what can be seen when looking at the folder sizes in Outlook.

    Get-MailboxStatistics cmdlet is used to return information about the entire mailbox, while Get-MailboxFolderStatistics cmdlet retrieves information about the folders, so basically this is normal that the TotalItemsSize is larger than the folder size appears in the Top Of Information Store. But considering that the TotalItemSize(1.507GB) in your situation is almost 3 times larger than the size of Top Of Information Store(57.87MB), I would recommend running the following command and have a look at the folders which have large size:

    Get-MailboxFolderStatistics <UserName> -FolderScope nonipmroot | Select Name, FolderPath, FolderSize, FolderAndSubfolderSize
    

    You may remove all personal information involved and share the output here for further analysis.


    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 additional answers

Sort by: Most helpful