O'Reilly    
 Published on O'Reilly (http://www.oreilly.com/)
 http://www.oreillynet.com/pub/a/oreilly/letters/2002/ordbacheck_0902.html
 See this if you're having trouble printing code examples


Date: September 2002
Subject: Oracle DBA Checklists
From: Marshall J. Jones

I have a question concerning the Oracle DBA Checklists Pocket Reference, which I just purchased. I am just starting as an Oracle DBA and I have six months experience with databases, period, so it is 99.9 percent probable that I haven't a clue as to what I am saying here; if that's the case, please forgive me.

On page 16, "Table 1. Sample Disk Layout," you have Physical Disk 5 listed with the /oracle4 Directory having the Contents of 'All archive logs'. But I was taught in the Oracle Backup and Recovery class that archive log files, as well as the redo logs, should be multiplexed across multiple drives. This example in your book, as I understand it, leaves you with a single point of failure.

I'd be interested in hearing what you have to say, because now I'm wondering whether or not to have confidence in this book. (I like the book: don't get me wrong.)

Sincerely,
Marshall J. Jones


Marshall,

I wrote the "Network Management" section at the back of the book. I'm not a backup and recovery expert, so Darl Kuhn, author our Oracle RMAN Pocket Reference, will shed some light on your query.

The issue seems to be whether you believe you'll ever lose your archive log drive at the same time as you lose a drive containing one or more datafiles. The risk of that happening would be about the same as losing both mirrors of a redo log.

I'm curious, if you follow the advice on page 6, and you lose the one drive with all your archive log files, what then? Aren't you at risk at that point? Wouldn't you need to do something immediately to protect yourself?

FWIW, the last environment I worked in, we used hardware mirroring on all database-related disks. So archive logs were protected by hardware mirroring. Because I was paranoid, I used both hardware and software mirroring on my redo log files.

Jonathan Gennick


That's a good question.

Many DBAs don't multiplex their archived redo log files. Here are a couple of thoughts:

Note: log_archive_duplex_dest and log_archive_dest have been deprecated and you should use log_archive_dest_n to specify the destination of your archived redo logs. Also note that this parameter is only available with the Enterprise Edition, so if you're using the Standard Edition, you'll have to put something manual in place to mimic this functionality.

So should you or shouldn't you multiplex your archived redo logs? I hate this answer, but it depends. . . .

I don't usually multiplex the archive redo logs. Usually the business is willing to live with the risk. Even if you do multiplex, if you have a total disaster, you could still be in danger of losing data.

One place where I do use multiplexed archived redo locations is with Oracle Data Guard (Standby). The archived redo logs are written to a different server at the same time they're being generated on the primary database. This is for databases where the business has said 7x24 and no lost transactions (running Data Guard in Guaranteed No Data Loss mode).

I hope that helps.

Darl Kuhn

Got a compliment, complaint, or suggestion? Let us know!

Return to: letters.oreilly.com

Copyright © 2007 O'Reilly Media, Inc.