Microsoft KB Archive/159197

= XADM: Controlling Folder Index Aging =

Article ID: 159197

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Exchange Server 4.0 Standard Edition
 * Microsoft Exchange Server 5.0 Standard Edition

-



This article was previously published under Q159197



SUMMARY
Client-created database table indexes (used for views) that have not been used for a given time interval are deleted (they will be re-created as needed). The default index age at which they are purged is eight days. This article shows you how to modify the registry to change the time settings for index aging.



MORE INFORMATION
There are three registry entries that can control the index aging. These tasks are performed during the time allotted by the Information Store Maintenance Schedule. They are listed here in the order in which they are performed. These tasks will run until completed.

WARNING: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows NT. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

Aging Keep Time
This is the time (in milliseconds for Exchange 4.0 and 5.0, in seconds for Exchange 5.5) after which a view is cached even though it is not currently in use by a client.

Public Information Store:

To modify this registry key to change Aging Keep Time for the Public Information Store:  Start Registry Editor (Regedt32.exe).  Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

     System\CurrentControlSet\Services\MSExchangeIS\ParametersPublic  Create a value named "Aging Keep Time" of type REG_DWORD. The default value for Aging Keep Time, without this registry entry, is 691200000 (8 days in milliseconds - 1000*60*60*24*8 for Exchange 4.0 and 5.0, 8 days in seconds - 60*60*24*8 for Exchange 5.5). Set the value to the new Aging Keep Time in milliseconds (Exchange 4.0 and 5.0) or seconds (for Exchange 5.5). Quit Registry Editor.

Private Information Store:

To modify this registry key to change Aging Keep Time for the Private Information Store:  Start Registry Editor (Regedt32.exe).</li>  Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

<pre class="fixed_text">     System\CurrentControlSet\Services\MSExchangeIS\ParametersPrivate </li> Create a value named "Aging Keep Time" of type REG_DWORD.</li> The default value for Aging Keep Time, without this registry entry, is 691200000 (8 days in milliseconds - 1000*60*60*24*8, 8 days in seconds - 60*60*24*8 for Exchange 5.5)). Set the value to the new Aging Keep Time in milliseconds (for Exchange 4.0 and 5.0) or seconds (Exchange 5.5).</li> Quit the Registry Editor.</li></ol>

Aging Clean Interval
The interval (in milliseconds) at which the store checks to see if anything needs to be removed from the cache. Default value is 24 hours (or 86400000 milliseconds).

To modify this registry key to change the Aging Clean Interval for the Information Store:  Start Registry Editor (Regedt32.exe).</li> Locate the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

</li> Create an Aging Clean Interval value of type REG_DWORD.</li> The default value of the Aging Clean Interval, without this registry entry, is 86400000 (or one day in milliseconds - 1000*60*60*24). Set the value to the new Aging Clean Interval in milliseconds.</li> Quit Registry Editor.</li></ol>

Reset Views
If this parameter exists and is set to a non-zero value, the Information Store deletes all cached restrictions on the next cleaning interval and resets the value to zero. This could be used to manually dump the restrictions at each cleaning interval by setting it whenever a new restriction is created. It will not dump restrictions that are actively being used by clients.

Public Information Store:

To modify this registry key to change the Reset Views for the Public Information Store:  Start Registry Editor (Regedt32.exe).</li>  Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

<pre class="fixed_text">     System\CurrentControlSet\Services\MSExchangeIS\ParametersPublic </li> Create a value named "Reset Views" of type REG_DWORD.</li> <li>The default value of the Reset Views, without this registry entry, is 0. Set the value to 1.</li> <li>Quit Registry Editor.</li></ol>

Private Information Store:

To modify this registry key to change the Reset Views for the Public Information Store: <ol> <li>Start Registry Editor (Regedt32.exe).</li> <li> Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

<pre class="fixed_text">     System\CurrentControlSet\Services\MSExchangeIS\ParametersPrivate </li> <li>Create a value named "Reset Views" of type REG_DWORD.</li> <li>The default value the Aging Clean Interval, without this registry entry, is 0. Set the value to 1.</li> <li>Quit the Registry Editor.</li></ol>

For additional information on tasks performed by the IS Maintenance Schedule, please see the following article in the Microsoft Knowledge Base:

159196 XADM: Tasks Controlled by the IS Maintenance Schedule

For additional information on the Aging Keep Time parameter, please see the following article in the Microsoft Knowledge Base:

156970 XADM: Improving Performance with Public Folder Views

Additional query words: restrictions

Keywords: kbhowto kbusage KB159197

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.