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;
  • 相关阅读:
    贝叶斯网路的采样
    马尔可夫蒙特卡洛采样法
    高斯分布的采样
    常见的采样方法
    正则化
    随机梯度下降
    机器学习中的优化问题
    【原】涉及数据库的单元测试-JTeser
    高度和宽度
    定位position
  • 原文地址:https://www.cnblogs.com/alen-liu-sz/p/12975533.html
Copyright © 2011-2022 走看看