Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: 10046 event is useless in 9.2.0.4 version for response time measuring !!!
I think Jurijs question was not about the overhead to run the buggy 10046,
but whether the distribution of wait times could be trusted.
Possibly I'm twisting his meaning, but that is how I took it. I'm with still you though Cary. I'd still run the 10046 and make some suppositions knowing that it might be skewing the CPU results rather than just begin supposing with no input or just aggregated averages.
mwf
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Cary Millsap
Sent: Monday, August 02, 2004 12:09 PM
To: oracle-l_at_freelists.org
Subject: RE: 10046 event is useless in 9.2.0.4 version for response time
measuring !!!
Jurijs,
Even if something takes 6x longer to run the one time you trace it, it's
still better to have the detailed 10046 data than risk being tricked by =
the
aggregation problems introduced by using V$ data.
The problem with 9.2.0.4 is measured in hours at worst. The problem with being tricked by V$ data is often measurable in months.
I'm not sure whether there's a 9.2.0.4 back-port available. It's a good
question to ask Oracle.
=20
Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
* Nullius in verba *
Upcoming events:
- Performance Diagnosis 101: 8/10 Boston, 9/14 San Francisco, 10/5 =
Charlotte
- SQL Optimization 101: 7/26 Washington DC, 8/16 Minneapolis, 9/20 =
Hartford
- Hotsos Symposium 2005: March 6-10 Dallas
- Visit www.hotsos.com for schedule details...
-----Original Message-----
From: oracle-l-bounce_at_freelists.org =
[mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of J.Velikanovs_at_alise.lv
Sent: Monday, August 02, 2004 10:46 AM
To: oracle-l_at_freelists.org
Cc: oracle-l_at_freelists.org; oracle-l-bounce_at_freelists.org
Subject: RE: 10046 event is useless in 9.2.0.4 version for response time
measuring !!!
Cary,
Thanks for your replay,
But that the .=20
How to discover performance problems on 9.2.0.4, then?
It is seem that 9.2.0.5 not the option ;(
.
Is to ask backport is a good idea in this case, I wonder.
Does some body in the list have tried it?
.
Cary, that is your experience? How to get around it?
.
PS Forgot to mention, test has been executed on the one machine. Two=20
separate OH. RH AS 3.0.
Regards,
Jurijs
9268222
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://otn.oracle.com/ocm/jvelikanovs.html
"Cary Millsap" <cary.millsap_at_hotsos.com>
Sent by: oracle-l-bounce_at_freelists.org
02.08.2004 18:07
Please respond to oracle-l
=20
To: <oracle-l_at_freelists.org> cc:=20 Subject: RE: 10046 event is useless in 9.2.0.4 version =for=20
Jurijs,
You've identified the bug correctly. The response time impact will vary =
=3D
from
virtually zero to the 6X number you've discovered, or even worse. (The
problem is the worst for sessions that nest NESTED LOOPS row source
operations inside each other.)
It's a bug. Fix it. The problem is fixed in 9.2.0.5.
Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
* Nullius in verba *
Upcoming events:
- Performance Diagnosis 101: 8/10 Boston, 9/14 San Francisco, 10/5 =3D
Charlotte
- SQL Optimization 101: 7/26 Washington DC, 8/16 Minneapolis, 9/20 =3D
Hartford
- Hotsos Symposium 2005: March 6-10 Dallas
- Visit www.hotsos.com for schedule details...
-----Original Message-----
From: oracle-l-bounce_at_freelists.org =3D
[mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of J.Velikanovs_at_alise.lv
Sent: Monday, August 02, 2004 8:19 AM
To: 'oracle-l_at_freelists.org '
Subject: 10046 event is useless in 9.2.0.4 version for response time
measuring !!!
My regards to all,
At the moment I have impression that, 10046 event is useless in =
9.2.0.4=3D20
version for response time measuring!
I have tied to run loop.sql (see below for full text) with and =
without=3D20
10046 event on 9.2.0.4 & 9.2.0.5.
The results scared me.
Take a look:
.
9.2.0.4=3D20
without 6,45 sec=3D20
!!!!!!!!!!! with 37,36 sec=3D20
.
9.2.0.5
without 5,48 sec=3D20
!!!!!!!!!!! with 7,19 sec
.
After short investigation it is appears that it is BUG 3009359.
http://metalink.oracle.com/metalink/plsql/showdoc?db=3D3DNOT&id=3D3D30093=
59.8=3D
No one-off fix on 9.2.0.4.
.
So it's appears, that 10046 is useless on 9.2.0.4, because SQL =
Trace=3D20
itself takes 580% of response time.
.
Any comments?!
Have any body solution for this issue.
.
As appears from dictation from this list, to go to 9.2.0.5 is not =
good=3D20
idea, because of instability and other issues.
Thanks in advance,
Jurijs
TKPROF output
call count cpu elapsed disk query current =
=3D
rows
------- ------ -------- ---------- ---------- ---------- = ----------=3D20 ---------- Parse 1 0.00 0.00 0 0 0 =
------- ------ -------- ---------- ---------- ---------- = ----------=3D20 ---------- total 2001 37.15 36.27 0 132000 0 =
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Rows Row Source Operation
------- ---------------------------------------------------
1000 SORT AGGREGATE (cr=3D3D132000 r=3D3D0 w=3D3D0 time=3D3D36185613 =
us)
10001000 TABLE ACCESS BY INDEX ROWID TESTLIO (cr=3D3D132000 r=3D3D0 =
w=3D3D0=3D20
time=3D3D28015044 us)
10001000 INDEX RANGE SCAN TESTLIO_I1 (cr=3D3D25000 r=3D3D0 w=3D3D0 =
=3D
time=3D3D9976625=3D20
us)(object id 6318)
------- ------ -------- ---------- ---------- ---------- = ----------=3D20 ---------- Parse 1 0.00 0.00 0 0 0 =
------- ------ -------- ---------- ---------- ---------- = ----------=3D20 ---------- total 2001 6.94 6.81 0 132000 0 =
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Rows Row Source Operation
------- ---------------------------------------------------
1000 SORT AGGREGATE
10001000 TABLE ACCESS BY INDEX ROWID TESTLIO
10001000 INDEX RANGE SCAN TESTLIO_I1 (object id 6289)
RAW portion of TRC file
(f,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');=
end loop;
end;
/
create index testlio_i1 on testlio (n) tablespace users;
Jurijs
9268222
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D=3D3D
http://otn.oracle.com/ocm/jvelikanovs.html
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon Aug 02 2004 - 13:16:49 CDT
![]() |
![]() |