Introduction to Microsoft Exchange 2003 Circular Logging
There is no doubt, log files consume disk space. Cheapskates conserve disk space by implementing Circular
Logging on their Exchange 2003 storage groups. Those who want a reliable disaster recovery manage their disk space and so avoid the need for Circular Logging.
In a nutshell circular logging recycles the logs. Exchange relies on transaction or write-ahead logs to store events before they are committed to the database. When 4 logs have been filled up,
Circular logging assumes that the first log must have been committed and recycles the logs to save disk space.
The fatal flaw with Circular Logging is it restricts disaster recovery. If you allow Circular Logging to over-write the transaction logs then
Exchange 2003 can only restore as far as the last backup. When all the logs are
available, Exchange 2003 automatically rolls forward the logs and replays the transactions up until the Exchange Store stopped working.
In fact, circular logging prevents Exchange 2003 making differential or incremental backups. So with circular logging in place, you are restricted to normal (full) backup.
Guy Recommends: A Free Trial of the Network Performance Monitor
(NPM)
SolarWinds'
Network Performance Monitor
will help you discover what's happening on your network. This
utility will also guide you through troubleshooting; the dashboard will
indicate whether the root cause is a broken link, faulty equipment or
resource overload.
Perhaps the NPM's best feature is the way it suggests solutions to network
problems. Its
second best feature is the ability to monitor the health of individual VMware
virtual machines. If you are interested in troubleshooting, and creating network maps, then I recommend that you
give this Network Performance Monitor a try.
The main justification for circular logging is when you are very short of disk space. Even in this situation Exchange 2003 has two files Res1.log and Res.log. However these logs are only for the emergency
when the disk is truly full. Exchange writes all uncommitted transactions to these files, then shuts down the server.
Other suggestions for Circular Logging are for public folders or newsgroups where you are less concerned with recovery since the last backup.
When an email arrives, Exchange 2003 writes a transaction to the log.
If the server's disk is busy there will be a delay before the information is committed
to the store database file. Exchange also uses a checkpoint file. This file (E0.chk) records which transactions have been written to the store database (Priv1.edb).
So, if you allow circular logging to over-write some of those transaction logs, then you cannot recover any data after the last backup. However, if you disable circular logging,
then you Exchange 2003 replays the transactions and restores the Exchange
store to how it was before the disaster. This re-reading the logs is
called a hard recovery and happens automatically.
Guy
Recommends:
SolarWinds Free Wake-On-LAN Utility
Encouraging computers to sleep when they're not in use is a great idea -
until you are away from your desk and need a file on that remote sleeping machine!
WOL also has business uses for example, rousing machines so that
they can have update patches applied. My real reason for recommending
you download this free tool is because it's so much fun sending those 'Magic
Packets'. Give WOL a try - it's free.
If you want a successful restore of Exchange Server 2003, then avoid circular logging. There is only one occasion to select circular logging, and emergency in which you are short of disk space.
If you like this page then please share it with your friends
Here is a
free tool to monitor your Exchange Server.
Download the utility, then inspect your mail queues, monitor Exchange server's
memory, confirm there is enough disk space and check the CPU utilization.