Recommendations for Configuring Storage Groups and Databases
[This is pre-release documentation and subject to change in future releases. This topic's current status is: Writing Not Started.]
This topic provides recommendations for the following Microsoft Exchange Server 2007 storage group and database configurations:
- Database sizing
- Databases per storage group
- Disk configuration
Recommended Database Sizing
Determining the best database size requires the evaluation of many factors. Smaller databases are generally better because they can be backed up and restored more quickly than larger databases. However, database size should be balanced against other factors, especially capacity and complexity. Immediately deploying the maximum number of databases may add unnecessary complexity to your system. For example, you may end up managing more databases and logical unit numbers (LUNs) than is necessary.
We recommend that Exchange databases be approximately 50 gigabytes (GB) in size. For databases in storage groups that are not enabled for continuous replication, we recommend a maximum database size of 100 GB. For databases in storage groups that are enabled for continuous replication, we recommend a maximum database size of 200 GB. For more information, see Planning Storage Configurations.
Recommended Databases per Storage Group
We recommend that you place each new database in its own storage group until the maximum number of storage groups is reached. This recommendation provides several advantages:
- It allows you to spread the load of mailboxes across as many databases and storage groups as possible.
- It creates an Exchange storage topology that can be managed more easily.
- Databases can be smaller.
- Log files and log traffic are not shared between multiple databases.
- Drive input/output (I/O) can be better managed.
- Recoverability is improved.
- It provides more aggregate checkpoint depth per user.
Databases in a storage group are not fully independent because they share transaction log files. As the number of databases in a storage group increases, more transaction log files are created during normal operation. This larger number of transaction log files requires additional time for transaction log replay during recovery procedures. An increase in time for transaction log replay consequently results in an increase in recovery times.
Storage Groups Enabled for Continuous Replication
All storage groups enabled for continuous replication are limited to a single database per storage group. This includes all storage groups in a cluster continuous replication (CCR) environment, as well as any storage group enabled for local continuous replication (LCR) and/or standby continuous replication (SCR). You cannot enable a storage group with multiple databases for LCR or SCR, and after a storage group is enabled with continuous replication, you cannot add a second or subsequent database to it.
Recommended Disk Configuration
Because I/O to log files is sequential and I/O to database files is random, for increased performance, we recommend placing log files on a separate disk from database files. By using one log file for many databases, you can reduce the number of disks that are required. However, there are two disadvantages to this approach:
- If the disk that contains the log files fails, multiple databases are corrupted or lost instead of just one.
- Recovery from log files takes longer because the logs replay data for more databases.
For detailed guidance about designing and validating a storage solution for Exchange 2007, see Planning Storage Configurations.
For maximum performance and reliability, we recommend that even comparatively simple systems, such as systems that contain a single storage group, should also place log files and database files on separate disks.
For More Information
For more information about managing storage groups and databases in Exchange 2007, see Managing Storage Groups and Databases_E12 Carry Over.
For information about managing public folders, see Managing Public Folders.
For information about managing mailbox databases, see Managing Mailbox Databases*.
For a list of the Exchange Management Shell cmdlets that you can use to manage storage groups and databases, see Mailbox Database Cmdlets.