删除归档日志

 今天一早,同事说Oracle数据库连接不上。用Sqlplus测试一下,报如下错:ORA-00257 archiver error. Connect internal only, until freed.原因比较明显,应该是归档日志文件太多造成磁盘或者设备空间不足。官方的解释就基本如此:
  • Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.
  •  Action: Check the archiver trace file for a detailed description of the problem. Also, verify that the device specified in the initialization parameter ARCHIVE_LOG_DEST is set up properly for archiving.
  •     通常,在正式的也就是生产环境下,Oracle是启用归档模式的(SQL>alter database archivelog;)。因此,Oracle系统会不断的产生归档日志。可以先查看一下已有的归档日志:
       
  • 1.telnet 到主机:telnet 10.10.2.41

  • AIX Version 5
    (C) Copyrights by IBM and by others 1982, 2005.
    login: root
    root's Password:
    *******************************************************************************
    *                                                                             *
    *                                                                             *
    *  Welcome to AIX Version 5.2!                                                *
    *                                                     

你可能感兴趣的:(DATABASE)