Exchange Defrag STM file online offline

Posted on 2008-10-14
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?
Question by:mortenhem
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Assisted Solution

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.

Expert Comment

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


Accepted Solution

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.

Author Comment

ID: 22709425
Thanks for the answers

Assisted Solution

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:


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.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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