阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Oracle启动失败startup – 闪回空间满

151次阅读
没有评论

共计 2636 个字符,预计需要花费 7 分钟才能阅读完成。

Oracle 启动失败 startup – 闪回空间满

登录失败

sqlplus / as sysdb 登录后:
startup

失败,ORA-03113: end-of-file on communication channel
 
查看日志:
SQL> show parameter db_recovery_file_dest_size;

NAME        TYPE  VALUE
———————————— ———– ——————————
db_recovery_file_dest_size      big integer 20G
SQL> show parameter background_dump;

NAME        TYPE  VALUE
———————————— ———– ——————————
background_dump_dest      string  /home/oracle/app/11g/diag/rdbm
      s/orcl/orcl/trace

${ORACLEHOME}/app/11g/diag/rdbms/orcl/orcl/trace/alert_orcl.log

增大闪回空间
shutdown immediate
startup nomount
alter system set db_recovery_file_dest_size=20480M;

启动:
alter database open;
或者:
shutdown immediate;
startup

查询闪回空间的大小
show parameter db_recovery_file_dest_size;

查询闪回空间使用情况
SQL> select * from v$recovery_file_dest;

NAME
——————————————————————————–
SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
———– ———- —————– —————
/home/oracle/app/11g/flash_recovery_area
 2.1475E+10 4539396608        0      209

删除 30 天以前的归档日志:
rman nocatalog
connect target /
delete archivelog all completed before ‘sysdate – 30’;

启动失败日志
ARC3 started with pid=24, OS id=2958
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC0: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the ‘no FAL’ ARCH
ARC0: Becoming the ‘no SRL’ ARCH
ARC2: Becoming the heartbeat ARCH
Errors in file /home/oracle/app/11g/diag/rdbms/orcl/orcl/trace/orcl_ora_2942.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 8589934592 bytes is 100.00% used, and has 0 remaining bytes available.
************************************************************************
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.
************************************************************************
Errors in file /home/oracle/app/11g/diag/rdbms/orcl/orcl/trace/orcl_ora_2942.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 18508800 bytes disk space from 8589934592 limit
ARCH: Error 19809 Creating archive log file to ‘/home/oracle/app/11g/flash_recovery_area/ORCL/archivelog/2017_09_18/o1_mf_1_1591_%u_.arc’
Errors in file /home/oracle/app/11g/diag/rdbms/orcl/orcl/trace/orcl_arc2_2954.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 8589934592 bytes is 100.00% used, and has 0 remaining bytes available.

正文完
星哥说事-微信公众号
post-qrcode
 
星锅
版权声明:本站原创文章,由 星锅 2022-01-22发表,共计2636字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中