From oracle-l-bounce@freelists.org  Fri Aug  6 13:07:06 2004
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i76I76C13090
 for <oracle-l@orafaq.com>; Fri, 6 Aug 2004 13:07:06 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i76I76I13085
 for <oracle-l@orafaq.com>; Fri, 6 Aug 2004 13:07:06 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 0E25E72CE18; Fri,  6 Aug 2004 12:57:56 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 26266-53; Fri,  6 Aug 2004 12:57:55 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 51E3E72D035; Fri,  6 Aug 2004 12:57:55 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 06 Aug 2004 12:56:29 -0500 (EST)
X-Original-To: oracle-l@freelists.org
Delivered-To: oracle-l@freelists.org
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EBA1472CCFB
 for <oracle-l@freelists.org>; Fri,  6 Aug 2004 12:56:28 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 25836-55 for <oracle-l@freelists.org>;
 Fri,  6 Aug 2004 12:56:28 -0500 (EST)
Received: from ihub.perceptron.com (ihub.perceptron.com [68.22.13.201])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 80C3072CAEF
 for <oracle-l@freelists.org>; Fri,  6 Aug 2004 12:56:28 -0500 (EST)
Received: from  [192.168.4.7] (ineyman@perceptron.com) by Office-Logic InterChange; Fri, 06 Aug 2004 14:09:20 -0400
From: "Igor Neyman" <ineyman@perceptron.com>
To: <oracle-l@freelists.org>
Subject: RE: RE: Time to read 6000 (block size 2k) blocks
Date: Fri, 6 Aug 2004 14:11:19 -0400
Message-ID: <001001c47be0$c5dbbea0$0704a8c0@development.perceptron.com>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
In-Reply-To: <OF0E955BC9.664AF6C3-ONC2256EE8.00627889-C2256EE8.00636E1A@alise.lv>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Scanned: by amavisd-new at freelists.org
X-archive-position: 7102
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: ineyman@perceptron.com
Precedence: normal
Reply-To: oracle-l@freelists.org
X-list: oracle-l
X-Virus-Scanned: by amavisd-new at freelists.org

Wrong :)
Event 10053 would do much better in this case.

Igor 



-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of
J.Velikanovs@alise.lv
Sent: Friday, August 06, 2004 12:58 PM
To: oracle-l@freelists.org
Subject: RE: RE: Time to read 6000 (block size 2k) blocks

Thank you father!
.
The lesson you have given me is invaluable.
Lets me guess for the next step.
I imagine that we can try use our magic artifact,
which we have received from Mag 
with beautiful name Oracle8i.
.
I gona use magic of DBMS_STATS.
Please allow me to try?!
.
Jurijs
+371 9268222 (+2 GMT)
============================================
Thank you for teaching me.
http://otn.oracle.com/ocm/jvelikanovs.html





"Cary Millsap" <cary.millsap@hotsos.com>
Sent by: oracle-l-bounce@freelists.org
06.08.2004 20:21
Please respond to oracle-l
 
        To:     <oracle-l@freelists.org>
        cc: 
        Subject:        RE: RE: Time to read 6000 (block size 2k) blocks


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@freelists.org =
[mailto:oracle-l-bounce@freelists.org]
On Behalf Of jaysingh1@optonline.net
Sent: Friday, August 06, 2004 12:10 PM
To: oracle-l@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.


----- Original Message -----
From: J.Velikanovs@alise.lv
Date: Friday, August 6, 2004 11:12 am
Subject: Re: RE: Time to read 6000 (block size 2k) blocks

> 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@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@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@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@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
-----------------------------------------------------------------

