From oracle-l-bounce@freelists.org  Mon Aug  8 04:11:33 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j789BW6s014235
 for <oracle-l@orafaq.com>; Mon, 8 Aug 2005 04:11:32 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j789BTIP014222
 for <oracle-l@orafaq.com>; Mon, 8 Aug 2005 04:11:29 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EF59F1DCC10;
 Mon,  8 Aug 2005 04:11:26 -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 30218-01; Mon, 8 Aug 2005 04:11:26 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 40B8E1DC79D;
 Mon,  8 Aug 2005 04:11:26 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C59BF8.E1CA1D80"
Subject: RE: Buffer Sort explanation
Date: Mon, 8 Aug 2005 11:09:30 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF0ABFD5@MSXVS04.trivadis.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Buffer Sort explanation
Thread-Index: AcWbxPQjPsRCCzhARyqcg+JlBpCtmQAMytcQ
From: "Christian Antognini" <Christian.Antognini@trivadis.com>
To: <sharmakdeep_oracle@yahoo.com>
Cc: <oracle-l@freelists.org>
X-archive-position: 23525
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: Christian.Antognini@trivadis.com
Precedence: normal
Reply-To: Christian.Antognini@trivadis.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-mailscan-MailScanner-Information: Please contact the ISP for more information
X-mailscan-MailScanner: Found to be clean
X-MailScanner-From: oracle-l-bounce@freelists.org
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_50_60,
 HTML_FONTCOLOR_UNKNOWN,HTML_MESSAGE autolearn=no version=2.63
------_=_NextPart_001_01C59BF8.E1CA1D80
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

=20

>  Rows       Operation
>  =3D=3D=3D=3D=3D=3D=3D=3D=3D  =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>a)       105 BITMAP MERGE
>b)    351549    BITMAP KEY ITERATION
>c) 127009880     BUFFER SORT
>d)   1607720      TABLE ACCESS FULL SYS_TEMP_4254956840
>e)    351549   BITMAP INDEX RANGE SCAN OBJ#(3441108)

=20

I'm not able to explain you what the BUFFER SORT exactly does in this =
case (it should only get the data from the temporary table and prepare =
them for the "join" with the index on the fact table... Anyway, each =
time I have a problem with a star transformation with temporary tables I =
try to disable the temporary tables (they were/are buggy!). Therefore =
try star_transformation_enabled=3Dtemp_disable.

=20

=20

Regards,

Chris

=20


------_=_NextPart_001_01C59BF8.E1CA1D80
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 5.95pt 72.0pt 5.95pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Hi</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt;=A0 Rows=A0=A0=A0=A0=A0=A0 Operation<br>
&gt;=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=A0 =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;a)=A0=A0=A0=A0=A0=A0 105 BITMAP MERGE<br>
&gt;b)=A0=A0=A0 351549=A0=A0=A0 BITMAP KEY ITERATION<br>
&gt;c) 127009880=A0=A0=A0=A0 BUFFER SORT<br>
&gt;d)=A0=A0 1607720 =A0=A0=A0=A0=A0TABLE ACCESS FULL =
SYS_TEMP_4254956840<br>
&gt;e)=A0=A0=A0 351549=A0=A0 BITMAP INDEX RANGE SCAN =
OBJ#(3441108)</span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'>I&#8217;m not able to explain you =
what the
BUFFER SORT exactly does in this case (it should only get the data from =
the
temporary table and prepare them for the &#8220;join&#8221; with the =
index on
the fact table&#8230; Anyway, each time I have a problem with a star
transformation with temporary tables I try to disable the temporary =
tables
(they were/are buggy!). Therefore try =
</span></font>star_transformation_enabled=3Dtemp_disable.</p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Regards,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Chris</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C59BF8.E1CA1D80--
--
http://www.freelists.org/webpage/oracle-l

