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
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 TARGET DATABASE  FOR STANDBY  DORECOVER  NOFILENAMECHECK;}As you can see, […]
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 Backup Oracle Database Parallelly by RMAN

Posted on
If you do not explicitly allocate the channel(s) in the run block, RMAN will follow the default channel and parallelism setting for parallel backup. For example:RMAN> show all;…CONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 5; # default…RMAN> run {  backup database;}2> 3>Starting backup at 08-JUN-16allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=12 devtype=DISKallocated […]