Skip to Main Content
Exchange Server Cookbook
book

Exchange Server Cookbook

by Paul Robichaux, Missy Koslosky, Devin L. Ganger
June 2005
Intermediate to advanced content levelIntermediate to advanced
464 pages
13h 2m
English
O'Reilly Media, Inc.
Content preview from Exchange Server Cookbook

6.10. Determining How Much Whitespace Is in a Database

Problem

You wish to determine how much available "whitespace" exists within a given database.

Solution

Using a graphical user interface

  1. Open the Event Viewer (eventvwr.msc).

  2. Click on the Application event log.

  3. Select View Filter.

  4. In the Event ID box, type 1221 and click OK.

  5. View the most recent occurrence of event 1221 for each mailbox or public folder store.

Using a command-line interface

  1. Dismount the database (see Recipe 6.8).

  2. Run the eseutil command with the /ms switch:

    > \Exchsrvr\bin\eseutil.exe /ms pathToDatabaseFile 

    where pathToDatabaseFile is the location (including filename) of the file whose whitespace information you want.

  3. The output of the file dump mode will indicate the amount of database free space in kilobytes.

  4. Remount the database (see Recipe 6.7).

Discussion

Many administrators are keen to understand how much whitespace is contained in their Exchange databases. This space includes database pages that were once allocated but have been freed. In most cases, an EDB/STM file pair will grow steadily over time, but if you've done something to shrink the actual amount of mail data in the file pair (such as moving mailboxes to another server or purging old mail), there may be a substantial amount of disk space allocated to the file but unused by Exchange.

The amount of whitespace is especially important to know in Exchange Server Standard Edition when the database size is approaching the 16 GB limit. Unfortunately, there is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Exchange Server 2010: Best Practices

Microsoft® Exchange Server 2010: Best Practices

Siegfried Jagott, Joel Stidley
Microsoft® Exchange Server 2003 Unleashed

Microsoft® Exchange Server 2003 Unleashed

Rand H. Morimoto - MCSE, Joe R. Coca, CISSP Kenton Gardinier - MCSE MCSA, MCSA Michael Noel - MCSE+I
Microsoft® Exchange Server 2013 Unleashed

Microsoft® Exchange Server 2013 Unleashed

Rand Morimoto, Michael Noel, Guy Yardeni, Chris Amaris, Andrew Abbate

Publisher Resources

ISBN: 0596007175Errata Page