【12c】ORA-00257: Archiver error. Connect AS SYSDBA only until resolved.

1 问题描述

1)登录数据库出错

[oracle@odd agent]$ sqlplus alen/alen@prod2

SQL*Plus: Release 12.1.0.2.0 Production on Fri May 22 23:46:30 2020

Copyright (c) 1982, 2014, Oracle. All rights reserved.

ERROR:

ORA-00257: Archiver error. Connect AS SYSDBA only until resolved.

2 问题查看

1)查看ORA错误

[oracle@odd agent]$ oerr ora 00257

00257, 00000, "Archiver error. Connect AS SYSDBA only until resolved."

// *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 that the destination device is out of space to store the

// redo log file. Another possible cause is that a destination marked

// as MANDATORY has failed.

// *Action: Check the alert log and trace files for detailed error

// information.

2)查看告警日志

3 解决方案

通过上面的问题查看,发现闪回恢复区的空间被归档日志占满,导致无法对归档日志进行归档,查看数据字典视图v$recovery_area_usage发现归档日志的占用空间很大,故解决办法是删除归档日志或者增大快闪恢复区的空间。

1)增大快闪恢复区

ALEN@PROD2> alter system set db_recovery_file_dest_size=10G;

2)删除归档日志(删除前需确认能否直接删除

RMAN> delete archivelog all;

猜你喜欢

转载自blog.csdn.net/Alen_Liu_SZ/article/details/106293380
今日推荐