Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Auditing ALL activities on a table
nirav wrote:
> Hi
>
> I need to have a detailed audit on ALL activities of a table..ie I need
> to know all the SELECT, INSERT,UPDATE, DELETE against the table(DDLs
> against the table need not be audited..)
>
> how can this be done? it should be such that the exact sql statement
> fired against the table should be captured..can this be done via fga or
> some other means?
>
> appreciate ur help..
>
If using Oracle10g....
This can be achieved using basic auditing. Set the parameter AUDIT_TRAIL=DB_EXTENDED and enable object auditing for that table.
This way you'll get the exact sql statement (which is saved in a clob field - sql_text column) and bind variables used on the sql_bind column.
Read the chapter about auditing in the security manual for more information.
cheers,
pedro lopes
Received on Mon May 29 2006 - 14:17:15 CDT