Search folders can affect the performance of an Exchange Server 2003 mailbox or public folder server in two major ways: they can increase the processing load on the server, and they can increase the size of the transaction logs on the server (sometimes drastically).
Creating a search folder incurs a certain processing cost on the Exchange server. In addition, Exchange Server 2003 treats this operation as a transaction that must be logged. Every time that Exchange Server 2003 processes a new search request, the transaction log files increase in size. One of the simplest ways to control this increase is to reuse existing search requests whenever possible.
After a search folder has been created, Exchange Server 2003 maintains it and updates it when the target folder (the folder that was searched) changes. If a message is added to, deleted from, or modified in the target folder, Exchange Server 2003 updates the search folder accordingly. Such updates increase the processing load associated with each affected search folder, and each such update is logged in the transaction logs. Therefore, searching folders that are frequently modified can affect the performance of a server much more than searching folders that are largely static and unchanging.
Note: |
|---|
|
If a user posts a message with a large attached file to a target folder, the amount of data added to the transaction log files varies depending on the size of the attachment.
|
Searches that use the read or unread state of a message as a search condition also have a special performance impact. If you search a public folder that tracks per-user read and unread information, the search produces not one search folder but a search folder for each user that is associated with messages in the target folder. Each of these search folders has a corresponding impact on performance and on the transaction logs. In addition, referencing an unread item in such a folder changes its state to read. Exchange Server 2003 considers this to be a folder update, and it updates the related search folders accordingly.
The number of users connected to a search folder at any one time can also increase the load on the Exchange server, causing a noticeable increase in response time.