Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 30758 invoked from network); 30 Nov 2007 13:22:01 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 30 Nov 2007 13:22:01 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 147567CB577;
 Fri, 30 Nov 2007 14:22:02 -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 16181-09; Fri, 30 Nov 2007 14:22:01 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6EB597CB29E;
 Fri, 30 Nov 2007 14:22:01 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 30 Nov 2007 14:19:53 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B44257CB1A9
 for <oracle-l@freelists.org>; Fri, 30 Nov 2007 14:19:53 -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 15718-06 for <oracle-l@freelists.org>;
 Fri, 30 Nov 2007 14:19:53 -0500 (EST)
Received: from mail86-dub-R.bigfish.com (mail-dub.bigfish.com [213.199.154.10])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5F6127CAA68
 for <oracle-l@freelists.org>; Fri, 30 Nov 2007 14:19:52 -0500 (EST)
Received: from mail86-dub (localhost.localdomain [127.0.0.1])
 by mail86-dub-R.bigfish.com (Postfix) with ESMTP id C9DB97189B9;
 Fri, 30 Nov 2007 19:19:51 +0000 (UTC)
X-BigFish: VP
X-MS-Exchange-Organization-Antispam-Report: OrigIP: 12.23.250.36;Service: EHS
Received: by mail86-dub (MessageSwitch) id 1196450391800605_22571; Fri, 30 Nov 2007 19:19:51 +0000 (UCT)
Received: from spobmexc02.adprod.directory (smtp.riverbarges.com [12.23.250.36])
 by mail86-dub.bigfish.com (Postfix) with ESMTP id 5C5631828067;
 Fri, 30 Nov 2007 19:19:51 +0000 (UTC)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Subject: RE: _gby_hash_aggregation_enabled
Date: Fri, 30 Nov 2007 13:19:50 -0600
Message-ID: <17E4CDE8F84DC44A992E8C00767402E0860D59@spobmexc02.adprod.directory>
In-Reply-To: <04DDF147ED3A0D42B48A48A18D574C45098C40BF@NT15.oneneck.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: _gby_hash_aggregation_enabled
From: "Taylor, Chris David" <Chris.Taylor@ingrambarge.com>
To: "Allen, Brandon" <Brandon.Allen@OneNeck.com>,
 <jonathan@jlcomp.demon.co.uk>,
 <oracle-l@freelists.org>
X-archive-position: 3645
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Chris.Taylor@ingrambarge.com
Precedence: normal
Reply-to: Chris.Taylor@ingrambarge.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

My PeopleSoft database has optimizer_mode=CHOOSE, so that query that
Jonathan provided doesn't use a HASH (GROUP BY).  So when I reversed the
_gby_hash_aggregation_enabled parameter back to TRUE, I assumed I would
see a HASH (GROUP BY) but it stayed as a SORT (GROUP BY).




Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205
Office: 615-517-3355
Cell: 615-354-4799
Email: chris.taylor@ingrambarge.com

-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen@OneNeck.com] 
Sent: Friday, November 30, 2007 12:57 PM
To: Taylor, Chris David; jonathan@jlcomp.demon.co.uk;
oracle-l@freelists.org
Subject: RE:_gby_hash_aggregation_enabled

It sounds like that might be due to what Jonathan suggested and I also
observed - that your queries aren't getting hard parsed in between
executions so you're still seeing whatever was loaded in the shared pool
prior to changing _gby_hash_aggretation_enabled.  Try flushing one of
the queries out of the pool (e.g. by granting permissions on one of the
dependent tables), then rerun the query after changing the parameter and
hopefully you'll see it work consistently.

-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Taylor, Chris David

Ok, now that's really weird.

In one of my DBs it does in fact reverse, but in our main Psoft database
it does not.


Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the official business of this company shall be understood as neither
given nor endorsed by it.



--
http://www.freelists.org/webpage/oracle-l


