Subject | Re: Performance |
---|---|
Author | pokka_chi |
Post date | 2007-04-26T10:38:32Z |
--- In firebird-support@yahoogroups.com, Aage Johansen <aagjohan@...>
wrote:
even though there isn't? By the way, I'd like clarify that the
sluggishness only occurs after cold start of the machine. Shutting
down the FB and restarting FB does not cause the sluggish response.
So, it may probably related to Windows cache. But I don't understand
why it is so slow (seems that it is doing somesort of table scan).
PK
wrote:
>is
> It depends. It might be (a lot of) back versions of records that
> "garbage collected" because your query touches those records. Doyou
> use "Commit retaining"?No.
> In your case, if your first query initiates the garbage collectingWould FB scan to see if there are garbage for cleanup upon startup
> process this can explain why it is slow and why the next ones are
> fast (there's simply no more back versions (garbage)).
even though there isn't? By the way, I'd like clarify that the
sluggishness only occurs after cold start of the machine. Shutting
down the FB and restarting FB does not cause the sluggish response.
So, it may probably related to Windows cache. But I don't understand
why it is so slow (seems that it is doing somesort of table scan).
> I believe Ann and Helen (and probably others) have explained thisYes, please help.
> better many times on this NG (and others) - maybe a search in the
> archives could clear up this.
>
PK