Problem Description:
Aix-oracle database connections cause archive log full
Solution:
1. Delete Archive logs manually
2.rman Delete Archive Log
$rman Target/
Rman>select * from V$flash_recovery_area_usage;
Rman>delete Archivelog from time ' sysdate-1 ';
Note: Delete archivelog from time ' sysdate-1 '; ---> Attention to this command, delete the system time within 1 days to the current archive log
Delete noprompt Archivelog all completed before ' sysdate '; ---> This command clears all archived logs
Rman>select * from V$flash_recovery_area_usage;
To restart the database:
$sqlplus/nolog
Sql> Conn/as SYSDBA
Connected.
sql> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
Note: Shutdownn immeditate long time no response, can use Shutdwon abort;
Generally use SHUTDOWNN immeditate, but if the connection activity is too much, shutdown immediate also can have a long time no response problem.
Shutdown abort; This method is to shut down the database directly without waiting for the end of the session, which is not recommended in general. If it is not closed, there is generally no problem. Similar to the direct kill process.
sql> startup Nomount;
ORACLE instance started.
Sql>alter database Mount;
Sql>alter database open;
$ lsnrctl Start (start listener)