RAC

How to Restore 12c RAC Database by a Backup Set

Posted on
For 10g RAC database restoration, you may check: How to Restore 10g RAC Database by a Backup Set. Suppose we have restored 12c clusterware back. Now we can start to restore 12c cluster database. Our goal in this post is to use a backup set on one of RAC nodes to restore the database. First […]
RAC

How to Restore 10g RAC Database by a Backup Set

Posted on
For 12c RAC database restoration, you may check: How to Restore 12c RAC Database by a Backup Set. Suppose we have recovered 10g CRS and ASM from a fatal crash, but the database is still waiting for our saving. Luckily, we have a backup set of the database, which is a full and consistent database […]
RMAN

How to Resolve RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode

Posted on
RMAN-06149 Trying to backup a database in the development environment. But failed with “RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode”. RMAN> backup database tag ‘BEFORE-IMPORT-PRODUCTION-2018Q1’; Starting backup at 18-APR-18 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=352 device type=DISK RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== […]
Archived Log File

Online Archived Logs vs Backup Archived Logs

Posted on
Let me make it short first. If you can tell the difference between the following two RMAN statements, then you have already know the difference. RMAN> list archivelog all; RMAN> list backup of archivelog all; Of course, I can also explain the difference much longer. Online Archived Logs Online archived logs are derived from online […]
RMAN

How to Compress RMAN Backupset

Posted on
You can enable the compression feature of RMAN by the following 2 ways: One time setting RMAN> show all; RMAN configuration parameters for database with db_unique_name ORCL are: … CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default … CONFIGURE COMPRESSION ALGORITHM ‘BASIC’ AS OF RELEASE ‘DEFAULT’ OPTIMIZE FOR LOAD TRUE ; […]
RMAN

How to Resolve ORA-19505 and ORA-27037 in Error Stack

Posted on
ORA-19505 with ORA-27037 When I tried to duplicate a target database to an auxiliary one by this run block. RUN {   ALLOCATE AUXILIARY CHANNEL c1 DEVICE TYPE DISK;   ALLOCATE AUXILIARY CHANNEL c2 DEVICE TYPE DISK;   ALLOCATE AUXILIARY CHANNEL c3 DEVICE TYPE DISK;   ALLOCATE AUXILIARY CHANNEL c4 DEVICE TYPE DISK;   DUPLICATE […]
RMAN

How to Check Oracle Data Files Healthy

Posted on
Two ways that you can verify data files, one is using Oracle utility dbverify, the other is RMAN command.DbverifyWe can use dbv to check specific data file for block healthy.[oracle@localhost ~] dbv feedback=0 blocksize=8192 file=/oracle/oradata/ORCL/USER01.dbf…Page 2760912 is marked corrupt***Corrupt block relative dba: 0x4baa20d0 (file 302, block 2760912)Completely zero block found during dbv:One dbv command can […]
RMAN

How to Restore Archivelog to Different Location

Posted on
Here is my case, I would like to resolve the gap between the primary and the standby database, but the log_archive_dest_1 is very limited, I can’t restore all of required archived log to the destination. So I decided to restore them to another location. RMAN> run {   allocate channel c1 type ‘sbt_tape’;   set […]