Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 04 Jan 2005 @ 18:52:51 GMT


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


Subj:   Effect of ORDER BY in performance
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, January 04, 2005 12:25 -->

Hi,

We have a teradata table with around 200 million rows. Whenever users query this table, they would like to see the output ordered by 2 columns in that table.

When I looked into the EXPLAIN of the query with and without ORDER BY, the estimated time is shown same with high confidence (as the stats are rightly available). I was expecting the query with ORDER BY to give a longer time that the one without ORDER BY.

Any reason, why it wasn't that way..?


Thanks.



     
  <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: 27 Dec 2016