dbTalk Databases Forums  

best way to log all sql queries?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss best way to log all sql queries? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mh@pixar.com
 
Posts: n/a

Default best way to log all sql queries? - 02-04-2008 , 04:39 PM






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

--
Mark Harrison
Pixar Animation Studios

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 05:23 PM






mh (AT) pixar (DOT) com wrote:
Quote:
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

Also look at Oracle's Audit Vault.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 05:23 PM



mh (AT) pixar (DOT) com wrote:
Quote:
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

Also look at Oracle's Audit Vault.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #4  
Old   
DA Morgan
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 05:23 PM



mh (AT) pixar (DOT) com wrote:
Quote:
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

Also look at Oracle's Audit Vault.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #5  
Old   
DA Morgan
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 05:23 PM



mh (AT) pixar (DOT) com wrote:
Quote:
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

Also look at Oracle's Audit Vault.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #6  
Old   
mh@pixar.com
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 06:33 PM



DA Morgan <damorgan (AT) psoug (DOT) org> wrote:
Quote:
mh (AT) pixar (DOT) 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


Reply With Quote
  #7  
Old   
mh@pixar.com
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 06:33 PM



DA Morgan <damorgan (AT) psoug (DOT) org> wrote:
Quote:
mh (AT) pixar (DOT) 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


Reply With Quote
  #8  
Old   
mh@pixar.com
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 06:33 PM



DA Morgan <damorgan (AT) psoug (DOT) org> wrote:
Quote:
mh (AT) pixar (DOT) 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


Reply With Quote
  #9  
Old   
mh@pixar.com
 
Posts: n/a

Default Re: best way to log all sql queries? - 02-04-2008 , 06:33 PM



DA Morgan <damorgan (AT) psoug (DOT) org> wrote:
Quote:
mh (AT) pixar (DOT) 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.