About Oracle audit (audit)

Source: Internet
Author: User

Oracle audit can be used to query the operations performed by a user on the database. After 10 Gb, it can be used to query specific SQL statements.

The entire process of opening an account with the audit function:

1. show parameter audit. You can query the audit_trail value, which can be {none | OS | db, extended | xml, extended}

2. alter system set audit_trail = DB scope = spfile;

After performing the preceding operations, restart the database.

3. audit table, which records the operation actions of user-created tables, truncate tables, and drop tables.

Note: After 10 GB (inclusive), dba_audit_trail. SQL _text records the specific SQL statement, which can be viewed, and audit_trail must be db_extended or db, extended; otherwise, audit cannot be viewed.

4. Audit is divided:

Statement, object, privilege, network

5. Cancel, noaudit

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.