Identify what auditing is on
Suspect too much auditing is on on a database? This script will show you what auditing is on:
set pages 9999 select * from DBA_STMT_AUDIT_OPTS ; select * from DBA_PRIV_AUDIT_OPTS ; set termout off lines 192 spool 1.tmp select * from DBA_OBJ_AUDIT_OPTS ; spool off set termout on lines 80 host egrep '(S/|A/|/S|/A)' 1.tmp
Note that the unix command egrep is used to filter the dba_obj_audit_opts rows of interest.
Leave a Reply