Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 09 Nov 2006 @ 18:40:25 GMT


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


Subj:   Re: Value Ordered NUSI & Regular NUSI on Same Column?
 
From:   Dieter Noeth

Suwandi Teow wrote:

  The thing is if we have an ordered by value column, an equality where clause statement will not use the index. The index is only used when we modified the sql statement slightly to use between condition.  


Is that date outside of the statistis range?

Although in that case case i'd expect the optimizer to use the index with equality and not with between.

Check explain for confidence level and estimated number of rows.

If those are ok, this looks like a bug to me...


Dieter



     
  <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