Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 25, 2006

Tricks and Tweaks for Maintaining Exchange Databases

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

The second subkey that you can create is Aging Clean Interval (of REG_DWORD type). This subkey controls how often (in seconds) Exchange attempts to purge expired indexes. By default, Exchange 2003 attempts to purge expired indexes once every 24 hours.

Typically, you should leave both of these registry keys alone. There are times when it may be prudent to decrease the Aging Keep Time value from the default period of 40 days, though. If a folder contains too many cached searches, back links, restrictions, and the like, client response times become very slow.

If client response times become extremely slow and you start receiving Messaging API (MAPI) errors that contain the phrase Client Operation Failed, decreasing the Aging Keep Time period might fix the problem. Another symptom that might indicate that you should decrease the Aging Keep Time period is if response time is slow when accessing some of the folders within a store but normal for other folders in the same store.

You can decrease the Aging Clean Interval so that Exchange will purge expired indexes more frequently, but I don't recommend doing so unless advised by Microsoft Product Support Services (PSS) because purging expired indexes can be resource intensive.

Resolving Message Conflicts Within Public Folders
One of the more obscure Exchange maintenance tasks is resolving message conflicts in public folders. The idea is that public folders can be replicated across multiple servers. If two or more replicas of a message within a public folder are simultaneously modified, the message is said to be in conflict.

Exchange gives the public folder owner a specific amount of time to resolve the conflict manually. This period of time is called the conflict age limit. If the public folder owner doesn't resolve the conflict within that period of time, the resolve message conflicts maintenance task will resolve the conflict automatically according to an internal set of rules.

You can set or modify the conflict age limit by making a change to the registry. To do so, go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\servername\Public-GUID registry subkey and create a REG_DWORD value named Replication Folder Conflict Age Limit. Assign it a value that reflects the number of days that messages are allowed to remain in conflict.

Removing Expired Messages from Public Folders
The final maintenance task that I want to talk about is that of removing expired messages from public folders. The message-expiration period is set on a per-folder basis, so there's no registry subkey that lets you globally adjust the expiration period. However, you can create a registry value that controls how often Exchange flushes expired messages from public folders. Again, be careful using this setting because it can disrupt other maintenance tasks.

To set the message-removal frequency, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\servername\Public-GUID and create a REG_DWORD value named Replication Expiry. Assign it a value that reflects the number of milliseconds between message-removal periods.

Automated Doesn't Mean Hands Off
As you can see, scheduled maintenance is vital to the integrity and performance of Exchange's IS. By understanding how the automated maintenance process works and using the techniques in this article, you can have more control over how the server performs these tasks to optimize the process for your environment.

End of Article

   Previous  1  2  3  [4]  Next  


Reader Comments
indexes -> indices

wooway December 08, 2006 (Article Rating: )


Glad you're reading carefully! Both indexes and indices are accepted plural spellings for index. --Anne Grubb, editor, Exchange & Outlook Pro VIP

AnneG_editor January 10, 2007 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Command Prompt Tricks

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

Windows 7 Sets Sales Record

Microsoft CEO Steve Ballmer described Windows 7's first ten days of sales as "fantastic" while in Japan yesterday. ...


Related Articles 10 Tips to Keep Your Microsoft Exchange Server Humming

10 Tips to Keep Your Microsoft Exchange Server Humming

Exchange Server and Outlook Whitepapers Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Continuous Data Protection and Recovery for Microsoft Exchange

Related Events WinConnections and Microsoft® Exchange Connections

Bail Out Your Exchange Environment

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!

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 DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement