Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 22 Nov 2002 @ 19:11:31 GMT


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


Subj:   Re: More Statistics Questions
 
From:   Koduri, Harish

Pat,

We have a bunch of compound indices like (trxn date, shop) and (trxn date, item_nbr)on our tables. When does these indexes get utilised? Is it only when you specify a particular value for each column or does the optimizer use this index when you specify a range of values for these columns like using between clause on a date column?

I did explain on some of our queries and i do not see these compound indices being used! Since tables which have these indices are quite big and optimizer uses these only in very few cases is it worth to drop these?

Harish



     
  <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