Oracle 11g Audit File Audit

Source: Internet
Author: User

Audit files: Record suspicious operations in the database; SYS's connection and database start-up, stop is bound to be audited!
Location of audit Files:
Show Parameter Audit_file_dest

If the audit directory does not exist, the database will not start properly!
Sql> Startup
Ora-09925:unable to create audit trail file
linux-x86_64 error:2: No such file or directory
Additional information:9925



Oracle Audit is a chicken, audit logs increase the speed, and increase the system load, reduce system performance.

According to our practice in the production system is to disable auditing, disable and then clear the audit log.


1、查看审计功能是否开启 sqlplus  "/as sysdba" SQL> show  parameter  audit; NAME TYPE    VALUE --------------------     -------    -------------------------------- audit_file_dest         string   /u01/app/oracle/admin/ORCL/adump audit_sys_operations   boolean    TRUE audit_syslog_level    string audit_trail       string   DB 说明:表明审计功能为开启的状态   2、关闭oracle的审计功能 SQL>  alter system   set audit_sys_operations= FALSE scope=spfile; System altered. SQL>  alter system  set audit_trail=NONE  scope=spfile; System altered.   3、重启数据库 SQL> shutdown immediate; SQL> startup;   4、验证审计是否已经被关闭 SQL> show parameter audit; NAME TYPE    VALUE --------------------     -------    -------------------------------- audit_file_dest         string   /u01/app/oracle/admin/ORCL/adump audit_sys_operations   boolean    FALSE audit_syslog_level    string audit_trail       string   NONE 说明:表明审计功能为关闭的状态   5、清空审计表数据 SQL>   truncate table SYS.AUD$;


This article is from the "Liang blog" blog, make sure to keep this source http://7038006.blog.51cto.com/7028006/1841993

Oracle 11g Audit File Audit

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.