question

WilliamLodge-8808 avatar image
0 Votes"
WilliamLodge-8808 asked WilliamLodge-8808 commented

Exchange Mailbox statistics is way off

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.

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered WilliamLodge-8808 commented

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.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I ran the command and copied the data to a spreadsheet; I then filtered out everything less than 1MB. Still doesn't seem to add up. The only thing sizeable is the recoverable items. I did check the Mailbox Statistics this morning and it's back to where I expect it to be: 68.02 MB. My guess is the mailbox assistant just didn't finish going through this mailbox until sometime this past weekend. Thanks for the assistance. ![86994-mbfoldersize.png][1] [1]: /answers/storage/attachments/86994-mbfoldersize.png

1 Vote 1 ·