38. 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.
Answer: B
答案解析:
参考:http://blog.csdn.net/rlhua/article/details/12292365
Performs all actions of AUDIT_TRAIL=db, and also populates the SQL bind and SQL text CLOB-type columns of the SYS.AUD$ table, when available. These two columns are populated only when this parameter is specified.

本文探讨了在Oracle数据库中使用DBA执行的特定命令来增强审计信息的方法。通过设置AUDIT_TRAIL参数为DB,EXTENDED,可以记录用户执行的SQL语句及其绑定变量,这对于深入理解操作行为和进行故障排查非常有用。
5914

被折叠的 条评论
为什么被折叠?



