Skip to Main Content
Oracle SQL*Plus Pocket Reference
book

Oracle SQL*Plus Pocket Reference

by Jonathan Gennick
April 2000
Intermediate to advanced content levelIntermediate to advanced
94 pages
1h 52m
English
O'Reilly Media, Inc.
Content preview from Oracle SQL*Plus Pocket Reference

Name

RECOVER

Synopsis

RECOVER [DATABASE [[UNTIL
   {CANCEL
   | CHANGE system_change_number
   | TIME date_time}
   [USING BACKUP CONTROLFILE]
   [PARALLEL([DEGREE {num_of_procs | DEFAULT}
   | INSTANCES {num_of_inst | DEFAULT}]...)
   | NOPARALLEL] |

RECOVER TABLESPACE tablespace_name
   [,tablespace_name...]
   [PARALLEL([DEGREE {num_of_procs | DEFAULT}
   | INSTANCES {num_of_inst | DEFAULT}]...)
   | NOPARALLEL] |

RECOVER DATAFILE
   datafile_name [,datafile_name...]
   [PARALLEL([DEGREE {num_of_procs | DEFAULT}
   | INSTANCES {num_of_inst | DEFAULT}]...)
   | NOPARALLEL]

The RECOVER command initiates media recovery on a database, tablespace, or datafile. You must be connected as SYSDBA, SYSOPER, or INTERNAL in order to use RECOVER. Here are some examples:

RECOVER TABLESPACE USERS
RECOVER DATABASE UNTIL -
   TIME 20-JAN-2000:16:57:00

Parameters

RECOVER DATABASE

Initiates media recovery on the entire database. The database must be mounted but not open.

RECOVER TABLESPACE tablespace_name

Initiates media recovery on the specified tablespace or list of tablespaces (up to a maximum of 16). The tablespace(s) must be offline, and the database must be mounted and open.

RECOVER DATAFILE datafile_name

Initiates media recovery on the specified datafile or list of datafiles. The datafiles to be recovered must be offline. As long as none of the datafiles are part of the SYSTEM tablespace, the database may remain open.

UNTIL CANCEL

Allows you to recover one log file at a time, with the opportunity to cancel after each log file has been processed.

UNTIL ...
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 SQL*Plus Pocket Reference, 3rd Edition

Oracle SQL*Plus Pocket Reference, 3rd Edition

Jonathan Gennick
Expert Oracle Exadata

Expert Oracle Exadata

Kerry Osborne, Randy Johnson, Tanel Pöder

Publisher Resources

ISBN: 1565929411Catalog PageErrata