Re: which is best for JOIN approach
Posted by:
Ra Nala
Date: November 25, 2015 02:42AM
Øystein Grøvlen Wrote:
-------------------------------------------------------
> Hi,
>
> I assume that you have indexes on all your id
> columns.
>
Yes Sir, i have indexes on mentioned columns
> For the second alternative, the join order is
> given: a -> b -> ec
>
> For the first alternative, both the join order
> above and a -> ec -> b is possible.
>
> Whether the processing ec before b is beneficial
> depends on the size of the tables, and the number
> of matching ids in the two tables.
>
I have 5000000 records in ec table as well on other tables, that's why i am thinking about best JOIN approach.
> In other words, I would choose the first
> alternative because it gives the Query Optimizer
> more alternatives to evaluate.
Subject
Views
Written By
Posted
1730
November 24, 2015 09:39AM
1053
November 25, 2015 02:14AM
Re: which is best for JOIN approach
1097
November 25, 2015 02:42AM
1118
November 29, 2015 11:53AM
976
February 19, 2016 05:28AM
934
February 21, 2016 04:56PM
1018
February 19, 2016 05:31AM
903
February 21, 2016 01:40PM
951
February 21, 2016 01:43PM
949
February 25, 2016 05:50AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.