exchange 2007 purge deleted data

have an exchange 2007 server, its near the 250gb limit. deleted data from mailboxes but it hasn't released from the store yet as I'm sure there is a setting to allow to retrieve deleted items somewhere that I am not aware of .

I need to purge this deleted data, how do I do so to free up space.
jlaveryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jrhelgesonCommented:
Purge deleted mailboxes:
$mailboxes = Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics –Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, mailboxguid, database
$mailboxes | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Open in new window

0
DhananjayTechnical ConsultantCommented:
You have perform the de-fragmentation  on the exchange server database.  Before defragmentation run online defragmentation of the database to make more free space. Event id 1221 in application show how much free space available in your exchange database.

To perform the defragmentation refer below link :

http://technet.microsoft.com/en-us/library/aa998863(v=exchg.80).aspx

http://social.technet.microsoft.com/Forums/exchange/en-US/b04aa064-f58e-442e-914d-532532aaff0a/what-exactly-does-an-exchange-2007-online-defragmentation-of-the-database-do-is-there-a-way-to?forum=exchangesvrgenerallegacy
0
Simon Butler (Sembee)ConsultantCommented:
The 250gb limit is a soft limit, so you can increase it.
Plus you can have more than one database on the server.
I wouldn't recommend following the advice to offline defrag the database, because that requires downtime and is not risk free. Create a new database, move the content to it and drop the original.

Or just increase the database limit - you can go up to 8tb.

Simon.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jlaveryAuthor Commented:
simon how do i increase that db size.. there a reg entry somewhere?
0
Simon Butler (Sembee)ConsultantCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.