Oracle出错:由于输出设备已满或不可用, 归档程序无法归档重做日志。归档日志错误!
2012-04-12 09:24
411 查看
1、查看db_recovery
SQL> show parameter db_recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string G:\oracle\product\10.2.0\flash _recovery_area
db_recovery_file_dest_size big integer 2G
2、查看trc文件
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is
100.00% used, and has 0 remaining bytes available.
*** 2012-04-11 11:07:28.406
************************************************************************
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.
发现db_recovery_file_dest_size的空间已全部用完,打开G:\oracle\product\10.2.0\flash _recovery_area发现确实超过2G
第一种方法:扩大db_recovery_file_dest_size的容量
sql>alter system set db_recovery_file_dest_size = 4g scope=both;(mount状态)
此方法治标不治本,只能暂时解决。
第二种方法:使用RMAN删除日志
C:\Documents and Settings\Administrator>rman target /
RMAN>backup archivelog all;
RMAN>backup archivelog all delete all input;
RMAN>crosscheck archivelog all;
RMAN>delete expired archivelog all;
SQL> show parameter db_recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string G:\oracle\product\10.2.0\flash _recovery_area
db_recovery_file_dest_size big integer 2G
2、查看trc文件
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is
100.00% used, and has 0 remaining bytes available.
*** 2012-04-11 11:07:28.406
************************************************************************
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.
发现db_recovery_file_dest_size的空间已全部用完,打开G:\oracle\product\10.2.0\flash _recovery_area发现确实超过2G
第一种方法:扩大db_recovery_file_dest_size的容量
sql>alter system set db_recovery_file_dest_size = 4g scope=both;(mount状态)
此方法治标不治本,只能暂时解决。
第二种方法:使用RMAN删除日志
C:\Documents and Settings\Administrator>rman target /
RMAN>backup archivelog all;
RMAN>backup archivelog all delete all input;
RMAN>crosscheck archivelog all;
RMAN>delete expired archivelog all;
相关文章推荐
- 输出设备已满或不可用, 归档程序无法归档重做日志[oracle解决方法]
- 部署程序到模拟器上出错:无法连接到设备,错误:0x8007064a
- win7部署程序到模拟器上出错:无法连接到设备,错误:0x8007064a
- IIS虚拟目录内的视频文件访问出错:HTTP 错误 404.3 - Not Found 由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME 映射。
- 错误备忘_Oracle 监听无法启动“……某些服务在未由其他服务或程序使用时将自动停止”
- HTTP 错误 404.3 – Not Found 由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序
- 错误“ORA-12520: TNS: 监听程序无法找到需要的服务器类型的可用句柄”解决方法
- 部署程序到模拟器上出错:无法连接到设备
- HTTP 错误 404.3 - Not Found 由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME 映射
- oracle提示 ORA-12154: TNS: 无法解析指定的连接标识符 OCIEnvCreate 失败, 返回代码为-1,但错误消息文本不可用
- Office 2007或Office 2010套件初始安装中断后无法重新启动安装程序,错误“Microsoft Office xxx在安装过程中出错”
- SQL安装时出错,提示:安装程序配置服务器失败 参考服务器错误日志。针对其中一种情况的解决方法!
- J2EE (四) Oracle连接错误 监听程序无法识别
- Oracle 错误ORA-12514:TNS:监听程序当前无法识别连接描述符中请求的服务 ORA-01033:ORACLE initialization or shutdown in progress
- oracle 00257归档日志错误后续及查看alert.log的方法
- 凌阳SPCE3200精简开发板:解决附带实验程序中printf无法输出串口调试日志信息的问题
- ORA-16014:日志1的序列号83未归档,没有可用的目的地的错误
- 15_Oracle_Admin_联机重做日志文件的配置和归档
- oracle数据库热备方案中,自动归档模式的相关问题,-------转【一例SPFILE设置错误导致数据库无法启动】
- 安装 oracle 11g 发行版 出现错误:由于以下错误,Enterprise Manager配置失败,启动Database Control时出错