Subject | [firebird-support] Re: Optimizing a count query |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2008-10-12T19:17:18Z |
dinol.softedge wrote:
TBL_JOB_CARD_EMPLOYEE.JOB_CARD_ID. I guess this slows down the query
considerably.
HTH,
Set
> Plan:This indicates that no index is used for
> ------------------------------------------------
> PLAN (TBL_JOB_CARD_EMPLOYEE NATURAL)
> PLAN SORT (JOIN (JOIN (TBL_JOB_CARD NATURAL,TBL_CLIENT INDEX
> (RDB$PRIMARY2)),TBL_INSURER INDEX (RDB$PRIMARY3)))
TBL_JOB_CARD_EMPLOYEE.JOB_CARD_ID. I guess this slows down the query
considerably.
HTH,
Set