Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 23179 invoked from network); 10 Dec 2007 19:08:42 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 10 Dec 2007 19:08:42 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4FB2E7D69F8;
 Mon, 10 Dec 2007 20:08:42 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 21162-01-162; Mon, 10 Dec 2007 20:08:42 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 34E1D7D6A0F;
 Mon, 10 Dec 2007 20:08:32 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 10 Dec 2007 19:21:30 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CBEBC7D684E
 for <oracle-l@freelists.org>; Mon, 10 Dec 2007 19:21:30 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 19635-01-575 for <oracle-l@freelists.org>;
 Mon, 10 Dec 2007 19:21:30 -0500 (EST)
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D93217D4E75
 for <oracle-l@freelists.org>; Mon, 10 Dec 2007 19:21:26 -0500 (EST)
Received: by wr-out-0506.google.com with SMTP id c49so1528746wra
        for <oracle-l@freelists.org>; Mon, 10 Dec 2007 16:21:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        bh=whpLv61fjVmQ7g7JfL5X/q9vdu48tQTuoQ9l8cjlxeU=;
        b=mV8rLyU/CFJzrGBMdJ4PwPES6dZBkN7Y8XB+Ek5vDGAlq+QR3AW1ic1h7Hvvh/px/K9U2GZNzBdmDmjOMCl/lwne4U+mSQ8DuhYwI8ypBsNQFOfhjhoR2BDMOmajs1JValYu0kpv+X9X5w4hkqavOsf2J+WxFdx+M/uVdnaOoLo=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=BSMZoe0+rmcY79dl5rgAgrlp9PRzNSQxNF+rZbsRBkJV7ak8OTFGwOGwvXf7tKdAQAlWG9DlQZ6InLhQdp+FVQhfc5hQhoGgnSmScK8LG255ovBcvyrtCinhd23jBjqY5PamFefKawUftSQCn6YEZI2vhB7OOM5ReCS5vCpcaKA=
Received: by 10.78.150.7 with SMTP id x7mr7994388hud.1197332484786;
        Mon, 10 Dec 2007 16:21:24 -0800 (PST)
Received: by 10.78.166.4 with HTTP; Mon, 10 Dec 2007 16:21:24 -0800 (PST)
Message-ID: <4ef2fbf50712101621r1c98c50ft1a542af3ec39d105@mail.gmail.com>
Date: Tue, 11 Dec 2007 01:21:24 +0100
From: "Alberto Dell'Era" <alberto.dellera@gmail.com>
To: riku.rasanen@kantamestarit.fi
Subject: Re: Operations that perform multiblock I/O and cluster factor
Cc: Brandon.Allen@oneneck.com, oracle-l@freelists.org
In-Reply-To: <2509.62.142.244.186.1197317491.squirrel@webmail.ainaratkaisu.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Content-Disposition: inline
References: <578806DDE66A3A45916740EB73C6982AB42BB5D391@M1EXCHANGE01.mmi.local>
	 <04DDF147ED3A0D42B48A48A18D574C450999D439@NT15.oneneck.corp>
	 <2509.62.142.244.186.1197317491.squirrel@webmail.ainaratkaisu.fi>
X-archive-position: 3834
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: alberto.dellera@gmail.com
Precedence: normal
Reply-to: alberto.dellera@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

On Dec 10, 2007 9:11 PM, Riku Räsänen <riku.rasanen@kantamestarit.fi> wrote:
> Actually, I have seen "db file scattered read" on INDEX RANGE SCAN, and I
> had a 10046 trace file for that, but was unable to find it (I must have
> deleted it).
>
> This was a very degenerate case, where the entire table was accessed
> through single column index (hinted). The trace file showed around 70% "db
> file scattered read", 20% "db file sequential read" and around 5% "db file
> parallel read". This was Oracle 9.2.0.6 on Linux.

Interesting, "db file parallel read" ...
Maybe you saw a variation of what Jonathan describes here:

http://jonathanlewis.wordpress.com/2006/12/15/index-operations/
"The index full scan typically uses db file sequential reads to get data
from disk, although newer versions of Oracle can do db file parallel reads
which are read requests for multiple Oracle blocks that are not adjacent
blocks in the Oracle data files."

It might (I'm guessing) make sense that when Oracle scans the index,
instead of immediately accessing the table blocks, collects,
say, the data block addresses of N blocks to be read from the table,
than performs a "db file parallel reads" of N blocks, but if they
happen to be adjacent, performs an N-block "db file scattered read"
instead.
For an index with a very low clustering factor, i.e. on a table
where the rows are ordered on disk by index key, the
"db file scattered read" would be the norm and not the exception,
as you observed.

Caveat emptor, that's a shot in the dark - never seen it myself.

If you could reproduce the test case, I would very much appreciate it :)

-- 
Alberto Dell'Era
"the more you know, the faster you go"
--
http://www.freelists.org/webpage/oracle-l


