Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Troubleshooter: Understanding the Relationship Between the .edb and .stm Files
 

How are .edb and .stm files related, and when is content moved from one to the other?

A message database's .stm file stores contiguous sequences of streamed content. MIME-format messages from the Internet have a unique property: They always arrive as a stream of bytes. In Exchange Server 5.5, the Internet Mail Service (IMS) accepts inbound MIME messages and writes them to a disk queue, in which Exchange converts them to the internal Transport Neutral Encapsulation Format (TNEF) that the Information Store (IS) uses. Content can be converted back and forth several times, depending on whether an Internet or Messaging API (MAPI) client asks Exchange 5.5 for the message. Each conversion, however, results in a set of disk I/O operations, so unnecessary conversions increase the I/O load on your servers, reducing performance.

Exchange 2000 Server fixes this problem by making the .stm file the default location for inbound Internet-protocol traffic. Exchange 2000 converts a message's header properties to Rich Text Format (RTF) and stores them in the .edb file so that MAPI clients can use them. This process is called property promotion. If a MAPI client later requests another message property (including the message body), the IS converts that property to RTF and places it in the .edb file. After conversion, the message remains in the .edb file, never to return to the .stm file.







Reader Comments

Since SMTP in the native protocol between E2K servers, are messages sent between servers needlessly converted too many time when MAPI clients being involved? In other words, if a MAPI user on one server sends a message to a MAPI user on another server does it goes from EDB to STM over to the other servers STM then promoted to EDB for the recipient client to open?

Steve Clark -August 14, 2002

So when data is removed from the .EDB file it is NOT removed from the .STM file? How can I remove data that was related to the .EDB file from the .STM file, since once the .edb is removed it is no longer usefull? I know this is 2.67 years late, but still..

Anonymous User -March 19, 2005
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement