Aix-oracle database connections cause archive log full

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.