RE: SQL trace for connections coming in for a database service
Date: Fri, 17 Jul 2009 17:15:26 +0200
With dbms_monitor this is very simple to do.
Following example will enable tracing with waits and bind information for all sessions connecting with a specific service_name:
exec dbms_monitor.serv_mod_act_trace_enable(service_name => 'service_name', waits => TRUE, binds => true);
to disable tracing: dbms_monitor.serv_mod_act_trace_disable(service_name => 'service_name');
Oracle Database Administrator
tel +32(0)3 451 23 82
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of dd yakkali Sent: vrijdag 17 juli 2009 17:01
Subject: SQL trace for connections coming in for a database service
I have an application which connects to the database using the database service called "ssi". Is there any way to do a sql trace for any connections coming in with that service name.
I do not want to turn on sql tracing on the whole database as there are so many applications running on it and finding the right trace file is tough.
oracle 10.2.0.4 RAC db with 184.108.40.206 CRS & 220.127.116.11 ASM on Sun Solaris 10
any help is highly appreciated.
http://www.freelists.org/webpage/oracle-l Received on Fri Jul 17 2009 - 10:15:26 CDT