Oracle操作(連接出現 ORA-00257 archiver error. connect internal only, until freed.)
出現這樣的提示,說明歸檔日誌已滿。需要刪除部分歸檔日誌;
登陸數據庫服務器,登陸rman
執行
$ rman
Recovery Manager: Release 11.2.0.3.0 - Production on Thu Sep 25 11:30:51 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN>
執行
RMAN> connect target sys/oracle2013
connected to target database: WWPSMLN (DBID=1970480238)
(connect target爲鏈接目標)
執行
RMAN> crosscheck archivelog all;
查看日誌
---備份日誌(有需要的話)
RMAN> backup archivelog all;
按情況刪除日誌:
---刪除過期的歸檔日誌
RMAN> delete expired archivelog all;
--按指定日期刪除(以系統時間向前推幾天的概念,保留3天的日誌)
RMAN> delete archivelog all completed before 'SYSDATE-3';
由王文傑、高偉波提供典型經驗