SQL Sniffer for Oracle

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

SQL Sniffer for Oracle

Post by willianjhonnes » Wed 12 Nov 2008 15:51

Hi, everybody!

Wich components may I use to create a SQL Sniffer application to Oracle databases using ODAC components?

It will be a implementation to my applications, that works with a runtime class that controls my connection with database and create TOraStoredProc objects in runtime to execute my SPs in DB. I have tried to use a TOraSQLMonitor, but successless.

I want to create an application that can "sniff" any statement execution in my Oracle server in any session. Passing the SID to this application, it starts to sniff any statement executed in the server by this session, adding this to a log file or a TMemo component. It's an administrative tool to debug and/or analyse my PL/SQL codes, so as analyse the the usage of some resources of my applications. This can help me to improve/implemente better solutions to my customers, reducing the cost in my database.

Thank you.

---------------------------------------------------
Att.:
Willian Jhonnes L. dos Santos
Object/Free Pascal & Web/PHP Analist/Developer
[email protected]
---------------------------------------------------
Linux user number 449753
---------------------------------------------------
Powered by Slackware Linux 12.0
Kernel 2.6.21.5-custom
---------------------------------------------------

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Wed 12 Nov 2008 18:05

What about the DBMonitor
http://www.devart.com/dbmonitor/

Greetings
Jens

willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

Post by willianjhonnes » Wed 12 Nov 2008 19:11

Hi Jens...

Thank you for answer.

The DBMonitor app is exactly what I want, but is an external application. I need to do the same thing in my application, with the same visual style of other applications I have developed, you know...

So, what I need is implement the same solution in my application, using the ODAC 6.25 components that I have license.

Thank you once again.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Wed 12 Nov 2008 20:01

Use the SQLMonitor Component and the events of the component to show the data in your app manually.

Greetings
Jens

Post Reply