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 Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023