姿姿霸霸~~!
          貴在堅持!
          posts - 106,  comments - 50,  trackbacks - 0
          Oracle 10g默認的歸檔日志存放在flash_recovery_area,如果歸檔日志超過了默認值的大小,則會報ORA-16014的錯誤.

          1.出錯
          SQL*Plus: Release 10.2.0.2.0 - Production on Sun May 30 10:32:43 2010

          Copyright (c) 
          19822005, Oracle.  All Rights Reserved.


          Connected 
          to:
          Oracle 
          Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
          With the Partitioning, Oracle Label Security, OLAP and Data Mining options
          SQL
          > startup mount
          ORACLE instance started.

          Total System Global Area  
          285212672 bytes
          Fixed Size                  
          1260396 bytes
          Variable Size              
          96470164 bytes
          Database Buffers          180355072 bytes
          Redo Buffers                
          7127040 bytes
          Database mounted.
          SQL
          > alter database open
            
          2  /
          alter database open
          *
          ERROR at line 
          1:
          ORA
          -16014log 1 sequence# 86 not archived, no available destinations
          ORA
          -00312: online log 1 thread 1'/u01/app/oracle/oradata/orcl/redo01.log'


          2.查看歸檔日志區的大小
          SQL> show parameter db_rec

          NAME                                 TYPE        VALUE
          ------------------------------------ ----------- ------------------------------
          db_recovery_file_dest                string      /u01/app/oracle/flash_recovery
                                                           _area
          db_recovery_file_dest_size           big 
          integer 2G
          db_recycle_cache_size                big 
          integer 0

          3.檢查flash recovery area的使用情況
          SQL> select * from v$flash_recovery_area_usage;

          FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
          ------------ ------------------ ------------------------- ---------------
          CONTROLFILE                   0                         0               0
          ONLINELOG                     
          0                         0               0
          ARCHIVELOG                
          98.77                         0              52
          BACKUPPIECE                   
          0                         0               0
          IMAGECOPY                     
          0                         0               0
          FLASHBACKLOG                  
          0                         0               0

          6 rows selected.

          SQL
          > select sum( PERCENT_SPACE_USED )*3/100 from v$flash_recovery_area_usage;

          SUM(PERCENT_SPACE_USED)*3/100
          -----------------------------
                                 2.9631


          4.計算后,發現使用了2.96G>2G,將值設為4G,重新啟動,成功
          SQL> alter system set db_recovery_file_dest_size =4G;

          System altered.

          SQL
          > alter database open;

          Database altered.

          SQL
          >
          posted on 2010-05-30 13:02 xrzp 閱讀(757) 評論(0)  編輯  收藏 所屬分類: oracle-基礎

          <2010年5月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(4)

          隨筆分類

          隨筆檔案

          好友的blog

          搜索

          •  

          積分與排名

          • 積分 - 118088
          • 排名 - 499

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 景德镇市| 东阳市| 北川| 三河市| 太保市| 泸水县| 台州市| 东山县| 比如县| 澎湖县| 南涧| 双鸭山市| 惠东县| 乐至县| 桑植县| 南昌市| 芦溪县| 灌云县| 凤城市| 平陆县| 手游| 剑阁县| 新郑市| 安徽省| 拉孜县| 东阳市| 博野县| 安龙县| 石楼县| 桐梓县| 隆化县| 嘉定区| 郸城县| 华亭县| 涟水县| 蒙阴县| 夏津县| 全州县| 阳春市| 三门峡市| 平阴县|