RE: object names in 10046 trace

  • From: "Cary Millsap" <cary.millsap@xxxxxxxxxx>
  • To: <Brandon.Allen@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 2 Dec 2005 10:01:06 -0600

Brandon,

On systems I've seen lately where the object name shows up in the row
source operation name, I've been able to see evidence of additional
recursive SQL statements executed in the database to obtain the object
name using the object id. In some cases, I've even seen the PARSE, EXEC,
and FETCH calls interspersed among the STAT lines for a single cursor
slot id.


Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
Nullius in verba
 
Hotsos Symposium 2006 / March 5-9 / Dallas
Visit www.hotsos.com for curriculum and schedule details...


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Allen, Brandon
Sent: Thursday, December 01, 2005 5:36 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: object names in 10046 trace

Anyone know why sometimes a 10046 trace records object ID numbers and
other times it records the object name?  Below is an example of both for
the same query in the same trace file (parsed in two different cursors)
on Oracle 9.2.0.5 running on AIX 5.2:

STAT #22 id=21 cnt=27 pid=4 pos=2 obj=7511 op='TABLE ACCESS BY INDEX
ROWID TTDSLS041210 '
STAT #22 id=22 cnt=27 pid=21 pos=1 obj=9756 op='INDEX UNIQUE SCAN
TTDSLS041210$IDX1 '
STAT #22 id=23 cnt=0 pid=2 pos=2 obj=7511 op='TABLE ACCESS BY INDEX
ROWID TTDSLS041210 '
STAT #22 id=24 cnt=0 pid=23 pos=1 obj=9756 op='INDEX RANGE SCAN
TTDSLS041210$IDX1 '

STAT #37 id=21 cnt=0 pid=4 pos=2 obj=7511 op='TABLE ACCESS BY INDEX
ROWID OBJ#(7511) '
STAT #37 id=22 cnt=0 pid=21 pos=1 obj=9756 op='INDEX UNIQUE SCAN
OBJ#(9756) '
STAT #37 id=23 cnt=0 pid=2 pos=2 obj=7511 op='TABLE ACCESS BY INDEX
ROWID OBJ#(7511) '
STAT #37 id=24 cnt=0 pid=23 pos=1 obj=9756 op='INDEX RANGE SCAN
OBJ#(9756) '

I tried to find the answer on Metalink and Google, but no luck.

Thanks,
Brandon

Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the official business of this company shall be understood as neither
given nor endorsed by it.

--
//www.freelists.org/webpage/oracle-l




--
//www.freelists.org/webpage/oracle-l


Other related posts: