Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 13 Dec 2005 @ 11:09:10 GMT


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


Subj:   Re: Global Temporary Tables and Statistics
 
From:   Michael Larkins

Hi David:

If you or anyone ever asked this before it would be in the archives. But to answer your question you must collect statistics on the instance of the table, not the table itself (in DBC).

     COLLECT TEMPORARY STATISTICS ON ;

This would collect all statistics that have been collected on the definition, like a real table. However, if no statistics are collected on the definition, then you must add either INDEX or COLUMN indications when you collect it on the instance.


Hope this helps,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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