Solved

Data base shrink

Posted on 2014-01-19
6
188 Views
Last Modified: 2014-01-19
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.
0
Comment
Question by:D_Batona
  • 3
  • 3
6 Comments
 
LVL 13

Accepted Solution

by:
imkottees earned 500 total points
Comment Utility
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
 

Author Comment

by:D_Batona
Comment Utility
Y,
looks you are right.

Can I use this command to speed up the process?

Search-mailbox -identity <alias> -SearchDumpsterOnly -DeleteContent
0
 
LVL 13

Expert Comment

by:imkottees
Comment Utility
Yes you can do that. even you can reduce the deleted items retention to achieve this.

Remember you cannot get back those emails.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:D_Batona
Comment Utility
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
 
LVL 13

Expert Comment

by:imkottees
Comment Utility
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
 

Author Comment

by:D_Batona
Comment Utility
Yes,
Actually saying archiving I meant archiving to pst file that was done.
Good to know.
Thank you very much!!!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now