简体   繁体   中英

ORACLE AUDIT_TRAIL

What should be done to enable the system to observe users? I try

alter system set audit_trail=db,extended scope=spfile;

but when I check

select * from sys.dba_audit_trail;

there is no rows selected.

In general you need to use the AUDIT statement which a specific SQL statement.

For versions older than 12, you need to use AUDIT (traditional auditing) and for newer versions you should use AUDIT (Unified auditing) .

Auditing is a large topic within Oracle. You've enabled it with your initialization parameter setting, but you still need to tell Oracle exactly which activity you want to monitor.

Here is a "Getting Started" guide to auditing that should help:

And some additional references on best practices and features:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM