Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Database changes that enhance Exchange Server 2007 fault tolerance
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Database changes that enhance Exchange Server 2007 fault tolerance


Brien Posey
12.17.2008
Rating: -2.00- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Similar to previous versions of Microsoft Exchange Server, Exchange 2007 uses the Extensible Storage Engine (ESE) database. However, the ESE database was changed architecturally in Exchange 2007. One such change involves log sequence number limits. In this tip, Microsoft MVP Brien Posey explains some fault-tolerance feature updates to the ESE database in Exchange 2007 and how they can improve data loss prevention.

When Microsoft designed Exchange Server 2007, it continued to use the Extensible Storage Engine database. But the company did make some major architectural changes to the legacy database engine.

For example, the company eliminated the Streaming Database File and decreased the size of transaction logs from 5 MB to 1 MB. There were also lesser-known architectural changes, some of which were geared toward making the database less prone to failure.

One architectural change involves log sequence numbers. In Exchange Server 2003, the highest attainable log sequence number was FFFFF0, which means that Exchange can accommodate a maximum of 1,048,560 log sequence numbers. When this limit was put in place, a 1 million log file limit wasn't a big deal. Exchange 2003 log files are 5 MB in size, so the log file limit is reached every time the server accumulates 5 TB worth of data. When this happens, the server must be shut down so that the log files can be re-sequenced, starting at one.

Currently, this log file limit is really only an issue for very large organizations. It can take smaller organizations several years to accumulate 5 TB worth of transaction logs. Even so, this limit could potentially have been more disruptive in Exchange 2007 because Microsoft decided to decrease the log file size to 1 MB. If the 1,048,560 log file limit were still in place, then the server would have to be reset every time a database accumulated about a terabyte of data. Therefore, Microsoft increased the log file limit to 2,147,483,647 files.

More on Exchange 2007 recovery methods:
Exchange Server 2007 replication and database transaction basics

Setting up CCR in Exchange 2007

Understanding Exchange Server 2007 backup and recovery

This raises the question of why Microsoft chose to decrease the log file size in the first place. The reason has to do with data loss mitigation. The basic idea behind it is that if a log file is damaged, you will lose 1 MB of data instead of 5 MB.

Another new fault-tolerant feature is lost log resilience (LLR). In previous versions of Exchange Server, it was tricky to recover from crashes. For instance, if a crash resulted in lost log files, and those log files had not been committed to disk, you typically would either have to restore a backup and revert to a previous database state or perform an offline database repair before you could mount the database.

Lost log resilience is an Exchange 2007 feature that allows you to mount a database, even if the last few log files have been lost or damaged. You might lose some of the more recent log files, but not the others because of the way Exchange Server writes log file data. Exchange always writes transactions to memory first, then to the transaction logs and finally to the database. LLR delays the process of writing transactions to the database until a certain number of transaction logs have been created. To set the number of logs that can be lost during a failure, adjust the AutoDatabaseMountDial parameter following steps explained in this Microsoft article.

Although LLR is enabled by default on all mailbox servers, it's primarily designed to work with cluster continuous replication (CCR). In a CCR environment, it's possible to run into situations in which the primary node fails and the passive node has not yet received all of the latest transactions. LLR allows the passive database to be mounted automatically, as long as an excessive number of transactions have not been lost.

Note: LLR only runs on the active copy of the database, because the passive copy is kept as up-to-date as possible.

Another feature that balances the effectiveness of LLR is transaction log roll. Essentially, this feature monitors Exchange Server to find extended periods when no transactions occur. During this time, the transaction log roll feature closes out open transaction logs, and if enough idle time passes, will create empty transaction logs. That way, if a failure does occur, and the last few log files are lost, those lost logs may not contain any data if the failure occurred when there haven't been any transactions in a while.

About the author: Brien M. Posey, MCSE, is a five-time recipient of Microsoft's Most Valuable Professional award for his work with Exchange Server, Windows Server, Internet Information Services (IIS), and File Systems and Storage. Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal website at www.brienposey.com.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Microsoft Exchange Server Database Management
Should you remove .STM files from Exchange Server 2003?
New high availability features in Exchange Server 2010
Testing a passive database for corruption in Exchange Server 2007
Microsoft Exchange Server 2003 database recovery methods
Creating disk space for an Exchange Server 2003 priv1.edb database
Why boot an Exchange server from a storage area network (SAN)?
DetachPipe: Outlook add-in tool saves and restores email attachments
How to calculate white space in an Exchange streaming (.STM) file
An affordable Exchange Server database backup software option for SMBs
Solve server problems with the Exchange Troubleshooting Assistant tool

Microsoft Exchange Server Backup and Disaster Recovery
Restore Exchange storage groups with DPM 2007
How a hosted Exchange service can help you
Developing an Exchange 2007 server role DR plan
DPM 2007 replica inconsistencies in Exchange databases
Fixing DPM 2007 inconsistent replica errors in Exchange Server
New high availability features in Exchange Server 2010
Restore contacts from an Exchange public folder
Exchange Server 2007 SP2 reinstates built-in backup capabilities
Working with continuous replication in Exchange Server 2007
How a bare-metal restore affects Microsoft Outlook 2007 performance
Microsoft Exchange Server Backup and Disaster Recovery Research

Microsoft Exchange Server 2007
Is your Exchange 2007 hub transport server healthy?
Top 5 Exchange ActiveSync tips
Two useful tools for documenting an Exchange Server installation
Controlling spam in Exchange 2007 at the edge transport server level
Restore Exchange storage groups with DPM 2007
How a hosted Exchange service can help you
Email issues after configuring hosted Exchange server on laptop
Migrating to Exchange 2007 with correct permissions
Virtualize Exchange Server 2007 -- without losing your job
How DSAccess service improves Exchange Server 2007 reliability
Microsoft Exchange Server 2007 Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts