Exchange 2003, EDB, STM Move mailbox

Posted on 2011-10-15
Medium Priority
Last Modified: 2012-05-12
Good morning people,

Doubts about the EDB and STM Exchange 2003.

I'm doing a defragmentation process of mailstore "MS1" of my environment.

I have a mailstore size following:
ms1.edb giga = 16
ms1.stm = 33.giga

I created a new mailstore "ms2", and now I'm moving all the mailboxes from MS1 to MS2.

Is there any reason to be so stm size smaller?
Question by:eduardort
LVL 10

Expert Comment

ID: 36973197
You will have a second streaming file for the other mail store (STM file)  they will still be the same size combined.

Author Comment

ID: 36973209
Sorry but i dont understood, how i have 2 stm ?

Expert Comment

by:Em Man
ID: 36973212
is that the result after the defragmentation?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.


Accepted Solution

Em Man earned 2000 total points
ID: 36973225
When Eseutil defragments a database by eliminating unused storage and compacting the database, Eseutil actually creates a new database that contains all the information from the original database. When defragmentation is complete, the original database is deleted or saved to a user-specified location, and the new version is copied over the original. If the utility encounters a serious logical problem in the database, defragmentation stops. The database must then first be repaired with Eseutil /P before it can be defragmented.

When an offline defragmentation is performed, Exchange makes temporary copies of the database file (.edb file) and the streaming database file (.stm file). Tables from the .edb file are preserved and copied into the temporary database, but empty pages and indexes are discarded. Because this causes physical page numbers in the database to be changed, pages are not copied unaltered; the page links between them are all updated, and all pages left in the database undergo integrity checks. All pages in the .stm file that has information on them are preserved in the temporary .stm file, and references to the pages are updated in the .edb file.
LVL 32

Expert Comment

ID: 36973266
Yes, if you look in your application log you will find 1221 events that identify how much whitespace there is within a database
When you move mailboxes between database you will eliminate this whitespace
You will also lose all messages in the recovery bin for each mailbox which will also reduce file sizes
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36973922
Yes after defragging automatically size will be reduced.
If you want to confirm yourself, just check the event id 1221 before and after the defrag process.
You will clearly come to know how much size is reduced by this process.

Author Comment

ID: 36974617
Thanks for the replies.

Once you've move all mailboxes from MS1 to MS2. See how the files got.

ms1.edb giga giga = 16
ms1.stm giga = 33

after move

ms2.edb giga = 22
ms2.stm mega = 63

Our decreases too.

Now I remove the mailbox MS1, defragment it and move the accounts again from MS1 to MS2.

I'll post the results.

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

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

840 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