Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 Dec 2002 @ 19:16:53 GMT


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


Subj:   Estimating row count
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, December 10, 2002 06:47 -->

All,

I need to know what is the least cost-effective method of getting the row count(assuming we have tables with more than a billion rows - and the size of the database is huge - Terabytes)

Obvious answer to getting the row count is:

select count(*) from ;

But a count(*) w.r.t a huge table under consideration is too costly a deal.

So what are the alternatives?



     
  <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