auditing

Auditing

  • Auditing is the monitoring of selected user database actions,and is used to:
    • Investigate suspicious database activity
    • Gather information about specific database activities
  • Auditing can be performed by session or access

by session:用户登陆上来后,发出同类型的SQL语句,oracle只会记录一条.

bu access:发出一条sql语句,Oracle就会记录一条.

SQL> audit select on scott.t;

Audit succeeded.
View Code

 

SQL> noaudit select on scott.t;

Noaudit succeeded.
关闭审计
SQL>audit select on scott.t;
object audit

 

 

 

posted @ 2013-07-26 10:54  ArcerZhang  阅读(214)  评论(0编辑  收藏  举报