• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1872
  • Last Modified:

Exchange Defrag STM file online offline

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?
3 Solutions
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.
You can use eseutil for defrag the stm and edb files.
For schrink the files you must use the offline defrag.

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.
mortenhemAuthor Commented:
Thanks for the answers
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:


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now