Subject Re: [firebird-support] Re: query optimization- MAX() from .. WHERE
Author Helen Borrie
At 10:25 PM 18/08/2010, you wrote:

>>
>> Take FOREIGN_KEY out of that index!
>>
>> ./heLen
>>
>
>It doubles reads amount.

That seems to tell us that FOREIGN_KEY and NUMER both increase systematically as the database grows...is that the case?

If so, test the benefit of placing a descending index on both (but not a compound descending index involving both).

./heLen