To work around this behavior, decrease the
Aging Keep Time value for the affected database (either the public or private information store).
Aging Keep Time
The Aging Keep Time value indicates the length of time that an unused index will exist before being deleted. To decrease this value, perform one of the following procedures, as applicable:
- Exchange 2000 Server and Exchange Server 2003
The Aging Keep Time value can be set in two locations: the Active Directory directory service and the registry. If the Active Directory attribute has a value set, it overrides the corresponding registry value. - To set the Aging Keep Time value in Active Directory, follow these steps:
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
Note The ADSI Edit snap-in (AdsiEdit.msc) is included with the Microsoft Windows Support Tools. To install the Windows Support Tools in Windows 2000, double-click Setup.exe in the Support\Tools folder on the Windows 2000 CD. To install the Windows Support Tools in Windows Server 2003, double-click Suptools.msi in the Support\Tools folder on the Windows Server 2003 CD.
- Click Start, click Run, type adsiedit.msc, and then click OK.
- Expand Configuration Container [servername.example.com], where servername is the name of your domain controller, and example.com is the name of your domain.
- Expand CN=Configuration,DC=example,DC=com.
- Expand CN=Services,CN=Microsoft Exchange,CN=OrganizationName, where OrganizationName is the name of your Exchange organization.
- Expand CN=Administrative Groups,CN=YourAdministrativeGroup,CN=Servers, CN=ExchangeServerName,CN=InformationStore,CN=StorageGroupName, where YourAdministrativeGroup is the name of your administrative group, ExchangeServerName the name of your Exchange server, and StorageGroupName the name of the storage group that hosts the public or private information store.
- In the right pane, right-click the private store or the public store, and then click Properties.
- In the Attributes list, click msExchAgingKeepTime.
- Set the attribute to the decimal value in seconds that you want.
Note Without this registry entry, the default setting for the Aging Keep Time value is 40 days for Exchange 2000 Server and for Exchange Server 2003. Exchange 2000 Server and Exchange Server 2003 store the value in seconds. Forty days is equal to 3,456,000 seconds. To set the new Aging Keep Time value to four days, type 345,600. - Stop the Microsoft Exchange Information Store service, and then restart it.
- To change this setting in the Windows Registry, follow these steps:
- Start Registry Editor (Regedt32.exe).
- For Exchange 2000 Server or for Exchange Server 2003, locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<ServerName>\Public-<Folder GUID>
Note <Folder GUID> is the Globally Unique Identifier for the store. Replace "Public-<Folder GUID>" with "Private-<Folder GUID>" to change the setting for a private mailbox store. - Add an Aging Keep Time value of the REG_DWORD type.
- Enter the decimal value in seconds that you want.
Note Without this registry entry, the default setting for the Aging Keep Time value is 40 days for Exchange 2000 Server and for Exchange Server 2003. Exchange 2000 Server and Exchange Server 2003 store the value in seconds. Forty days is equal to 3,456,000 seconds. To set the new Aging Keep Time value to four days, type 345,600. - Quit Registry Editor.
- Stop the Microsoft Exchange Information Store service, and then restart it.
- Exchange Server 4.0, Exchange Server 5.0, or Exchange Server 5.5
The Aging Keep Time value is set by using a registry value. To decrease the Aging Keep Time value, follow these steps:- Start Registry Editor (Regedt32.exe).
- For Exchange Server 5.5, locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersPublic
Note Replace "ParametersPublic" with "ParametersPrivate" to change the value for a private mailbox store. - Add an Aging Keep Time value of the REG_DWORD type.
- Without this registry entry, the default setting for the Aging Keep Time value is eight days for Exchange Server 4.0, for Exchange Server 5.0, and for Exchange Server 5.5. Exchange Server 4.0 and Exchange Server 5.0 store this value in milliseconds. Eight days is equal to 691,200,000 milliseconds because 1000*60*60*24*8 = 691,200,000.Exchange Server 5.5 stores this value in seconds. Eight days is equal to 691,200 seconds because 60*60*24*8 = 691,200. To set the new Aging Keep Time value to one day, set the value either to 86,400,000 for Exchange Server 4.0 and for Exchange Server 5.0 or to 86,400 for Exchange Server 5.5.
Note This value is entered as decimal. - Quit Registry Editor.
- Stop the Microsoft Exchange Information Store service, and then restart it.
If this value is still not low enough, then decrease the values until you reach an acceptable level of performance. However, you may also have to decrease the
Aging Clean Interval value from its default value of 1 day, as outlined in the "Aging Clean Interval" section in this article.
Aging Clean Interval
The
Aging Clean Interval value is the interval (in seconds for Exchange Server 4.0, 5.0, and 5.5) at which the information store checks for anything that must be removed from the cache. The default value is 24 hours (or 86,400 seconds). To decrease the
Aging Clean Interval value for information store, modify the registry to decrease the
Aging
Clean Interval value for the information store:
- Start Registry Editor (Regedt32.exe).
- Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
- Add an Aging Clean Interval value of the REG_DWORD type.
- By default the Aging Clean Interval value without this registry entry is set to 86,400 (or 1 day in seconds, 60*60*24). Set the new Aging Clean Interval value to a number less than 86,400.
Note This value is decimal. - Quit Registry Editor.
- Stop the information store service, and then restart it.
Running Isinteg
You can run the Isinteg utility to force cleanup of the cached restrictions immediately. The following occurs:
- Your backlinks are purged.
- The restriction tables are deleted.
If there are a large amount of restrictions against a folder and you run the
isinteg -fix command, these cached searches are all cleared and your folder performs normally.
In Exchange Server 5.5, use the following command:
isinteg -fix -pri -test morefld
In Exchange 2000 Server and in Exchange Server 2003, use the following command:
isinteg �s ServerName �fix �test morefld �l logfilename
Note ServerName is the name of your Exchange computer, and logfilename is the name of a file to write the output text to.
Microsoft Exchange Information Store Integrity Checker v5.5.265
Copyright (c) 1986-1997 Microsoft Corp. All rights reserved.
Started: 04/28/00 19:06:08
Server name: Server.domain.com
Store path: D:\exchsrvr\MDBDATA\PRIV.EDB
Store size: 1510031360 bytes
Output log: isinteg.pri
Check mode: check and fix
Options: -fix -pri -test morefld
Starting test 1 of 3, 'Categorization Tables'
Finished Categorization Tables. Time: 0h:0m:0s
Starting test 2 of 3, 'Restriction Tables'
Finished Restriction Tables. Time: 0h:0m:0s
Starting test 3 of 3, 'Search Folder Links'
Finished Search Folder Links. Time: 0h:0m:23s
No reference count tests