All technological notes.
PITR in PDBPDB PITR;
not affect all parts of the CDB 独立性
CDB is still opened and, therefore, all other PDBs are opened.不影响其他the old backup of the PDB After recovery 旧备份
edia failure occurs.旧备份能使用If you do not use a fast recovery area,
auxiliary set files by using the AUXILIARY DESTINATION clausePDB incarnation
CDB.0.V$PDB_INCARNATIONRESETLOGS option
PDB resetlogs is similar to a database resetlogs.概念上类似
PDB RESETLOGS does not perform a RESETLOGS for the CDB.不同于 cdbPDB record in the control file is updated. 在控制文件中更新redo log record carries PDB ID in the redo header.
redo applies to which PDB.Redo logs are shared by all PDBsredo from each PDB is written to a single set of redo logs.Example:
SQL "ALTER PLUGGABLE DATABASE pdbl CLOSE";
RUN {
SET UNTIL SCN = 1851648;
RESTORE pluggable DATABASE pdbl;
RECOVER pluggable DATABASE pdbl
-- specify the temporary location of the auxiliary set files
AUXILIARY DESTINATION='/u0l/app/oracle/oradata’';
SQL "ALTER PLUGGABLE DATABASE pdbl OPEN RESETLOGS";
}
TSPITR can be used to recover a tablespace to an earlier point in time.
Example:
RECOVER TABLESPACE pdbl:test_tbs
UNTIL SCN 832972
AUXILIARY DESTINATION '/tmp/CDBl/reco';
SQL "ALTER TABLESPACE pdbl:test_tbs ONLINE";