Errors in file /opt/oracle/admin/test/bdump/test_mmon_9344.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 98.85% used, and has 24658944 remaining bytes available.
Fri Nov 23 23:23:55 2012
************************************************************************
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************
Fri Nov 23 23:23:55 2012
--查看當前 recovery_file_dest 使用情況
set lines 200
select substr(name,1,30) name,space_limit as quota,space_used as used,space_reclaimable as reclaimable,number_of_files as files from v$recovery_file_dest;
解決方法一:
--擴大db_recovery_file_dest_size大小
SQL> show parameter recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string /opt/oracle/flash_recovery_are
a
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
解決方法二:
--清理快速恢復區信息
NAME QUOTA USED RECLAIMABLE FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are 2147483648 2122824704 0 50
rman 執行:
run {
crosscheck archivelog all;
delete noprompt obsolete;
crosscheck backup;
delete noprompt expired archivelog all;
delete noprompt expired backup;
resync catalog;
}
--查看執行之後 recovery_file_dest 使用情況
NAME QUOTA USED RECLAIMABLE FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are 2147483648 0 0 0
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 98.85% used, and has 24658944 remaining bytes available.
Fri Nov 23 23:23:55 2012
************************************************************************
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************
Fri Nov 23 23:23:55 2012
--查看當前 recovery_file_dest 使用情況
set lines 200
select substr(name,1,30) name,space_limit as quota,space_used as used,space_reclaimable as reclaimable,number_of_files as files from v$recovery_file_dest;
解決方法一:
--擴大db_recovery_file_dest_size大小
SQL> show parameter recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string /opt/oracle/flash_recovery_are
a
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
解決方法二:
--清理快速恢復區信息
NAME QUOTA USED RECLAIMABLE FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are 2147483648 2122824704 0 50
rman 執行:
run {
crosscheck archivelog all;
delete noprompt obsolete;
crosscheck backup;
delete noprompt expired archivelog all;
delete noprompt expired backup;
resync catalog;
}
--查看執行之後 recovery_file_dest 使用情況
NAME QUOTA USED RECLAIMABLE FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are 2147483648 0 0 0