![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It seems that DBMS_MONITOR doesn't operate using the standard event mechanism. When I enabled trace in a session using DBMS_MONITOR, the eventdump didn't show anything. When an explicit "alter session set events" statement was issued, eventdump detected it without problem: SQL> oradebug setospid 4645 Oracle pid: 30, Unix process pid: 4645, image: oracle@medo (TNS V1-V3) SQL> oradebug eventdump session sql_trace level=12 SQL Question: what mechanism does DBMS_MONITOR use for tracing sessions? |
#3
| |||
| |||
|
|
I believe that the session with the trace enabled through DBMS_MONITOR must execute at least one SQL statement after tracing is enabled for the session, before ORADEBUG will report that the trace is enabled. |
#4
| |||
| |||
|
|
I believe that the session with the trace enabled through DBMS_MONITOR must execute at least one SQL statement after tracing is enabled for the session, before ORADEBUG will report that the trace is enabled. |
#5
| |||
| |||
|
|
On Fri, 23 Dec 2011 10:57:43 -0800, Charles Hooper wrote: I believe that the session with the trace enabled through DBMS_MONITOR must execute at least one SQL statement after tracing is enabled for the session, before ORADEBUG will report that the trace is enabled. Confirmed. Charles you're great! --http://mgogala.byethost5.com |
#6
| |||
| |||
|
|
On Dec 23, 3:44*pm, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote: On Fri, 23 Dec 2011 10:57:43 -0800, Charles Hooper wrote: I believe that the session with the trace enabled through DBMS_MONITOR must execute at least one SQL statement after tracing is enabled for the session, before ORADEBUG will report that the trace is enabled. Confirmed. Charles you're great! --http://mgogala.byethost5.com Yes, good job Charles. I have seen problem posts related to dbms_monitor not tracing in the past but when replies were "it works for me" type replies. *Next time I see such a post I will have to keep this behavior in mind. -- Mark D Powlel -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |