Subject | Re: [firebird-support] How does sweeping works? |
---|---|
Author | Daniel Vogelbacher |
Post date | 2009-08-27T10:42:44Z |
On [Thu, 27.08.2009 14:05], Dmitry Yemanov wrote:
If I run a manual sweep every night, the select query
should run fast, isn't it?
Daniel
--
web: http://daniel.vogelbacher.name
irc: cytrinox @ (freenode|ircnet|quakenet)
> Daniel Vogelbacher wrote:In one of your last mails you wrote that sweep invokes GC.
> >
> > You mean that the first query cleans up the indicies
> > and after gc has finished, the query runs faster?
>
> I mean that after deletion and commit, select count(*) garbage collects
> not only data pages but also index pages. So existence of indices does
> affect this query, while you were suggesting the opposite.
If I run a manual sweep every night, the select query
should run fast, isn't it?
Daniel
--
web: http://daniel.vogelbacher.name
irc: cytrinox @ (freenode|ircnet|quakenet)