rman 備份中ORA-19809、ORA-19804問題解決
在我的測試環境中使用rman備份資料庫的時候,報如下錯誤(紅色部分):
oracle@oracle[/oracle]> rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 9 09:42:36 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: CNHTM (DBID=1230089073) RMAN> backup database; Starting backup at 09-JAN-10 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=159 devtype=DISK channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00001 name=+DATA/cnhtm/datafile/system01.dbf input datafile fno=00003 name=+DATA/cnhtm/datafile/sysaux01.dbf input datafile fno=00005 name=+DATA/cnhtm/datafile/example01.dbf input datafile fno=00002 name=+DATA/cnhtm/datafile/undotbs101.dbf input datafile fno=00004 name=+DATA/cnhtm/datafile/users01.dbf channel ORA_DISK_1: starting piece 1 at 09-JAN-10 RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/09/2010 09:43:36 ORA-19809: limit exceeded for recovery files ORA-19804: cannot reclaim 52428800 bytes disk space from 1073741824 limitcontinuing other job steps, job failed will not be re-run channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 09-JAN-10 channel ORA_DISK_1: finished piece 1 at 09-JAN-10 piece handle=/oracle/flash_recovery_area/CNHTM/backupset/2010_01_09/o1_mf_ncsnf_TAG20100109T094250_5nhqtbys_.bkp tag=TAG20100109T094250 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/09/2010 09:43:36 ORA-19809: limit exceeded for recovery files ORA-19804: cannot reclaim 52428800 bytes disk space from 1073741824 limit RMAN> exit Recovery Manager complete. |
這是flash_recovery_area空間不足的提示
[@more@]用如下方法檢查flash_recovery_area使用情況
oracle@oracle[/oracle]> sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 9 09:44:30 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options sys@CNHTM> select * from V$FLASH_RECOVERY_AREA_USAGE; FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES ------------ ------------------ ------------------------- --------------- CONTROLFILE 0 0 0 ONLINELOG 0 0 0 ARCHIVELOG 0 0 5 BACKUPPIECE 63.01 .7 7 IMAGECOPY 0 0 0 FLASHBACKLOG 0 0 0 6 rows selected. |
檢查db_recovery_file_dest_size引數
sys@CNHTM> show parameter recovery NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_recovery_file_dest string /oracle/flash_recovery_area db_recovery_file_dest_size big integer 1G recovery_parallelism integer 0 |
將引數db_recovery_file_dest_size增大為20G
sys@CNHTM> alter system set db_recovery_file_dest_size=20G scope=both; System altered. sys@CNHTM> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options |
再次備份,沒有問題了
oracle@oracle[/oracle]> rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 9 09:45:43 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: CNHTM (DBID=1230089073) RMAN> backup database; Starting backup at 09-JAN-10 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=154 devtype=DISK channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00001 name=+DATA/cnhtm/datafile/system01.dbf input datafile fno=00003 name=+DATA/cnhtm/datafile/sysaux01.dbf input datafile fno=00005 name=+DATA/cnhtm/datafile/example01.dbf input datafile fno=00002 name=+DATA/cnhtm/datafile/undotbs101.dbf input datafile fno=00004 name=+DATA/cnhtm/datafile/users01.dbf channel ORA_DISK_1: starting piece 1 at 09-JAN-10 channel ORA_DISK_1: finished piece 1 at 09-JAN-10 piece handle=/oracle/flash_recovery_area/CNHTM/backupset/2010_01_09/o1_mf_nnndf_TAG20100109T094622_5nhqzhs0_.bkp tag=TAG20100109T094622 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 09-JAN-10 channel ORA_DISK_1: finished piece 1 at 09-JAN-10 piece handle=/oracle/flash_recovery_area/CNHTM/backupset/2010_01_09/o1_mf_ncsnf_TAG20100109T094622_5nhr1m8l_.bkp tag=TAG20100109T094622 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03 Finished backup at 09-JAN-10 RMAN> |
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22049049/viewspace-1030420/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE rman備份之ORA-19809 ORA-19804Oracle
- 解決一次RMAN遲遲不能開始備份的問題
- RMAN備份中不同版本是否備份空資料塊的問題
- RMAN備份時出現ORA-19809: limit exceeded for recovery filesMIT
- Rman增量壓縮備份來解決備份空間不足
- 手動刪除了歸檔日誌後,rman備份出現問題解決
- RMAN 備份詳解
- RMAN備份詳解
- -- RMAN備份詳解
- Oracle rman 備份與恢復 臨時表空間的檔案問題解決Oracle
- Oracle RMAN 備份控制檔案報錯問題Oracle
- Oracle EXPDP自動備份緩慢問題解決Oracle
- RMAN說,我能備份(11)--RMAN中的備份集屬性
- RMAN備份中檔案與channel對應關係的格式問題
- RMAN說,我能備份(18)--RMAN中的加密備份和CATALOG加密
- RMAN說,我能備份(13)--RMAN中的備份壓縮和加密加密
- RMAN-05001,RMAN-05500 問題解決
- RMAN備份詳解(轉載)
- 轉載:RMAN 備份詳解
- 解決linux crontab備份mysql失敗的問題LinuxMySql
- ASM+RMAN使用delete input備份日誌的問題ASMdelete
- Backup And Recovery User's Guide-備份RMAN備份-使用RMAN備份備份集GUIIDE
- 熱備份與RMAN備份中split block的處理BloC
- Oracle RMAN中全備份與0級備份區別Oracle
- RMAN說,我能備份(9)--RMAN增量備份與備份保留策略
- 【RMAN】RMAN備份至ASMASM
- RMAN說,我能備份(14)--實戰RMAN備份
- 請問RMAN備份異機還原,備份之後的歸檔日誌在RMAN中怎麼處理?
- rman 備份策略
- RMAN備份原理
- Backup And Recovery User's Guide-備份RMAN備份-用RMAN備份映象拷貝備份GUIIDE
- 【備份】RMAN中對控制檔案的幾種備份方法
- RMAN說,我能備份(12)--RMAN中的恢復目錄和備份優化優化
- RMAN說,我能備份(16)--RMAN中的SET命令
- netbakcup備份時遇到 status 59: access to the client was not allowed 問題解決client
- RMAN說,我能備份(3)--RMAN全庫備份和表空間備份
- 【RMAN】RMAN的備份保留策略
- rman備份和增量備份指令碼指令碼