Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 23 Jul 2012 @ 13:32:59 GMT


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


Subj:   Re: What does TOP actually mean?
 
From:   Walter, Todd

A specific AMP will be chosen based on the tableid, then rows will be taken from the beginning of the data in that AMP which means they will be returned by rowid order - since the table is in that order already.

If a row is inserted that happens to hash low in that amp, it will change the result returned. If there are not enough rows in that amp to satisfy the request, then a different mechanism is used that will have different behavior and will be much less predictable.



     
  <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