ORA-00257: archiver error. Connect internal only, until freed 解決方法
C:\Users\Administrator>sqlplus h2/hydeesoft@orcl
SQL*Plus: Release 11.2.0.1.0 Production on 星期二 9月 30 10:57:46 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-00257: archiver error. Connect internal only, until freed.
--系統使用者登入,檢視歸檔已用空間大小
C:\Users\Administrator>sqlplus sys/oracle as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期二 9月 30 10:58:10 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
連線到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter db_recover;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string E:\app\Administrator\flash_rec
overy_area
db_recovery_file_dest_size big integer 3912M
SQL> set linesize 200;
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILE
S
-------------------- ------------------ ------------------------- --------------
-
CONTROL FILE 0 0
0
REDO LOG 0 0
0
ARCHIVED LOG 99.1 0 9
0
BACKUP PIECE 0 0
0
IMAGE COPY 0 0
0
FLASHBACK LOG 0 0
0
FOREIGN ARCHIVED LOG 0 0
0
已選擇7行。
方法一:擴大歸檔日誌存放空間大小
SQL> alter system set db_recovery_file_dest_size=10g;
系統已更改。
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILE
S
-------------------- ------------------ ------------------------- --------------
-
CONTROL FILE 0 0
0
REDO LOG 0 0
0
ARCHIVED LOG 37.86 0 9
0
BACKUP PIECE 0 0
0
IMAGE COPY 0 0
0
FLASHBACK LOG 0 0
0
FOREIGN ARCHIVED LOG 0 0
0
已選擇7行。
SQL> conn h2/hydeesoft
已連線。
SQL> show parameter recover;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string E:\app\Administrator\flash_rec
overy_area
db_recovery_file_dest_size big integer 10G
recovery_parallelism integer 0
SQL> exit;
從 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷
開
方法二:清除過期歸檔日誌(或強制刪除指定的歸檔日誌)
C:\Users\Administrator>rman target /
恢復管理器: Release 11.2.0.1.0 - Production on 星期二 9月 30 11:38:07 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
連線到目標資料庫: ORCL (DBID=1383696692)
RMAN> crosscheck archivelog all;
……
對歸檔日誌的驗證成功
歸檔日誌檔名=E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_
30\O1_MF_1_414_B2N9PX60_.ARC RECID=161 STAMP=859635808
對歸檔日誌的驗證成功
歸檔日誌檔名=E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_
30\O1_MF_1_415_B2N9Q8WD_.ARC RECID=162 STAMP=859635820
……
RMAN> delete expired archivelog all;
釋放的通道: ORA_DISK_1
分配的通道: ORA_DISK_1
通道 ORA_DISK_1: SID=138 裝置型別=DISK
說明與資料檔案庫中的任何歸檔日誌都不匹配
RMAN> delete archivelog until time 'sysdate’;-- 刪除截止到今天的所有archivelog
……
159 1 412 A 30-9月 -14
名稱: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_3
0\O1_MF_1_412_B2N9P5NV_.ARC
160 1 413 A 30-9月 -14
名稱: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_3
0\O1_MF_1_413_B2N9PJRP_.ARC
161 1 414 A 30-9月 -14
名稱: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_3
0\O1_MF_1_414_B2N9PX60_.ARC
162 1 415 A 30-9月 -14
名稱: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_3
0\O1_MF_1_415_B2N9Q8WD_.ARC
163 1 416 A 30-9月 -14
名稱: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_3
0\O1_MF_1_416_B2N9QR5N_.ARC
是否確定要刪除以上物件 (輸入 YES 或 NO)?yes
……
已刪除的歸檔日誌
歸檔日誌檔名=E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_
30\O1_MF_1_415_B2N9Q8WD_.ARC RECID=162 STAMP=859635820
已刪除的歸檔日誌
歸檔日誌檔名=E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2014_09_
30\O1_MF_1_416_B2N9QR5N_.ARC RECID=163 STAMP=859635835
163 物件已刪除
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE
-------------------- ------------------ -------------------------
NUMBER_OF_FILES
---------------
CONTROL FILE 0 0
0
REDO LOG 0 0
0
ARCHIVED LOG 0 0
0
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE
-------------------- ------------------ -------------------------
NUMBER_OF_FILES
---------------
BACKUP PIECE 0 0
0
IMAGE COPY 0 0
0
FLASHBACK LOG 0 0
0
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE
-------------------- ------------------ -------------------------
NUMBER_OF_FILES
---------------
FOREIGN ARCHIVED LOG 0 0
0
已選擇7行。
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21251711/viewspace-1285874/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 解決ORA-00257: archiver error. Connect internal only, until freedHiveError
- ORA-00257: archiver error. Connect internal only, until freedHiveError
- ORA-00257:archiver error. Connect internal only,until freed.HiveError
- ORA-00257: archiver error. Connect internal only, until freed.HiveError
- 解決ORA-00257:archiver error.Connect internal only, until freedHiveError
- ORA-00257: archiver error. Connect internal only, until freed 錯誤的處理方法HiveError
- 2011.1.13報錯。.ORA-00257: archiver error. Connect internal only, until freed.HiveError
- ORA-00257: archiver error. Connect internal onlyHiveError
- ORA-16014/ORA-00257 archiver error Connect internal onlyHiveError
- (f)--閃回恢復區-- 報錯ORA-00257: archiver error. Connect internal HiveError
- ORA-00257 archiver error. 錯誤的處理方法HiveError
- Internal error:1058 解決方法Error
- ORA-00257 錯誤分析及解決方法
- 忘記INTERNAL密碼解決方法密碼
- archive log 日誌已滿“ORA-00257: archiver error”HiveError
- ORA-01041: internal error. HOSTDEF extensionError
- (轉)ORA-00257解決
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST
- 登入 Oracle 資料庫報錯,ORA-00257: archiver errorOracle資料庫HiveError
- ORA-00257歸檔日誌寫滿的解決方法
- Oracle ORA-00257故障解決辦法Oracle
- Host 'xxx' is not allowed to connect to this MySQL server 解決方法MySqlServer
- php中出現Strict Standards: Only variables should be passed by reference in的解決方法PHP
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- ORA-00257 archiver error--資料閃回區滿導致無法歸檔HiveError
- laravel 解決 mysql only_full_group_by 問題LaravelMySql
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- Java問題解決:The project cannot be built until build path errors are resolvedJavaProjectUIError
- MySQL 中出現報錯提示: ‘Variable ‘XXX‘ is a read only variable‘的解決方法MySql
- ORA-27090,ORA-00600: internal error code, arguments: [4194],的解決方法Error
- mysql 禁用 ONLY_FULL_GROUP_BY,暫時解決錯誤(sql_mode=only_full_group_by)MySql
- "ScrollView can host only one direct child"問題解決View
- Only a type can be imported. classname resolves to a package的解決ImportPackage
- 解決報錯error the @annotation pointcut expression is only supported at Java 5ErrorExpressJava
- 解決The given version [xx] is not supported, only version 1 to 10 is supported in this buildUI
- 錯誤解決:cc: Internal error: Killed (program cc1)Error
- Myeclipse 錯誤An internal error has occurred 解決辦法EclipseError
- Cannot connect on socket(25)_NetBackup 問題解決