Subject | Re: [firebird-support] Problem with a query |
---|---|
Author | Gary Benade |
Post date | 2004-06-11T16:29:08Z |
> I see. Perhaps it's something like this. How about if I have severalInterbase maintains one cache per database, not per connection. So yes,
> connections : will these read pages be kept in memory for all of them?
other connections would benefit from cached data of other connections. It
would be quite an oversight if they didnt.
> Unfortunately, I actually have all these indices, as well as quite a few10 seconds is very long for such a small table with correct indexes, so I
> others. :-(
> Besides, if it were an index problem, it would be systematic wouldn't it?
suspect that perhaps a non relevant index is being used in the plan. This
could be the case if you have indexes on either num_fact or affretement
fields, or if the index selectivity is not correct - when is the last time
you did a full backup and restore?
Post the plan generated by IB Planalyzer for that query to gain some extra
insight.
BTW. Have you considered upgrading your server to firebird 1.5? Its much
faster than IB6.0.
Regards
Gary