Guy Recommends

Beat spammers with anti-spam software for Exchange
Server – GFI MailEssentials.
Download FREE
trial
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.
Topics
for Exchange
Server 2003 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.
No Circular Logging
|
Circular Logging
|
Log Numbers Disk Usage
1 2 3 4 20 MB
1 2 3 4 5 25 MB
1 2 3 4 5 6 30 MB |
Log Numbers Disk Usage
1 2 3 4 20 MB
2 3 4 5 20 MB
3 4 5 6 20 MB
|
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.
Exchange Server 2007 is a complex topic, do you need practical hands on training? As an MCT trainer, I can thoroughly recommend
TrainSignal. In particular, I like the way
that TrainSignal cover all learning methods, instructor lead, video and of course text
material. You can either take one module, for example Exchange 2007 or go for a combination of modules.
Learn more about Microsoft Exchange Server 2007 here
- Open the Exchange System Administrator, locate the Servers Icon.
- Drill down to the Storage Group where you want to enable circular
logging. (Note Storage GROUP not Store...)
- Right-click (The Storage Group), and select Properties.
- On the General tab, tick Enable circular logging, and then click Yes.
Why does Exchange 2003 have such a risky setting?
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.
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.
Guy Recommends:
The SolarWinds Exchange Monitor
Here is a
free tool to monitor your Exchange Server. Download and
install the utility, then inspect your mail queues, monitor the Exchange
server's memory, confirm there is enough disk space and check the CPU
utilization. This is the real deal - there is no catch. SolarWinds
provides this fully-functioning product for free, as part of their commitment to
supporting the network management community.
Free Download of SolarWinds Exchange Monitor
Download your Exchange 2003 Migration eBook for only $6.25
The
extra features you get in your eBook include: 20 checklists to
plan your migration. Detailed instructions and advice on the best
strategy for your organization.
Lots of tips, recommendations and troubleshooting advice. Problem
solving section. Active Directory explained. Printer friendly
pages.
See Also
|