Solved

Data base shrink

Posted on 2014-01-19
6
191 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
ID: 39793237
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
ID: 39793274
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
ID: 39793303
Yes you can do that. even you can reduce the deleted items retention to achieve this.

Remember you cannot get back those emails.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:D_Batona
ID: 39793322
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
ID: 39793331
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
ID: 39793333
Yes,
Actually saying archiving I meant archiving to pst file that was done.
Good to know.
Thank you very much!!!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create an email address policy 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 Mail Flow…
This video discusses moving either the default database or any database to a new volume.

808 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