Subject | Re: A select query seems to write to disk?! |
---|---|
Author | diwic2 |
Post date | 2005-03-18T14:09:59Z |
--- In firebird-support@yahoogroups.com, Nick Upson <nick@u...> wrote:
The whole database is about 50 MB and the tables used in the select
statement are not many MB each. A sort would be easily done in memory,
and I don't see the plan suggesting a sort anyway.
That it would trigger a sweep seems to be highly improbable as the
sweep interval is set to 20000 and the "next transaction" value does
not move that much during the query's execution.
Any other ideas?
// David
> In article <d1eln8+m9s1@e...>, Diwic2 wrote:to
> > But the question is: In what way does this select query write data
> > disk?Thanks for your answer, but...
>
> A) it could trigger a sweep
>
> b) if a sort is required
The whole database is about 50 MB and the tables used in the select
statement are not many MB each. A sort would be easily done in memory,
and I don't see the plan suggesting a sort anyway.
That it would trigger a sweep seems to be highly improbable as the
sweep interval is set to 20000 and the "next transaction" value does
not move that much during the query's execution.
Any other ideas?
// David