Discussion Locked

Defragging Priv.edb on MS Exchange 5

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the procedure for using the defragmentation utility, edbutil.exe on the private information store on an MS Exchange 5 server? What services do I need to stop on the server? Is this a risky and recommended procedure? My current private info store is ~1.5 GB.

12 replies

by wirejockey

First make sure you have a good backup, next take a look at these links:
http://support.microsoft.com/support/kb/articles/Q163/6/27.ASP

http://support.microsoft.com/support/kb/articles/Q183/6/75.ASP

One thing to look out for: there must be twice as much free space on your drive as the size of your IS, >3gb

I have Exchange 5.5 SP3 and have a new util called ESEUTIL. I haven't run it yet, but I believe you do not have to stop your services to run a defrag. Good Luck

by aaron_wurthmann

I'm using a third party tool for defrag. It is made by Executive Associates, called Diskeeper Server Edition 5.0. I'm not sure if there is an Exchange Module. (I don't have the same issue with my Echange Server that you do)

If you are using Win2kanywhere the interface to Diskeeper will look familiar Microsoft adopted/bought the writes to use a scaled down version of it.

www.execsoft.com

by steve.burton

Presumably you want to do this because your hard drive is filling up?.
Running the utility to defrag your priv.edb is fraught with danger if your not careful.
The easy way out is to install a new large hard drive and run the exchange optimiser andmove the priv.edb to the new drive.It worked for me.

by curlergirl

MS recommends running the offline defrag utility (edbutil.exe for Exchange 5.0) when the available free space after an online defrag (which is done automatically) is equal to or greater than 10% of the total size of your database. (To find out, look in the event log on the Exchange server for Event ID 1221 for the MSExchangeISPriv - the details of this event will show you the free space after on-line defrag.) You must have at least twice the size of your database (i.e., 3GB) free on the drivewhere you run the defrag. The recommended procedure is to stop all services, make a backup copy of the priv.edb (you can simply copy it through NT Explorer to another drive), then run the defrag. If you run into trouble, you just recopy the backupto the original location and start again. It really isn't that "dangerous" as long as you're careful about having enough drive space and having your backup copy readily available in case of problems. You MUST, however, stop ALL the services (meaning Exchange is unavail

by curlergirl

Guess I'm too long-winded!! Exchange is unavailable while you're doing this. To defrag a 1.5 GB database (I've done one about this size) takes about an hour, depending upon the speed of your hardware.

by garetjax

The steps are:

1. Ensure that you have a good current backup of the Information Store.
2. Stop the Information Store (IS) service
3. Make a copy of the database(s) that you will be defragmenting. You can use NT Explorer to make the copy locally or to a network share.
4. Ensure that you have sufficient free disk space of the same volume as the database under defragmentation (2x is plenty)
5. Run EDBUTIL (MSEX5.0) or ESEUTIL (MSEX5.5) with the appropriate switch settings
6. Upon completion, start the IS service

One factor to determine when to run the utility is the amount of "dead" space in the
individual IS databases. You can gather this information by reviewing the ESE97 event log entries. It will report the amount of free space after the online defrag.

If you follow the steps above, the process is painfree (except the time waiting for the defrag process to complete )

This discussion is closed to new replies.