Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 29 Jan 2014 @ 10:12:05 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Inefficient LEFT JOIN execution plan
 
From:   Frydryszak, Marek

Optimizer is not enough smart to notice, that executing 3 joins instead of 2 may by faster.

Two logical joins are always performed as 2 join steps - optimizer decides only on sequence and algorithms.

Generally you are right - such kind of optimizations would be great. But rather difficult to implement. Let's imagine how many possible plans should be considered for SQL with 40 joins ...



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023