Solved

Exchange Defrag STM file online offline

Posted on 2008-10-14
5
1,848 Views
Last Modified: 2012-08-14
I have a big stm file, how do I schrink this file. I don't think the offline defrag schrink the file enough. Is there a way where you can see what's in the file?
Another question. Is it possbile to schrink the .edb and .stm  files online or do you have to make an offline defrag?
0
Comment
Question by:mortenhem
5 Comments
 
LVL 9

Assisted Solution

by:abdulzis
abdulzis earned 100 total points
ID: 22709202
There is no way to individually shrink an STM since it acts in coordination with EDB file.

To shrink the EDB/STM files Physically, you have to take the database offline.
0
 
LVL 4

Expert Comment

by:Mitch1981
ID: 22709207
You can use eseutil for defrag the stm and edb files.
For schrink the files you must use the offline defrag.

Bye.
0
 
LVL 4

Accepted Solution

by:
apcsolutionsuk earned 200 total points
ID: 22709364
If the online defrag isn't clearing that space then there is nothing that you can do. The offline defrag can only reduce the file by the amount of free space within the database.

How long is your deleted item retention set to? That can often explain a lot of the "used" space.

Otherwise consider an upgrade to SBS 2003 to get Exchange 2003. With the next service pack (due later this year) the maximum capacity of the database will increase from 16gb to 75gb.
0
 

Author Comment

by:mortenhem
ID: 22709425
Thanks for the answers
0
 
LVL 2

Assisted Solution

by:TalonNYC
TalonNYC earned 200 total points
ID: 22712727
Tooting my own horn here, but I have a blog entry on why you may/may not need to do offline maintenance.  The STM files are locked to the EDB's, so the same rules apply there:

http://www.beingexchanged.com/2008/10/online-versus-offline-defragmentation.html


0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Distribution Group 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 Recipients >>…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

895 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

14 Experts available now in Live!

Get 1:1 Help Now