24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2.1 Disk mirroring<br />

Often, a combin<strong>at</strong>ion of techniques is used. The techniques we consider are:<br />

Disk mirroring<br />

Offline backup<br />

Online backup<br />

D<strong>at</strong>abase export<br />

Full d<strong>at</strong>abase backup<br />

Partial d<strong>at</strong>abase backup<br />

Incremental backup<br />

Log file backup<br />

LAN-free backup<br />

Backup using splitcopy fe<strong>at</strong>ures<br />

Backup of RDBMS supporting files<br />

Disk mirroring is a useful technique for maximizing the availability of your<br />

d<strong>at</strong>abase. Mirroring is the process of writing the same d<strong>at</strong>a to multiple<br />

storage devices <strong>at</strong> the same time. This is done either sequentially, when d<strong>at</strong>a<br />

is only written to the mirror once the master write is successful or in parallel<br />

when both master and mirror writes occur <strong>at</strong> the same time. The first method<br />

is slower but you are more likely to have <strong>at</strong> least one good copy of the d<strong>at</strong>a if<br />

a failure occurs.<br />

When reading from a mirrored logical volume, AIX will read from either the<br />

master or the mirror, whichever is the quickest <strong>at</strong> the time.<br />

If a media failure occurs, oper<strong>at</strong>ions are autom<strong>at</strong>ically switched to the good<br />

copy and AIX marks the faulty copy as stale. Mirroring allows your users to<br />

continue working even though a media failure has occurred. Mirroring can be<br />

implemented in either software or hardware.<br />

However, mirroring does not remove the need to back up d<strong>at</strong>abases. For<br />

example, disk mirroring will not allow you to restore a table th<strong>at</strong> has been lost<br />

or damaged as a result of user error. Also, although disk mirroring<br />

dram<strong>at</strong>ically reduces the impact of media failures, there is still a risk of<br />

damage to both sides of the mirror. If a d<strong>at</strong>abase is held on one set of<br />

physical volumes, and a mirror image of the same d<strong>at</strong>abase is maintained on<br />

a separ<strong>at</strong>e set of physical volumes, it is possible for both sets of physical<br />

volumes to be damaged or destroyed. This could happen as a result of a<br />

disaster or it could just be bad luck. In such instances, it will be necessary to<br />

recover the d<strong>at</strong>abase from backup copies.<br />

26 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!