zoukankan      html  css  js  c++  java
  • ORA-16014报错解决

    今天在本地数据库操作的时候报错:

    SQL> alter database open;
    alter database open
    *
    第 1 行出现错误:
    ORA-16014: 日志 3 的序列号 55 未归档, 没有可用的目的地
    ORA-00312: 联机日志 3 线程 1:
    'F:ORACLEPRODUCT10.2.0ORADATATESTREDO03.LOG'

    在网上找了一些资料,寻找到了解决方法,记录一下:

    SQL> select * from v$flash_recovery_area_usage;
      FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
      CONTROLFILE .22 0 1
      ONLINELOG 4.88 0 3
      ARCHIVELOG 65.01 0 73
      BACKUPPIECE 0 0 0
      IMAGECOPY 0 0 0
      FLASHBACKLOG 0 0 0
      已选择6行。
      计算flash recovery area已经占用的空间:
      SQL> select sum(percent_space_used)*3/100 from v$flash_recovery_area_usage;
      SUM(PERCENT_SPACE_USED)*3/100
      2.1033
      SQL> show parameter db_recovery
      NAME TYPE VALUE
      db_recovery_file_dest string D:/flash_recovery_area
      db_recovery_file_dest_size big integer 2G
      这里已经有2.1033G使用了,这说明我们刚开始设置的db_recovery_file_dest_size=2G不足,导致online redo log无法归档,在这里,我们通过设置db_recovery_file_dest_size参数,增大了flash recovery area来解决这个问题。
      SQL> alter system set db_recovery_file_dest_size=3G scope=both;
      系统已更改。
      SQL> alter database open;
      数据库已更改。
      ORA-16014 log string sequence# string not archived, no available destinations
      Cause: An attempt was made to archive the named log, but the archive was unsuccessful. The archive failed because there were no archive log destinations specified or all destinations experienced debilitating errors.
      Action: Verify that archive log destinations are being specified and/or take the necessary step to correct any errors that may have occurred.

  • 相关阅读:
    OSG节点访问和遍历
    osg ifc数据渲染着色器
    osg qt kdchart 开发施工过程模拟软件
    KDChart example
    Qt kdChart 甘特图案例
    Qt KDChart编译
    osg 3ds模型加载与操作
    osg 三维模型加载与解析(fbx、3ds、ive、obj、osg)
    osg fbx 模型结构操作
    osg fbx 模型树结构
  • 原文地址:https://www.cnblogs.com/newmanzhang/p/3279045.html
Copyright © 2011-2022 走看看