Manage Database Settings
Exchange Search creates a full text index on mailbox databases allowing users to search their email very quickly. Items are added to the index as they arrive so the index is always up-to date.
This feature can be enabled or disabled on a per database or server manner.
The following disables indexing on a per database basis,
[PS] set-mailboxdatabase DB01 -IndexEnabled $False
The following disables the indexing of all databases on the server,
[PS] stop-service MSExchangeSearch
[PS] set-service MSExchangeSearch -StartupType Disabled
You should remember that although you can disable exchange search its probably not a good idea to. The 'discovery' feature (I will come to this) relies on it being enabled.
You may have to rebuild the index when you are recovering from data loss. A script is included to help out which can be found in the following location:
program files\microsoft\exchange server\scripts\resetsearchindex.ps1
The following will rebuilds the index on a database
Configure Limits on a Database
You can set a size limit on your database and if reached the database is dismounted. Exchange Server standard ed. has a default limit of 50 GB and the enterprise ed. does not have one. However a limt can be established and you can change the 50 GB limit the standard ed. imposes to a higher value. To do this open the registry using regedit and browse to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\NameOfSever\PrivateDatabaseGUID
The GUID can be found by using the following cmdlet
Look for the registry value 'Database Size Limit in GB'. If it exists change it to a value you require. If not create a new DWORD (32 bit) value by the same name.
- Configure Exchange Search
- Configure Database Size Limits
Exchange Search creates a full text index on mailbox databases allowing users to search their email very quickly. Items are added to the index as they arrive so the index is always up-to date.
This feature can be enabled or disabled on a per database or server manner.
The following disables indexing on a per database basis,
[PS] set-mailboxdatabase DB01 -IndexEnabled $False
The following disables the indexing of all databases on the server,
[PS] stop-service MSExchangeSearch
[PS] set-service MSExchangeSearch -StartupType Disabled
You should remember that although you can disable exchange search its probably not a good idea to. The 'discovery' feature (I will come to this) relies on it being enabled.
You may have to rebuild the index when you are recovering from data loss. A script is included to help out which can be found in the following location:
program files\microsoft\exchange server\scripts\resetsearchindex.ps1
The following will rebuilds the index on a database
cd "c:\program files\microsoft\exchange server\scripts\resetsearchindex.ps1 -Force DB01
Configure Limits on a Database
You can set a size limit on your database and if reached the database is dismounted. Exchange Server standard ed. has a default limit of 50 GB and the enterprise ed. does not have one. However a limt can be established and you can change the 50 GB limit the standard ed. imposes to a higher value. To do this open the registry using regedit and browse to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\NameOfSever\PrivateDatabaseGUID
The GUID can be found by using the following cmdlet
[PS] Get-MailboxDatabase DB01 | ft name,GUID -au
Look for the registry value 'Database Size Limit in GB'. If it exists change it to a value you require. If not create a new DWORD (32 bit) value by the same name.
No comments:
Post a Comment