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.

E.3.4 Summary<br />

In our second test, the tablespace USERS was still available even after the<br />

d<strong>at</strong>afile was deleted. We were able to add more transactions to the<br />

tablespace. Then we restarted the instance. The startup was not able to open<br />

d<strong>at</strong>abase because the d<strong>at</strong>afile was missing. So it remained in mount mode.<br />

Here, we did a close d<strong>at</strong>abase recovery. Below were the steps we performed:<br />

1. Make sure th<strong>at</strong> the d<strong>at</strong>afile is online by querying V$DATAFILE. In our<br />

case, the d<strong>at</strong>afile was online, otherwise, we would have issued this<br />

command using sqlplus or svrmgrl:<br />

alter d<strong>at</strong>abase d<strong>at</strong>afile ‘/hewdb/tokyo/users01.dbf’ online;<br />

2. Run the RMAN recovery command:<br />

rman target / c<strong>at</strong>alog rman2/rman@rman cmdfile<br />

‘/orc8/app/oracle/product/815/admin/tokyo/adhoc/recover’<br />

3. Using sqlplus or svrmgrl, open the d<strong>at</strong>abase:<br />

alter d<strong>at</strong>abase open;<br />

Our recovery tests were able to recover the d<strong>at</strong>abase to its l<strong>at</strong>est committed<br />

transaction.<br />

In summary, TDP for ESS reduces resource contention by offloading the<br />

backup process to a backup machine. The backup process can be done<br />

offline in the backup machine which gives better performance. The production<br />

d<strong>at</strong>abase remains online and its activity is not affected by a backup process.<br />

It is therefore recommended to use TDP for ESS to perform d<strong>at</strong>abase backup<br />

on d<strong>at</strong>abases which require maximum d<strong>at</strong>abase availability.<br />

If you have to do tablespace backup, the regular RMAN tablespace backup<br />

can be used for smaller tablespaces. For larger tablespaces, TDP for ESS<br />

can be used when it becomes available. As of this writing, TDP for ESS<br />

version 1.1 only supports d<strong>at</strong>abase backup.<br />

For backing up archive logs, the only option as the time of writing is to use<br />

regular RMAN commands.<br />

Appendix E. TDP for IBM ESS for <strong>Oracle</strong> d<strong>at</strong>abases 243

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

Saved successfully!

Ooh no, something went wrong!