Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Tablespace Point-in-Time Recovery

Oracle provides another type of recovery operation known as tablespace point-in-time recovery (TSPITR). TSPITR is most commonly used with transportable tablespaces to recover from a variety of errors, such as mistakenly dropping a table or a tablespace, or encountering a logically corrupted table.

Transportable tablespaces are an efficient way to move tablespaces from one database to another. You can copy the actual tablespace files, rather than having to back up and restore them or use Import and Export to move the data.

To accomplish this type of recovery, you perform the following steps:

  1. Take tablespaces that are to be recovered offline in the original database.

  2. Set up an auxiliary database.

  3. Recover the tablespace in the auxiliary database to the appropriate point in time.

  4. Make the target tablespaces read-only in the auxiliary database.

  5. Export the transportable tablespace information from the auxiliary database.

  6. Drop the tablespace in the original database.

  7. Copy the tablespace files from the auxiliary database to the original database.

  8. Import the transportable tablespace information into the original database.

  9. Use transportable tablespaces to move the recovered tablespace to the original database.

  10. Enable read-write access for the new tablespaces.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page