zoukankan      html  css  js  c++  java
  • 【12c】ORA-00257: Archiver error. Connect AS SYSDBA only until resolved.

    1 问题描述

    1)登录数据库出错

    [oracle@odd agent]$ sqlplus alen/alen@prod2
    
    SQL*Plus: Release 12.1.0.2.0 Production on Fri May 22 23:46:30 2020
    
    Copyright (c) 1982, 2014, Oracle. All rights reserved.
    
    ERROR:
    
    ORA-00257: Archiver error. Connect AS SYSDBA only until resolved.

    2 问题查看

    1)查看ORA错误

    [oracle@odd agent]$ oerr ora 00257
    
    00257, 00000, "Archiver error. Connect AS SYSDBA only until resolved."
    
    // *Cause: The archiver process received an error while trying to archive
    
    // a redo log. If the problem is not resolved soon, the database
    
    // will stop executing transactions. The most likely cause of this
    
    // message is that the destination device is out of space to store the
    
    // redo log file. Another possible cause is that a destination marked
    
    // as MANDATORY has failed.
    
    // *Action: Check the alert log and trace files for detailed error
    
    // information.

    2)查看告警日志

    3 解决方案

    通过上面的问题查看,发现闪回恢复区的空间被归档日志占满,导致无法对归档日志进行归档,查看数据字典视图v$recovery_area_usage发现归档日志的占用空间很大,故解决办法是删除归档日志或者增大快闪恢复区的空间。

    1)增大快闪恢复区

    ALEN@PROD2> alter system set db_recovery_file_dest_size=10G;

    2)删除归档日志(删除前需确认能否直接删除

    RMAN> delete archivelog all;
  • 相关阅读:
    递归算法浅谈
    c语言中的位移位操作
    程序猿面试金典-数组和字符串
    很好的理解遗传算法的样例
    垂直搜索的相关知识点总结
    php单元測试
    Android中ExpandableListView控件基本使用
    几种代价函数
    ZJU-PAT 1065. A+B and C (64bit) (20)
    谷歌技术"三宝"之MapReduce
  • 原文地址:https://www.cnblogs.com/alen-liu-sz/p/12975533.html
Copyright © 2011-2022 走看看