码迷,mamicode.com
首页 > 其他好文 > 详细

052-38

时间:2017-12-05 17:47:03      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:nts   reg   which   restart   and   span   stat   存在   with   

To make audit information more productive, the DBA executes the following command before starting
an audit operation:
SQL> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;
Which statement is true regarding the audit record generated when auditing starts after restarting the database?
A.It contains only the plan for the SQL statement executed by the user.
B.It contains the SQL text executed by the user and the bind variables used with it.
C.It contains the plan and statistics associated with the SQL statement executed by the user.
D.It contains the plan for the SQL statement executed by the user and the bind variables used with it.

AUDIT_TRAIL 值含义如下:
DB:启用审计,信息记录在 SYS.AUD$中
OS:启用审计,审计信息保存在操作系统,Oralce 建议使用该配置
Db,extended:启用审计,并且记录对应的执行语句
Xml:启用审计,审计信息以 xml 形式保存在操作系统上
Xml,extended:启用审计,并且包括所有的执行语句

052-38

标签:nts   reg   which   restart   and   span   stat   存在   with   

原文地址:http://www.cnblogs.com/Babylon/p/7987984.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!