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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Why no row source plans in tkprof output? -- More info please read...

Re: Why no row source plans in tkprof output? -- More info please read...

From: Binh Pham <binhpham15_at_hotmail.com>
Date: Wed, 25 Apr 2007 17:04:15 +0000
Message-ID: <BAY103-F5B48001172C89C3288410D2490@phx.gbl>

Egorts,

Thanks for the reply but I do not think so since our instance has that set to TYPICAL and here is the test I did below:

 

select *
from
 fnd_user where user_name = 'BPHAM'


call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse        1      0.00       0.00          0          0          0           0
Execute      1      0.00       0.00          0          0          0           0
Fetch        2      0.00       0.00          0          3          0           1
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total        4      0.00       0.00          0          3          0           1

Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: SYS

Rows     Row Source Operation
-------  ---------------------------------------------------
      1  TABLE ACCESS BY INDEX ROWID FND_USER
      1   INDEX UNIQUE SCAN FND_USER_U2 (object id 33856)

********************************************************************************

alter session set sql_trace = false


From:  "Egor Starostin" <egorst@gmail.com>
Reply-To:  egorst@gmail.com
To:  oracle-l@freelists.org
CC:  binhpham15@hotmail.com
Subject:  Re: Why no row source plans in tkprof output? -- More info please read...
Date:  Wed, 25 Apr 2007 11:41:20 +0400
>Binh,
>
>>I do see stats written for some of the SQL's in the raw trace file,
>>however,
>>there is no row source plans for any of the SQL's in the tkprof
>>output file.
>
>I believe you need to set statistics_level=all in order to get row
>source execution statistics in STAT lines.
>
>By default, statistics_level set to 'typical' value and although
>rows
>source execution stats is gathered in v$segstat it doesn't displayed
>in 10046 trace files.
>
>
>--
>Egor
>http://www.oracledba.ru
>--
>http://www.freelists.org/webpage/oracle-l
>
>


Exercise your brain! Try Flexicon. -- http://www.freelists.org/webpage/oracle-l Received on Wed Apr 25 2007 - 12:04:15 CDT

Original text of this message

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