Solved

DB won't go down even after defrag

Posted on 2008-10-14
6
196 Views
Last Modified: 2010-04-07
To all,

I have an exchange 2003 database that we keep trying to defrag, it goes through with no errors, but the size won't go down the db is showing 26gb but if you add up the mailboxes its only 11gb now after cleaning some up, any ideas?

Thanks!!
0
Comment
Question by:reysrivera
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:michaelgoldsmith
ID: 22715457
Unless you dismount the mailbox store and run an "offline defrag", than Exchange just marks the database that has been cleaned up as "white space". That is why the database remains the same size.
0
 

Author Comment

by:reysrivera
ID: 22715502
The last time I check it won't let you defrag unless the DB is dismounted so answer your question the DB is dismounted but nothing gain on the DB size.
0
 
LVL 12

Accepted Solution

by:
michaelgoldsmith earned 450 total points
ID: 22715540
Sorry, thought you were referring to the cleanup mailbox wizard.

What do you have your retention settings set at?

Try setting your retention to 0, clean up everything, and run another offline defrag. That should show a reduction in DB size.

 
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:reysrivera
ID: 22715912
I have the retention set to 7 days so I set it to 0, run the defrag again and no reductionon DB. Should I wait so auto maintenance wil do it thing and run defrag?
0
 
LVL 12

Assisted Solution

by:michaelgoldsmith
michaelgoldsmith earned 450 total points
ID: 22716020
yes. you need to have auto maintenance run (i assume overnight as that is the default). Then run an offline defrag at the next possible window.
0
 
LVL 5

Assisted Solution

by:drothbart
drothbart earned 50 total points
ID: 22718148
If online defrag runs correctly, it reports the amount of white space after running. I believe the event id is 1221, but I could be mistaken.

Like Michaelgoldsmith says, deleted items (dumpster items) will take up space too. I believe you can add those columns to the ESM view. I know you could in 5.5. That will show you how much the dumpster items are consuming.

I'm away from my servers or I'd check for sure; sorry.

Dan
0

Featured Post

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.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an Accepted Domain 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 >> Ac…
This video discusses moving either the default database or any database to a new volume.

789 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