Explain how you would restore a database using RMAN to Point
in Time?
Answer / braj123
Requirements for database restore using RMAN point in time:
* database must be running in Archive Log mode.
* Must have the full backup of the database and redologs
of the period from the backup and current time(find by SCN
NUMBERS).
Steps:
> SHUTDOWN IMMEDIATE;
>STARTUP MOUNT;
>RUN
{
SET UNTIL SCN 1000;
# Alternatives:
# SET UNTIL TIME 'Nov 15 2004 09:00:00';
# SET UNTIL SEQUENCE 9923;
RESTORE DATABASE;
RECOVER DATABASE;
}
>alter database open resetlogs;
| Is This Answer Correct ? | 2 Yes | 0 No |
What are the different sql server versions you have worked on? : sql server DBA
how can a session indicate its interest in receiving alerts?
which background process invoke at the time of upgradation tell me???
Which dictionary tables and/or views would you look at to diagnose a locking issue?
Explain how you would restore a database using RMAN to Point in Time?
what is the difference between catalog & nocatalog?
What is a correlated sub-query? : sql server DBA
What does coalescing a tablespace do?
If you're unsure in which script a sys or system-owned object is created, but you know it's in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
what is a user-defined lock?
How do you find out from the RMAN catalog if a particular archive log has been backed-up?
What is the importance of a recovery model? : sql server DBA
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)