Saturday, March 26, 2011

Limiting Exchange Server 2007 and 2010 Database cache

By default,, Microsoft Exchange Information Store uses a lot of memory for caching. According to Microsoft, database cache can reduce I/O operations. In order the achieve the improvements is disk I/O performance, store.exe which runs the ESE database engine consumes as much RAM as it possible can.

Figure 1: The memory usage of Information Store

Figure 2: Total physical memory of the server

We can modify the following Active Directory property to control the maximum database cache size.

Assuming that the domain controller is installed Windows Server 2008 or Windows Server 2008 R2.
1. At Domain Controller, login as Domain Administrator.
2. Click "Start", enter "adsiedit.msc".
3. Right-click "ADSI Edit", select "Connect to".
4. Next to "Select a well known Naming Context", select "Configuration".

Figure 3: ADSI Connection setting

5. Click "OK".
6. Expand "Configuration > Services > Microsoft Exchange > <Organization Name> > Administrative Groups > Exchnage Administrative Group > Servers > <Server Name> > InformationStore".
7. Right-click "InformationStore", select "Properties".
8. Select "msExchESEParamCacheSizeMax".

 Figure 4: msExchESEParamCacheSizeMax attribute

9. Click "Edit".

For instance, if you want to limit the Database Cache to 4 GB of an Exchange 2010 server, set msExchESEParamCacheSizeMax to 131072 (4 GB = 4.194.304 KB / 32 KB). If you want to limit the Database Cache to 2 GB of an Exchange 2007 server, set msExchESEParamCacheSizeMax to 262144 (2 GB = 2.097.152 KB / 8KB).

10. Click "OK".
11. Close "ADSI Edit".
12. Restart the Microsoft Exchange Information Store service of the mailbox server.

Remark: msExchESEParamCacheSizeMax attribute is per server setting.


This posting is provided “AS IS” with no warranties, and confers no rights!

1 comment:

  1. Here is another free file size converter that can handle huge numbers: