Subject | RE: [firebird-support] Query tuning help |
---|---|
Author | Leyne, Sean |
Post date | 2003-07-29T01:15:39Z |
Colin,
Sean
> Now this plan uses no Natural scans, does a couple thousand indexedPlease confirm which version of FB you are running?
> reads and returns fairly quick...
>
> But what I want is:
> Where (((Table1.ForeignKey2 >= 962) or (Table1.ForiegnKey2 <= 973))
> and (Table1.Status = 8) and (Table4.ForeignKey1 = 170))
>
> As soon as I add this it puts in a Natural Scan and takes hours....
Sean