Subject | Re: [IB-Architect] Optimizing cross-joins / aggregate-selects / no-fields from relation used - when possible ? |
---|---|
Author | Arno Brinkman |
Post date | 2002-12-07T15:41:35Z |
Hi,
Regards,
Arno
> > Wouldn't it speed up increadibly when we don't fetch the linked record,but
> > only do an index evaluate ?So the record-pointer available by the index isn't transaction dependent ?
>
> Unfortunately, engine must read the record because index node doesn't
> contain necessary information about row validity for actual transaction.
> (the transaction number is stored only in rows). The second reason for
> row retrieval is (if I understood it well) the second key comparison
> based on actual values (index keys are mangled for bitwise comparison).
> So, Firebird can't optimize queries with index lookups by avoiding rowThat would be pitty :(
> retrieval.
Regards,
Arno