How to reduce the priv1.edb and priv1.stm file size

Help How to reduce the size  the priv1.edb & Priv1.stm files
We had over 105GB for  priv1.edb and 29.5Gb for priv1.stm? can you please provide me an instruction how to reduce the priv1.edb and also the priv1.stm.?
Using Exchange 2003
Please give me the instruction step by step.

Thanks
Ram Kumar ChellamSr. System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glen KnightCommented:
You can use eseutil to defrag the store and recover any free space it might have http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html 
0
Alan HardistyCo-OwnerCommented:
Extract from http://technet.microsoft.com/en-us/library/aa997972.aspx
During normal operations, database files never shrink below their current size. As space in the database is freed by deletion of items, existing pages are reused where possible. Typically, a Microsoft Exchange Server database will grow for several months after it is placed in service, but eventually the database size stabilizes.
Under normal conditions, performing an offline defragmentation does not permanently recover significant disk space. The file will tend to grow again to its previous size before defragmentation.
My Two Penneth:
If you want significant reduction in size, you need to reduce the mailbox retention period to 0 (assuming it is higher) and get your users to archive significant amounts of mail.  You can then defrag as Glen has described above and this should reduce the store size.  Anything else is pretty much a waste of time.  Set the retention back to what it was before.
0
CitacompCommented:
The MSExchange article is a good one.  Here's another, http://support.microsoft.com/kb/328804  My advice is if you really want to learn more about what's going on, read different articles on eseutil and isinteg and read their associated help content, since each one gives explanations in different ways.

What you're looking for is to perform an offline defragmentation. But first, make sure shrinking it down is something that you really need/want to do. In one case I had, a problem at a small company had caused the Exchange store to grow from about 1 GB to about 30 GB. In this case an offline defrag was definitely justified. Once you're sure an offline defrag is the right option, follow these steps:
Dismount the store in ESM (Exchange System Manager).
Start a command prompt and change the directory to the location where the eseutil.exe and isinteg.exe files are located (probably C:\Program Files\Exchsrvr\bin).
It's not a bad idea to run an integrity check on the database before starting the the defrag so run
eseutil /g "<path to database>\priv1.edb"
Then to run the defrag, enter
eseutil /d "<path to database>\priv1.edb" /p /t"<path to database>\tempdfg.edb"
The reason I would use the /p switch is to keep the old database intact. The new defragged database will be named "tempdfg.edb" and can be placed where ever you like or have the space. This will also allow you to see how much the defrag process will shrink the database.  Keep in mind that for this process you will need to have free space that is about %110 percent of the size of your database.  If you decide that you want to keep the new database, rename or delete the old database, then rename the temporary one to the old name (priv1.edb) and make sure it is in the right path.  This process will automatically take care of the .STM file.
Now run isinteg -s <servername> fix -test alltests to check for and fix any errors.  Once complete, remount the store in ESM.
0
CitacompCommented:
Stupid formatting!

Command should be like
eseutil /g "<path to database>\priv1.edb"
and
eseutil /d "<path to database>\priv1.edb" /p /t"<path to database>\tempdfg.edb"
0
CitacompCommented:
And last one should be
isinteg -s <servername> -fix -test alltests
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.