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 […]
ASM

How to Resolve SPFILE in DB_UNKNOWN

Posted on
SPFILE in DB_UNKNOWN When I tried to restore SPFILE to the default location at nomount state, I found that SPFILE was restored to a DB_UNKNOWN in ASM. Is it a bug dedicated to Oracle 10g RAC (Bug 5370663)? No, I saw it too in 12c R1 RAC restoration. Let’s reproduce the problem. First, check what […]
RMAN

How to Resolve ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

Posted on
Found ORA-19602 When I tried to backup a NOARCHIVELOG database in MOUNT state, I got ORA-19602 like the following case: RMAN> startup mount; … RMAN> backup database tag ‘20190416-before-yearly-import’; Starting backup at 16-APR-19 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=393 device type=DISK channel ORA_DISK_1: starting full datafile […]
RMAN

How RMAN Restore Database by a Backup Set

Posted on
Suppose we have restored the whole OS to the new server including Oracle software and directory structure. Our goal is to restore the database to the target server solely by a backup set for testing purpose. The content of the backup set that we copied from the source server to the target server is listed […]
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 =============== […]
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 […]