Data base shrink

Db size before archiving was around 70 GB.
After archiving and using ESEUtil /d  50GB.

The following command gives me around 17GB total of all user mailboxes.

Get-MailboxDatabase "db1" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount

But next command shows no white space , 50 GB total.

Get-MailboxDatabase -Status | ft name,databasesize,availablenewmailboxspace -auto

What the h.. is taking 33 GB?

Thank you.
D_BatonaAsked:
Who is Participating?
 
imkotteesConnect With a Mentor Senior Messaging EngineerCommented:
Hi,

Though you have deleted from mailboxes it will be there in the dumpster. you will be able to see those spaces after the retention period.

Use the below command to get the size of mailbox including dumpster.

Get-MailboxStatistics -Database "Database Name"| Sort-Object {$_.TotalItemSize.Value.ToMB()} -Descending | FT DisplayName, {$_.TotalItemSize.Value.ToMB()}, {$_.TotalDeletedItemSize.Value.ToMB()}
0
 
D_BatonaAuthor Commented:
Y,
looks you are right.

Can I use this command to speed up the process?

Search-mailbox -identity <alias> -SearchDumpsterOnly -DeleteContent
0
 
imkotteesSenior Messaging EngineerCommented:
Yes you can do that. even you can reduce the deleted items retention to achieve this.

Remember you cannot get back those emails.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
D_BatonaAuthor Commented:
The problem is those items were not deleted but properly archived using Outlook.
Why they went to dumpster after being archived?
Never seen that on Exchange 2007 we used before moving to Exchange 2010.
Thank you.
0
 
imkotteesSenior Messaging EngineerCommented:
Not only archiving, even if you are moving emails to PST other copy of emails will be moved to dumpster (deleted items). outlook thinks that they have been deleted.
0
 
D_BatonaAuthor Commented:
Yes,
Actually saying archiving I meant archiving to pst file that was done.
Good to know.
Thank you very much!!!
0
All Courses

From novice to tech pro — start learning today.