Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 25, 2003

Exchange's Daily Scheduled Maintenance


RSS
Subscribe to Windows IT Pro | See More Exchange Information Store Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Most mornings, I get up to work at 5:00 a.m., while my three young sons are still sleeping. That way, I can do some productive work and get a good head start on the most important tasks of the day. Exchange Server has a similar special time: the daily scheduled maintenance period. This period, which by default occurs from 2:00 a.m. to 6:00 a.m., gives the Information Store (IS) a chance to perform several vital maintenance tasks--online defragmentation, tombstone maintenance, Deleted Item Retention store cleanup, Deleted Mailbox store cleanup, and index purging--that help keep your Exchange mailbox and public folder databases free of unnecessary clutter. Let's examine these basic tasks.

- Online defragmentation. As users add and remove messages, the amount of used space in Exchange's database files fluctuates. The IS conscientiously recycles free space in the database file, only increasing the size of the file when there isn't enough unallocated space. During an online defragmentation, the IS reallocates and rearranges pages to put all the free space in a contiguous block at the end of the database file. Doing so makes future allocations more efficient. After a defrag, you can check the event log for event ID 1221, which tells you how much free space a particular database file contains. This information in turn helps you estimate how long you have before the IS increases the database file size.

- Tombstone maintenance. This task sounds like something from an old John Ford movie, but in reality it's something altogether different. When a user marks an item for deletion from the IS, Exchange doesn't immediately delete the item. Rather, Exchange replaces the deleted item with a tombstone--basically, Exchange sets an "Is this deleted?" flag on the object and replicates the object (along with the flag) to other servers. After a 30- or 60-day period (depending on the object type), Exchange removes the tombstone and truly deletes the item during tombstone maintenance.

- Deleted Item Retention store cleanup. If you've turned on Deleted Item Retention, Exchange places deleted items in the Deleted Item Retention store (aka the dumpster). Deleted items stay in the dumpster until the end of the specified Deleted Item Retention period, after which Exchange deletes them.

- Deleted Mailbox store cleanup. Exchange Server 2003 and Exchange 2000 Server support a dumpster for deleted mailboxes. This mechanism can be a real lifesaver if you accidentally delete an important mailbox. The process is the same as for deleted items.

- Message table checking. The IS performs some limited consistency checking to examine the message tables in each mailbox and update those tables as needed. Don't confuse this process with the more comprehensive, and much slower, message table tests that Isinteg performs.

- Index purging. For efficiency, the IS dynamically builds database indexes when users change the view criteria in Outlook. However, keeping a limitless store of view information around is impossible, so after a variable period (usually about 7 days) old views expire and Exchange removes them.

The best part about these maintenance tasks is that they're completely automatic. Although you can change the times when the tasks run, you can't (and shouldn't) turn them off entirely. Exchange lets you control the allocated time window for maintenance, so if you set a window that's too brief, Exchange will defer some maintenance tasks until the next window. This delay can lead to IS instability or storage-utilization problems, so check the event log to verify that all your daily maintenance tasks are finishing. If they aren't, use the mailbox database or public folder database Properties dialog box's Database tab to lengthen the schedule window. Next week, I'll discuss other maintenance tasks that Exchange sometimes requires.

End of Article



Reader Comments
I for one would find it very useful to have a link to the next article in the series.

I read Paul's article on Exchange maintenance and liked the sound of the next one, as described at the bottom of the page, but there was no link.

I minor inconvenience but annoying none the less.

Simon Oddy February 19, 2004


I completely agree. Anybody know the article ID #?

weisrc July 03, 2006 (Article Rating: )


I agree too, and I've asked the editors to add a link to this article. Thanks for the suggestion!

paulrobichaux August 01, 2006 (Article Rating: )


I've added the link to Paul's next Exchange maintenance article, "Your Manual Maintenance To-Do List," #40506.

AnneG_editor August 01, 2006 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
CES 2009: Ballmer Announces Windows 7, Windows Live, Live Search Milestones

During his first-ever Consumer Electronics Show (CES) 2009 keynote address last night in Las Vegas, Microsoft CEO Steve Ballmer announced the pending public availability of a feature-complete Windows 7, the final version of Windows Live Essentials, and ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Where is Microsoft NetMeeting in Windows XP?

...


Related Articles 10 Tips to Keep Your Microsoft Exchange Server Humming

Exchange Server and Outlook Whitepapers Protecting (You and) Your Data with Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing