fjmingyang - by - 28 十一月, 2007 22:27

SQL> show user
USER is "SYS"
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production

SQL> show parameter audit

NAME TYPE VALUE
------------------------------------ ----------- ---------------
audit_sys_operations boolean FALSE
audit_trail string DB
SQL> audit table ;

Audit succeeded.

SQL> delete from aud$;

5 rows deleted.

SQL> commit;

SQL> conn cmy/cmy;
Connected.
SQL> drop table t;

Table dropped.

SQL> select count(*) from user_audit_trail;

COUNT(*)
----------
1 --------审计成功


偶然发现如果drop table t这句放在toad 8.6版 里面执行,不会生成审计记录!不知道是不是toad的bug.



    最新回复


发表评论







博客日历
« 八月 2008 »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
搜索
管理控制台
TOP_Read
TOP_Reply
文章分类
MY's Stories[7]
Solaris[17]
Linux[6]
Oracle[36]
Others[10]
新闻聚合
RSS 0.90
RSS 1.0
RSS 2.0
Atom 0.3