[Webinar] Learn how to a build a cloud-first strategyRegister Now

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

exchange 2003 .stm file

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?

1 Solution
See this article about the STM file. I couldn't say it any plainer:
Native Content Storage in Microsoft Exchange

dano992Author Commented:
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?
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.

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

dano992Author Commented:
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
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"
dano992Author Commented:
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
Yes delete HTML content and when the Online Defrag runs it will take care of the Stream file as well.
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
  (Good article...communicates the idea behind the STM very well)

THank you for the points

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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