Re: best way to log all sql queries?

From: <mh_at_pixar.com>
Date: Tue, 05 Feb 2008 00:33:22 GMT
Message-ID: <m9Opj.5883$so6.4401@newssvr19.news.prodigy.net>


DA Morgan <damorgan_at_psoug.org> wrote:
> mh_at_pixar.com wrote:
> > We have a database where users can make ad hoc queries. I would
> > like to be able to log all queries and dml for this database,
> > so that we can have some insight into how the database is
> > being used, and for performance forensics, etc.
> >
> > What's the best way to do this?
> >
> > Many TIA!
> > Mark
>
> Assuming a currently supported version of the product use the built-in
> auditing capabilities including Fine Grained Auditing implemented with
> the DBMS_FGA built-in package.
>
> http://www.psoug.org/reference/dbms_fga.html

Ah, that's just what I want, I will experiment with that, Thanks!

-- 
Mark Harrison
Pixar Animation Studios
Received on Mon Feb 04 2008 - 18:33:22 CST

Original text of this message