Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 7135 invoked from network); 8 Aug 2007 13:01:04 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 8 Aug 2007 13:01:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7B281724626;
 Wed,  8 Aug 2007 13:58:46 -0400 (EDT)
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 03244-08; Wed, 8 Aug 2007 13:58:46 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E5A8272412F;
 Wed,  8 Aug 2007 13:58:45 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 08 Aug 2007 13:16:10 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 453A77250C9
 for <oracle-l@freelists.org>; Wed,  8 Aug 2007 13:16:10 -0400 (EDT)
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 22459-08 for <oracle-l@freelists.org>;
 Wed, 8 Aug 2007 13:16:10 -0400 (EDT)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 10FC372505A
 for <oracle-l@freelists.org>; Wed,  8 Aug 2007 13:16:07 -0400 (EDT)
Received: by mu-out-0910.google.com with SMTP id w8so264459mue
        for <oracle-l@freelists.org>; Wed, 08 Aug 2007 10:18:24 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
        b=jEL7w2TNqEUBMbbEsVeq1V2HFUdwmt1ftntOlUX/bvLjwD4Dy9OGQD2wLs0yhmKun0rXht+3OVfm/oHaUJtTmidjqr1cRE6j67MGdJm/w2Mar/5TJjZsx9xcDZndvCqQfTSoENU++DTPMJVKQdhi7ggkwrQ0nZq+GzD2+zqlDZE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
        b=Usio2akGGVwIsmlO5AcrUyLIiQa7LUwpVD51ZW+JlCmRlr7w8c5m1CF8MMoIQztt9E7nJbPjZn5MUpZNXCySiOAAEsM9rl+IqIS5scRU16nKPevBzgy5yLa5wYbgFzGteSUsDc0lvi/X30n+h7n17Q0ISHhz1Yt/buyMSwmXUTk=
Received: by 10.82.175.17 with SMTP id x17mr1074850bue.1186593503994;
        Wed, 08 Aug 2007 10:18:23 -0700 (PDT)
Received: from ?192.168.254.2? ( [217.165.98.196])
        by mx.google.com with ESMTPS id g17sm811353nfd.2007.08.08.10.18.21
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 08 Aug 2007 10:18:22 -0700 (PDT)
Message-ID: <46B9FADA.20707@gmail.com>
Date: Wed, 08 Aug 2007 21:18:18 +0400
From: amar kumar padhi <amar.padhi@gmail.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: oracle-l <oracle-l@freelists.org>
Subject: Re: pga_aggregate_target and CBO plan
References: <6A4102F59ECFA248B81F7D08F0317978017F675A@TBDCEXCH01.US.Cingular.Net>
In-Reply-To: <6A4102F59ECFA248B81F7D08F0317978017F675A@TBDCEXCH01.US.Cingular.Net>
Content-Type: text/plain; charset=windows-1252; format=flowed
X-archive-position: 426
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: amar.padhi@gmail.com
Precedence: normal
Reply-to: amar.padhi@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

Hi,
Jonathan has a good article at 
http://www.jlcomp.demon.co.uk/untested.html that may give some good 
insight into how memory plays with different PGA settings. I believe 
this would show up on the execution plan cost.

Also do consider WORKAREA_SIZE_POLICY in conjunction with 
PGA_AGGREGATE_TARGET to switch on the auto memory management. Sorry I do 
not have any test cases at this moment to show significant effects on 
execution plans.

Thanks!
amar


Shamsudeen, Riyaj wrote:
> Hi
> 
>             Version 9.2.0.6 and 9.2.0.8 Sun Solaris.
> 
>            
> 
>             What is the effect of pga_aggregate_target in CBO plan 
> generation, specifically in 9i? We have two environments with same 
> statitistics and one major difference is that pga_aggregate_target 
> (PAT). I have compared the section of 10053 trace listing all parameters 
> considered by CBO and they are exactly matching, even though PAT is very 
> different (2G to 10G). I have modified the parameter and restarted each 
> time, still there is no difference in CBO cost or 10053 section.
> 
>            
> 
>             Also searched Jonathan book and can’t locate any reference 
> to this parameter. How does CBO uses pga_aggregate_target for cost 
> calculations?
> 
>  
> 
>             Doc id 246336.1 has following lines, which is not matching 
> with my observations:
> 
>  
> 
> ===============
> 
> Common Init.ora parameters that affect differences in Plan Generation are:
> 
>  
> 
> SORT_AREA_SIZE
> 
> HASH_AREA_SIZE
> 
> DB_FILE_MULTIBLOCK_READ_COUNT
> 
> PGA_AGGREGATE_TARGET (9i)
> 
> OPTIMIZER_FEATURES_ENABLED (this setting affects the default of many parameters)
> 
>  
> 
> If these are null or not set, then the default values will take effect.  
> 
> They are listed in your Oracle Database Reference manual.
> 
>  
> 
> Also, note that if you are using PGA_AGGREGATE_TARGET, all the *_AREA_SIZE
> 
> parameter settings are ignored in the init.ora and determined dynamically.
> 
> ===============
> 
>  
> 
> Thanks
> 
> Riyaj "Re-yas" Shamsudeen
> ERP Financials DBA, New AT&T
> 
>  
> 
--
http://www.freelists.org/webpage/oracle-l


