Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 Oct 2005 @ 09:04:21 GMT


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


Subj:   Re: Why do I get a spool space error
 
From:   McCall, Glenn David

Have you looked at the explains?

If you explain the second query, you will see that it performs an aggregation step. If there are lots of repeated rows in col3, col4, this step will eliminate them. Thus the "size" of the derived table b will be smaller in the second query. If so, this will translate into a smaller spool requirement.



     
  <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