Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Auditing ALL activities on a table

Re: Auditing ALL activities on a table

From: Pedro Lopes <pedro.lopes_at_netvisao.pt>
Date: Mon, 29 May 2006 20:17:15 +0100
Message-ID: <447B48BB.40300@netvisao.pt>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US