Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 21 May 2001 @ 16:42:11 GMT





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




Subj:   Re: Monitoring long-running queries
 
From:   Tobianna Zappe



If you are unsure how well data is going to be distributed when moving from one table to another (and one PI to another), you can use this query to analyze the distribution:

select hashamp(hashbucket(hashrow(new PI column(s))))
        (named vproc), count(*)
from tablename
WHERE any condition(s) that might apply
group by 1
order by 1;

Tobi





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008