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: RE: Time to read 6000 (block size 2k) blocks

RE: RE: Time to read 6000 (block size 2k) blocks

From: Cary Millsap <cary.millsap_at_hotsos.com>
Date: Fri, 6 Aug 2004 12:21:23 -0500
Message-ID: <000401c47bd9$cffd2510$7001a8c0@CVMLAP02>


Excellent to watch this, buys.

Now, if I might suggest: Please take the next step as well, which is to figure out how to make the CBO execute the correct plan WITHOUT leaving = the
hints in. Doing this step now will save you some potentially difficult maintenance tasks later on.

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 jaysingh1_at_optonline.net
Sent: Friday, August 06, 2004 12:10 PM
To: oracle-l_at_freelists.org
Subject: Re: RE: Time to read 6000 (block size 2k) blocks

Jurijs

You are correct. It worked. Now it is doing 9 LIOs instead of 18,800 = LIOs.
Thanks you so much.

> Rows Row Source Operation
> ------- ---------------------------------------------------
> 1 SORT UNIQUE=20
> 1 COUNT STOPKEY=20
> 1 NESTED LOOPS=20
> 4766 TABLE ACCESS BY INDEX ROWID PROFILEDUSER (it has=20
> 450,000 rows)
> 4767 INDEX RANGE SCAN (PROFILEDUSER_IX03)
> 1 TABLE ACCESS BY INDEX ROWID EXTENDEDATTRIBUTES (it has=20
> 15,000=20
> rows)
> 9530 INDEX UNIQUE SCAN (ATTRIBUTES_PK)

>=20

> The idea is: to start NL with EXTENDEDATTRIBUTES table. Bacause in=20
> SQL you=20
> have E.CUSTOMERID =3D 'ABCDEFGH', and this seems ID value, which=20
> will return=20
> 1 row, instead 4766 loops thought PROFILEDUSER.
>=20

> Try to get EXTENDEDATTRIBUTES as driven table. Or I am wrong ?
>=20
>=20

> Jurijs
> +371 9268222 (+2 GMT)


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 Fri Aug 06 2004 - 12:17:42 CDT

Original text of this message

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