RE: Buffer Sort explanation

  • From: "Lex de Haan" <lex.de.haan@xxxxxxxxxxxxxx>
  • To: <sharmakdeep_oracle@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 4 Aug 2005 10:47:06 +0200

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

additions/corrections welcome, 
kind regards,

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

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On
Behalf Of Deepak Sharma
Sent: Wednesday, August 03, 2005 23:31
To: oracle-l@xxxxxxxxxxxxx
Subject: Buffer Sort explanation

What does the 'BUFFER SORT' step mean and how does it get calculated, say in
below example? It is out of a tkprof output of a star transformation query.

    105      BITMAP MERGE
 351549        BITMAP KEY ITERATION
127009880       BUFFER SORT
1607720         TABLE ACCESS FULL SYS_TEMP_4254956840
 351549       BITMAP INDEX RANGE SCAN OBJ#(3441108)
PARTITION: 1 177 (object id 3441108)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
//www.freelists.org/webpage/oracle-l
BEGIN:VCARD
VERSION:2.1
N:de Haan;Lex
FN:Lex de Haan
ORG:Natural Join B.V.
TEL;WORK;VOICE:+31.30.2515022
TEL;HOME;VOICE:+31.30.2518795
TEL;CELL;VOICE:+31.62.2955714
TEL;WORK;FAX:+31.30.2523366
ADR;WORK:;;Pieter Breughelstraat 10;Utrecht;;3583 SK;Netherlands
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Pieter Breughelstraat 10=0D=0AUtrecht 3583 
SK=0D=0ANetherlands
URL;WORK:http://www.naturaljoin.nl
EMAIL;PREF;INTERNET:lex.de.haan@xxxxxxxxxxxxxx
REV:20040224T160439Z
END:VCARD

Other related posts: