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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to capture SQL

Re: How to capture SQL

From: Joel Garry <joel-garry_at_home.com>
Date: 19 Aug 2004 14:05:01 -0700
Message-ID: <91884734.0408191305.147a4e68@posting.google.com>


"Randy Harris" <randy_at_SpamFree.com> wrote in message news:<TrxUc.2712$ZC7.249_at_newssvr19.news.prodigy.com>...
> Is there a simple means of capturing an SQL statement sent from an
> application to an Oracle 9i server (on the server end)? I've been looking
> through the documentation, not sure if this should be done with trace, or
> auditing or if there is some way to enable SQL logging, or dump the redo log
> or something else.

If it is something that runs for a while: go into OEM 9.2 top sessions and select the session you want. The logon time is probably the best way to relate what session you want if your app doesn't show usernames unambiguously. Drill down to the explain plan. Click on the report icon. Show management what a brilliant performance analysis and documentation expert you are.

jg

--
@home.com is bogus.
"It means 'friend'" - Cheech
http://www.guardian.co.uk/online/news/0,12597,1286066,00.html
Received on Thu Aug 19 2004 - 16:05:01 CDT

Original text of this message

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