RE: Query does not work in RAC

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Mon, 15 Apr 2013 10:08:57 +0000
Message-ID: <CE70217733273F49A8A162EE074F64D90CE5ED_at_exmbx06.thus.corp>


A particularly relevant side effect here is that a plan that uses a merge join rather than a hash join could have produced the results in a different order (even when joining the tables in the same order), and that could have a significant impact on the clustering_factors of the indexes created on the data, which could result in unexpected choice of indexes and surprising execution plans later on in the life of the application.

Regards
Jonathan Lewis



From: oracle-l-bounce_at_freelists.org [oracle-l-bounce_at_freelists.org] on behalf of Hans Forbrich [fuzzy.graybeard_at_gmail.com] Sent: 15 April 2013 02:55
To: oracle-l_at_freelists.org
Subject: Re: Query does not work in RAC

> In my case, the SQL should run only once, and I just changed the USE_HASH
> to USE_MERGE and solved my problem ...
Lucky. But do you know WHY? And whether this will impact anything in the future? Or will this lead to another hit-and-miss myth?-- http://www.freelists.org/webpage/oracle-l Received on Mon Apr 15 2013 - 12:08:57 CEST

Original text of this message