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: Buffer Sort explanation

RE: Buffer Sort explanation

From: Lex de Haan <lex.de.haan_at_naturaljoin.nl>
Date: Sun, 7 Aug 2005 20:06:39 +0200
Message-Id: <20050807180640.168151DBF25@turing.freelists.org>


that's indeed how I understand it. obviously, there must be some cut off number or threshold value -- and obviously, it is highly undocumented; I don't have a clue :-)

by the way, even if I would have a clue, these algorithms are typically fine-tuned by Oracle development with every release, without letting us know...

kind regards,

Lex.  



Steve Adams Seminar http://www.naturaljoin.nl/events/seminars.html

-----Original Message-----

Hi Lex,

If Oracle determines that if a block will be accessed multiple times by the _same_ SQL, then it moves it to PGA. If the same can be accessed multiple times by _different_ SQL statements it ends up in SGA? Is there a cut off number for accessing the data block above which Oracle places it to PGA?

On 8/4/05, Lex de Haan <lex.de.haan_at_naturaljoin.nl> wrote:
> a BUFFER SORT typically means that Oracle reads data blocks into
> private memory, because the block will be accessed multiple times in
> the context of the SQL statement execution. in other words, Oracle
> sacrifies some extra memory to reduce the overhead of accessing blocks
> multiple times in shared memory. this has nothing to do with sorting ...


--
http://www.freelists.org/webpage/oracle-l
Received on Sun Aug 07 2005 - 13:08:36 CDT

Original text of this message

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