[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

Reducing Exchange 2003 file size

We have a Domain Controller 2003 server that houses our user files and runs Exchange 2003 sp2.  The Exchange folders are taking up 137G of the drive.  The total drive size is 273G.  The user files take up about 49G.  Within the exchange folder priv1.edb is 19G and priv1.stm is 6G.  There is a large amount of log.txt files in the folder (6000 but they are small)

I've had all the users (60) clean out and delete any unwanted emails, but that has not reduced the size, it keeps increasing.  No user has more than 1g mailbox size now.

Is there are way to reduce the size so I can run an offline defrag.  These are the tools ISINTEG and ESEUTIL but I'm not sure how to use them.  The tools says it needs 110% space to be able to run.

Any help greatly appreciated.
Greg
0
Since1
Asked:
Since1
  • 8
  • 4
  • 2
  • +1
2 Solutions
 
Sector5Commented:
Hi Since1,

The size of the DB will not normally change even if you delete Mailboxes and do a cleanup. When doing an Offline defrag you will have to have the size of your DB available on your local drive because it copies all the data locally, cleans up your DB, resizes it and then copies all data back. This process can take many hours depending on the size of your DB.

http://support.microsoft.com/kb/328804
 http://www.petri.co.il/defragment_exchange_2000_2003_server_databases.htm
0
 
MegaNuk3Commented:
Aren't the .log fies 5Mb big each? in which case you have 30Gb of log files?

time to do a full online exchange backup to truncate those log files.

you should always do a full onlne backup before performing a defrag anyway. Have a look in the application event log for a 1221 event, which will tell you how much the database will shrink by if you were to do an offline defrag
0
 
MegaNuk3Commented:
what else is taking up the space if you only have 25Gb of Exchange databases, possibly 30Gb of logs = 55Gb. Not 137Gb like you said.
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 
MegaNuk3Commented:
Install FolderSize to see what is eating the space in there:
http://foldersize.sourceforge.net/
0
 
Since1Author Commented:
Her is what I get for folder sizes in exchange.  The MDBDATA is 144,613,936

This is the most recent 1221

Event Type:      Information
Event Source:      MSExchangeIS Mailbox Store
Event Category:      General
Event ID:      1221
Date:            3/31/2010
Time:            6:00:00 AM
User:            N/A
Computer:      CHURCH
Description:
The database "First Storage Group\Mailbox Store (CHURCH)" has 5398 megabytes of free space after online defragmentation has terminated.

For more information, click http://www.microsoft.com/contentredirect.asp.


Greg
folder-size.docx
other-folder.docx
0
 
Shreedhar EtteCommented:
Hi,

Exchange transaction logs might be using the space.

Do you regularly perform the full backup of the exchange database? Of not then perform a exchange full backup using NTBackup. Backup will purge the committed transaction log files.

I hope this helps,
Shree
0
 
MegaNuk3Commented:
You must have more than 6,000 log files in there from looking at your pictures of the file sizes in the mdbdata folder. Around 23,800 logs would be my guess based on the size of the MDBDATA folder and the size of the databases from your pictures.

Also the offline defrag is only goin to give you 5Gb back so it is not worth doing...

Time to run a full backup to truncate those logs or at least an incremental if you don't have enough tape space for a full backup. I would definitely recommend a full backup though.
0
 
Since1Author Commented:
I'll run full backup friday night and post the results.

Greg
0
 
Since1Author Commented:
After doing the full backup it went from 136G down to 25G.  So I should be doing a full backup at least once a week to keep the size down?

Greg
0
 
MegaNuk3Commented:
Yes, but mainly for recovery purposes.
0
 
MegaNuk3Commented:
And do incrementals or differentials every night apart from Friday. Incrementals will truncate the logs, but if you do a restore then you need to restore a full + all incrementals since the last full. Differentials don't truncate the logs, but if you need to do a restore then it is the last full + the last differential.
0
 
MegaNuk3Commented:
So full backup on Friday and diff/Inc all the other nights OR if you have enough tapes then do a FULL backup every night.   :-)
0
 
Shreedhar EtteCommented:
If you have enough tapes or disk space then daily full backup of exchange database will be a good option.
0
 
Since1Author Commented:
Thanks guys appreciate the help.
0
 
MegaNuk3Commented:
Thanks for the points, one thing though:
My comment post #29096572 was a whole day earlier than shreedhar's comment #29211893 which you have marked as the solution and both comments say to do a full backup.

oh well a least I got some points.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 8
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now