Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 18 Aug 2015 @ 20:17:31 GMT


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


Subj:   Re: Case logic optimization
 
From:   Robert Diehl

Looks like it would always be a full table scan as there is no filter condition. Your output table will be 5.5 billion rows minus duplicates.

What is happening in viewMED? I assume this is a view. Is There something else going on in this view? Table joins? Case statements?

Did you try a GROUP BY or DISTINCT to get rid of duplicates?


Thanks,

Bob



     
  <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