RE: _gby_hash_aggregation_enabled

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@xxxxxxxxxxxxxxx

-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen@xxxxxxxxxxx] 
Sent: Friday, November 30, 2007 12:57 PM
To: Taylor, Chris David; jonathan@xxxxxxxxxxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] 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


Other related posts: