- 最后登录
- 2015-3-16
- 在线时间
- 28 小时
- 威望
- 0
- 金钱
- 490
- 注册时间
- 2013-10-18
- 阅读权限
- 10
- 帖子
- 26
- 精华
- 0
- 积分
- 0
- UID
- 1322
|
1#
发表于 2013-12-5 21:51:31
|
查看: 4533 |
回复: 5
os:win7
databse version :11.2.0.1
情况描述:
今天本机折腾的时候,FRA满了,日志无法归档,先增加了FRA size 之前为4G 增加为5G。依然无法回收空间。然后就手动删除了FRA里面的归档日志,备份集。然后crosscheck backupset, crosscheck archivelog all 。delete expired backupset delete expired archive log all; 日志依然无法归档! 无奈 更改alter system set log_archivedest_1='LOCATION=D:/DUMP';完成归档。
但是现在仍然无法在FRA备份,查看alert.log 和相关参数设置如下:
参数:
SQL> show parameter db_recover
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string D:\app\admin\flash_recovery_area
db_recovery_file_dest_size big integer 5196
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_1 string LOCATION=D:/dump
SQL> spool off;
SQL> select file_type,percent_space_used from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED
-------------------- ------------------
CONTROL FILE 0
REDO LOG 0
ARCHIVED LOG 0
BACKUP PIECE 0
IMAGE COPY 0
FLASHBACK LOG 0
FOREIGN ARCHIVED LOG 0
已选择7行。
alert.log
Errors in file d:\app\admin\diag\rdbms\orcl\orcl\trace\orcl_ora_4152.trc:
ORA-19815: 警告: db_recovery_file_dest_size 字节 (共 5196 字节) 已使用 100.00%, 尚有 0 字节可用。
************************************************************************
You have following choices to free up space from 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.
************************************************************************
Thu Dec 05 21:39:18 2013
db_recovery_file_dest_size of 0 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Dec 05 21:48:47 2013
Errors in file d:\app\admin\diag\rdbms\orcl\orcl\trace\orcl_ora_3816.trc:
ORA-19815: 警告: db_recovery_file_dest_size 字节 (共 5196 字节) 已使用 100.00%, 尚有 0 字节可用。
************************************************************************
You have following choices to free up space from 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.
************************************************************************
orcl_ora_3816.trc:
ORA-19815: 警告: db_recovery_file_dest_size 字节 (共 5196 字节) 已使用 100.00%, 尚有 0 字节可用。
************************************************************************
You have following choices to free up space from 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.
************************************************************************
疑惑:我已经把FRA 增大,甚至都清空了FRA,
SQL> select file_type,percent_space_used from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED
-------------------- ------------------
CONTROL FILE 0
REDO LOG 0
ARCHIVED LOG 0
BACKUP PIECE 0
IMAGE COPY 0
FLASHBACK LOG 0
FOREIGN ARCHIVED LOG 0
显示都没有占用,为什么还会出现这样的情况呢?
|
|