Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

offline defrag Ex2000

Status
Not open for further replies.

gagatymoty

IS-IT--Management
Jan 2, 2002
11
0
0
IL
i have Ex2000 500 users it is recommended to do defrag with eseutil the prib.edb about 9Gb?

thak's
moty
 
You only need a defrag when on line defrag event lists a decent amount of reclaimable space. If you've got no space to reclaim, there's no point.
 
what is the Event ID for the "Online" defrag list for reclaimable space ??
 
Application Log for Event 1221. The text of that event will give you an estimate of how much free space is currently in your database. The only way to get rid of this white space, and shrink the size of your Information Store, is to run an offline defragmentation, but as a general rule you should refrain from doing this unless the amount of reported white space is considerable and you really need to recover the disk space.
 
If you are looking to lower the size of the priv.edb, i would suggest first running the following command:

eseutil /ms "X:\exchsrvr\mdbdata\priv.edb"

When this command completes, there will be a number in the bottom right hand corner under the final line. This is the number of available pages in the database. You can take this number and multiply it by 4. 1000 pages at 4KB each equals 4000 KB = 4mb. Of course your number will be alot bigger for a database that size.

You can then determine if an "offline defrag" is needed here. When you run an offline defrag (eseutil /d /ispriv) - this will actually remove the white space and lower the size of the priv.edb.

Now if you decide to run the offline defrag, you must remember that you need 110% free space available for the temp database that gets created.

If you do not have enough free space local on this drive, or on this server, you can always temp the database to another server with:

eseutil /d /ispriv /tx:\tempdfrg.edb

/t = Temp
/x = drive letter mapped to the other server
\tempdfrg.edb = temp database that gets created to do the defrag....
 
One more thing, if you do decide to do the defrag, it can take anywhere from 45 minutes to 1 hour per gig, and sometimes more if you have to temp the database to another drive. So it could take you 15 to 30 hours to do an "offline" defrag. Just FYI

Hope this helps.
 
just make a backup of the priv, and do the defrag in whichever manner resources allow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top