Subject | Re: Firebird 2.1.x runs very slow on first query execution (very low CPU usage) |
---|---|
Author | mdjorov |
Post date | 2009-04-19T19:58:44Z |
--- In firebird-support@yahoogroups.com, Svein Erling Tysvaer <svein.erling.tysvaer@...> wrote:
Of course, it is
>I tried Classic server. It was the same.
> Sometimes it is good to use an index, sometimes not. You have to figure
> out how the indexes are used, not just look at indexed reads being used.
> Moreover, if you run several slow queries simultaneously, it will affect
> other queries as well. One possible 'solution', is in some cases to use
> Classic Server rather than SuperServer, but that only helps in that
> simultaneous queries from different users may use different processors
> rather than compete for the same resources.
>Some of the queries I use, are not changed from a long time. And with 2.0.x they worked fine.
> Most of us do not think Firebird is slow, although I have no problems
> admitting that the PLAN Firebird chooses sometimes isn't good so that
> some tweaking is needed.
> Other than that, well, I can only think ofI use FDB file extension since version 1.5
> issues like having .gdb filename extension (formerly, that was the
> normal extension for InterBase databases) on certain Windows versions
> makes the operating system take a backup upon connect.
Of course, it is
> not difficult to write lousy queries that takes forever, but yourWe celebrating Easter right now and I can give you the PLAN on Tuesday.
> particular query doesn't seem too bad (the only thing I noticed was that
> you used indexed reads to access all records in PARTIDA_NAL), although
> the PLAN is a key point that you haven't told us anything about.
> Set