Question about the aud file of the OracleASM instance

Source: Internet
Author: User
On the Oracle10g Database Server, a large number of files with the aud extension are generated under the $ ORACLE_HOMErdbmsaudit directory. View the log file content, recorded

On the Oracle 10 Gb database server, a large number of files with the aud extension are generated under the $ ORACLE_HOME/rdbms/audit directory. View the log file content, recorded

On the Oracle 10 Gb database server, a large number of files with the aud extension are generated under the $ ORACLE_HOME/rdbms/audit directory.

Check the log file and record all operations performed by sysdba to access the database instance ASM.

This is because:

Access the oracle asm instance as sysdba. Whether you enable or disable audit, the system will record the access log in the $ ORACLE_HOME/rdbms/audit Directory and generate the *. aud file.

Only one crontab can be used to automatically clear these files.

10 *** find/u01/app/oracle/product/10.2.0/db/rdbms/audit/-name "* aud"-exec rm-rf {}\;

Set to clean up every hour.

But then I found a new problem. After cleaning, the log file grew at an astonishing speed. Several files were generated every second, with each file size of 714 bytes. So many files will seriously affect system IO.

The connection to the ASM instance cannot be determined.

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.