Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 24 Jan 2008 @ 16:39:50 GMT


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


Subj:   Re: Help (on Stats)
 
From:   Luthra, Tejinder

You could use something like this

     HELP STATISTICS MyTable index (indexColumn1 [, indexCOlumn2]);

     HELP STATISTICS MyTable column (Column1 [, COlumn2]);

It will give you detailed information on stats collected, modal values, frequency, sampling %, # of unique records, etc.

You could also generate a dynamic sql if you need to walk through all index stats for all tables, etc.

There should be a dbc view that can give you some information about stats (stale, etc) also.


Hope it helps,

Tej



     
  <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