The RMAN CATALOG command is used to accomplish the following: Add backup pieces and image copies on disk to the RMAN repository. Record a datafile copy as a level 0 incremental backup in the RMAN repository, which enables you to use it as part of an incremental backup strategy. Record the existence of the last user-managed datafile copies made after the final shutdown. If you want to delete archivelog from FRA(ASM Storage -Flash Revovery Area) or filesystem to free space, you can use the following commands: Start the RMAN executable at the operating system command line while connecting to a target database and, possibly, to a recovery catalog, as in the following examples. If I understand correctly, configuring “CONFIGURE ARCHIVELOG DELETION POLICY TO SHIPPED ON ALL STANDBY” will mark the archive logs in standby database as reclaimable “YES” once its www.doorway.ru FRA can delete those marked logs and reclaim space when required(FRA does this automatically in oracle 12c, I hope).
To delete archive logs automatically on standby you should set LOG_AUTO_DEL_RETENTION_TARGET parameter. The Foreign Archive Logs in Logical Standby Database is automatically deleted by SQL Apply after the time specified in the LOG_AUTO_DEL_RETENTION_TARGET parameter. Automatic deletion can be delayed with the DBMS_www.doorway.ru_SET procedure. Dbvisit Standby Version 7, renames the archive logs when it copies them from the Primary to the www.doorway.ru if for some reason you have to do it manually once-off, you have two options: Copy the archive logs from primary to standby (Dbvisit ARCHDEST location), rename the files and then run dbvisit to apply logs. Default Destination for Restore of the Control File. When restoring the control file, the default destination is all of the locations defined in the CONTROL_FILES initialization parameter. If you do not set the CONTROL_FILES initialization parameter, the database uses the same rules to determine the destination for the restored control file as it uses when creating a control file if.
After connecting to the primary database, issue a SQL query to obtain the name of a log in each thread. For example, use the following SQL statement to obtain filenames of logs for thread 1: SQL SELECT NAME FROM V$ARCHIVED_LOG WHERE THREAD#=1 AND DEST_ID=12 AND SEQUENCE# AND SEQUENCE# < ;NAME/primary/thread1_dest/arcr_1_arc/primary/thread1_dest/arcr_1_arc/primary/thread1_dest/arcr_1_ You can press Enter or Return () to have Oracle apply the suggested archive redo log file, specify a file name, specify AUTO to instruct Oracle to apply any suggested files automatically, or type CANCEL to cancel out of the recovery operation. In this example, specify AUTO. Oracle applies all redo in all archive redo log files and online redo log files to perform a complete recovery. RMAN CATALOG START WITH '/cluster/home/oracle/archivelog'; searching for all files that match the pattern /cluster/home/oracle/archivelog. List of Files Unknown to the Database. ====================================. File Name: /cluster/home/oracle/archivelog/o1_mf_1__8dp4sgtp_.arc.
0コメント