t***@gmail.com
2015-02-26 20:27:52 UTC
howdy all,
we have run across a situation which seems to show that the presence of a Left Join in a query causing Informix to force the join order of all tables to be literally the same as the order they are referenced in the join predicates.
The tables being Inner Joined are in a different order in each example and the explain follows that order exactly.
When removing the Left Join, then Informix chooses its own order for the joins, regardless of the order in the queries.
Does this sound correct?
(i have examples from the visual explain if anyone wants to view them)
thanks,
tom
we have run across a situation which seems to show that the presence of a Left Join in a query causing Informix to force the join order of all tables to be literally the same as the order they are referenced in the join predicates.
The tables being Inner Joined are in a different order in each example and the explain follows that order exactly.
When removing the Left Join, then Informix chooses its own order for the joins, regardless of the order in the queries.
Does this sound correct?
(i have examples from the visual explain if anyone wants to view them)
thanks,
tom