Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 09 Mar 2005 @ 20:27:48 GMT


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


Subj:   Use of Indexes in Teradata
 
From:   Srikanth Goli

Does Teradata use indexes if only leading index columns are specified? For exampls, assume a sales table that has Unique Primary Index on SaleDate, StoreID, and Trand_ID and that is large, over a bollion rows. Now one of my queries needs to delete all the data for a specific SaleDate. Does the delete still use the index or is it a table scan? If it is a table scan, then should I have a secondary non-unique index on the SaleDate?Would the sec. index be used? What are my other options?


Thanks in advance..



     
  <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