oeacle 11g archivelog写满,造成数据库无法打开
1 对于不需要归档的数据库
asmcmd
cd DATA/WEB/DATAFILE
rm -rf 归档日志文件
sqlplus / as sysdba
shutdown immediate & ps -ef | grep 实例名 (杀pmon)
sqlplus / as sysdba
startup mount
alter database noarchivelog;
shutdown immediate
startup
alter system set log_archive_log_start=false scope=spfile;
2 对于需要归档的数据库
su - oracle
export $ORACLE_SID=实例
ramn target /
RMAN>crosscheck archivelog all;
RMAN>delete expired archivelog all;
quit
sqlplus / as sysdba
SQL> show parameter db_recovery_file_dest_size
如果之日文件大小需要扩展
SQL> alter system set db_recovery_file_dest_size=4G;