Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> 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_at_ingrambarge.com
-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen_at_OneNeck.com]
Sent: Friday, November 30, 2007 12:57 PM
To: Taylor, Chris David; jonathan_at_jlcomp.demon.co.uk;
oracle-l_at_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_at_freelists.org
[mailto:oracle-l-bounce_at_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-lReceived on Fri Nov 30 2007 - 13:19:50 CST