解決ORA-00257: archiver error. Connect internal only, until freed
解決ORA-00257: archiver error. Connect internal only, until freed
歸檔日誌滿了。
解決辦法:
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 99.9 0 255
BACKUPPIECE 0 0 0
IMAGECOPY 0 0 0
FLASHBACKLOG 0 0 0
注:可以看出,ARCHIVELOG日誌已經達到99.9%了。要把它清除掉!
SQL> quit
C:\Documents and Settings\Administrator>rman target /
也可以直接
rman
rman >connect target system/myoracle@orcl
注:system為oracle使用者,myoracle為oracle使用者密碼,orcl為連線的資料庫名稱SID。
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;
注:刪除過期的歸檔
這樣就把歸檔檔案刪除了。再進入sqlplus 檢視ARCHIVELOG日誌使用率!
第二種方法就是增大閃回日誌檔案的最大大小。如下:
alter system set DB_RECOVERY_FILE_DEST_SIZE=10g
以上處理方法是當遇到出現日誌寫滿報錯時的處理,建議最好做個任務,定時刪除日誌,如下:
DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-7'; //刪除七天前的歸檔
DELETE ARCHIVELOG FROM TIME 'SYSDATE-7'; //刪除七天到現在的歸檔
歸檔日誌滿了。
解決辦法:
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 99.9 0 255
BACKUPPIECE 0 0 0
IMAGECOPY 0 0 0
FLASHBACKLOG 0 0 0
注:可以看出,ARCHIVELOG日誌已經達到99.9%了。要把它清除掉!
SQL> quit
C:\Documents and Settings\Administrator>rman target /
也可以直接
rman
rman >connect target system/myoracle@orcl
注:system為oracle使用者,myoracle為oracle使用者密碼,orcl為連線的資料庫名稱SID。
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;
注:刪除過期的歸檔
這樣就把歸檔檔案刪除了。再進入sqlplus 檢視ARCHIVELOG日誌使用率!
第二種方法就是增大閃回日誌檔案的最大大小。如下:
alter system set DB_RECOVERY_FILE_DEST_SIZE=10g
以上處理方法是當遇到出現日誌寫滿報錯時的處理,建議最好做個任務,定時刪除日誌,如下:
DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-7'; //刪除七天前的歸檔
DELETE ARCHIVELOG FROM TIME 'SYSDATE-7'; //刪除七天到現在的歸檔
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28869493/viewspace-1131332/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 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 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
- 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
- Oracle ORA-00257故障解決辦法Oracle
- Internal error:1058 解決方法Error
- ORA-00257 錯誤分析及解決方法
- ORA-00257 archiver error--資料閃回區滿導致無法歸檔HiveError
- 忘記INTERNAL密碼解決方法密碼
- ORA-00257歸檔日誌寫滿的解決方法
- 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 禁用 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 問題解決
- 解決方案 | MiKTex SSL connect error code 35Error
- remount of /system failed: Read-only file system原因及解決REMAI
- SSL錯誤ssl connect error 35的解決方案Error
- Host 'xxx' is not allowed to connect to this MySQL server 解決方法MySqlServer
- 上手MySQL之解決問題:not allowed to connect to this MySQL serverMySqlServer