Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 25 Apr 2003 @ 13:02:30 GMT


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


Subj:   Re: NUSI bit mapping
 
From:   Belle, Patrick A

David,

I assume that by "bit mapping" you mean that the optimizer has selected a bit map set manipulation as part of its predicate evaluation plan. Having said that, let me note that disjunctive connectors (or's) will return more rows than conjunctive connectors (and's). So the or's in your example will wind up being estimated as costing more to process. This will often result in changing the optimizer's plan. The optimizer concluded that the plan it chose was "cheaper" than the BMSM that you were hoping for. If you think the optimizer chose incorrectly, you may be able to coax it by enhancing your statistics, or using other tactics (which may fail in future releases). Or you may want to open an issue with the GSC to have it look at the optimizer.

Pat Belle
Certified Master



     
  <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