exchange 2003 .stm file

Posted on 2005-05-13
Last Modified: 2008-01-09
can someone explain in plain english what happens in the exchange .stm file
i have about 1 gb of free white space in my priv.edb file
the .edb file is not growing as expected because of the white space
the .stm file grows just about everry day
at this rate i will reach the 16gb limit  soon
question 1 .....does the .stm file ever shrink?
does it  have white space
when i delete internet email does that create white space on the .stm file?
question 2......once data enters the .stm file does it ever leave?
what kind of email should i delete from mailboxes to stop the file from growing ?
what type of data is in this file?

Question by:dano992
    LVL 27

    Expert Comment

    See this article about the STM file. I couldn't say it any plainer:;en-us;232323
    Native Content Storage in Microsoft Exchange


    Author Comment

    ok but still doesnt explain why my stm file keeps growing on adaily basis
    even when i delete a ton of internet mail
    when i delete internet mail shouldnt the stm file get smaller or free up some space?
    LVL 8

    Expert Comment

    Your STM file and EDB file will not shrink in size until you do an offline defragmentation.

    Keep in mind that once the Offline Defrag is done you will need to remove all the exsisting log files and .chk file associated with the database so that exchange can create new ones.


    Author Comment

    i understand that
    what im trying to understand is if i delete internet email from users mailboxs
    will that create white space in the stm file and stop it from growing every day
    what im trying to accomplish here is to stop the stm file from growing so fast
    i have plenty of white space in the edb file
    so i need to know what i should be deleting in order to create room in the stm file
    LVL 8

    Expert Comment

    Deleting mail that has HTML in it will remove data from the stream file. Again you need to do an offline defrag.

    Just back the database up before running the defrag

    the command is Eseutil /d "then the path to the priv1.edb file"

    Author Comment

    so if i delete html email that should create white space on the edb file
    which it will use as new html email comes into the store
    same way as the edb file uses with the white space
    i  dont want t to an offline defrag i just want to create some room in the stm file
    LVL 8

    Accepted Solution

    Yes delete HTML content and when the Online Defrag runs it will take care of the Stream file as well.
    LVL 24

    Expert Comment

    Though ITC and EA have answered most of your questions, I wanted to add my $0.02L

    This helps to demystify the .stm file.
    From question:

    The .STM file, or streaming file, holds non-MAPI information while the .edb file, or the Exchange database (essentially a large JET (Access) database holds the messages and the MAPI information.  If someone sends e-mail or accesses e-mail from a non-MAPI client (POP3, IMAP4, Web), that e-mail is stored in the .stm file.  Mail from the internet is also non-MAPI and comes in a format called MIME. This information is also stored in the STM file.

    It may be converted to MAPI when a MAPI user (Outlook) accesses it and it is also converted to MAPI when the Move Mailbox wizard is used.  There also may be pointers in the .edb to information in the STM.

    Here are a few links that help to demystify the STM file:
      (about 1/3 of the way down in the document the STM is discussed)

    Native Content Storage in Microsoft Exchange;en-us;232323
      (Good article...communicates the idea behind the STM very well)

    LVL 8

    Expert Comment

    THank you for the points

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Want to promote your upcoming event?

    Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

    Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this video we show how to create an email address policy 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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    779 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

    16 Experts available now in Live!

    Get 1:1 Help Now