Re: Slow after VACUUM, fast after DROP-CREATE INDEX

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: "ruben" <ruben20(at)superguai(dot)com>
Cc: hf0722x(at)protecting(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: Slow after VACUUM, fast after DROP-CREATE INDEX
Date: 2004-08-06 18:17:52
Message-ID: 1091816272.27166.217.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Unfortunately, the administrative overhead in 7.1.3 is noticeably higher
than it is in 7.4. The overhead should be lowered even more in 8.0 with
the integration of the autovacuum daemon into the backend process.

On Fri, 2004-08-06 at 10:24, ruben wrote:
> Thanks Harald, i'm running PostgreSQL 7.1.3.
>
>
>
> Harald Fuchs wrote:
>
> > In article <411296B5(dot)6000204(at)superguai(dot)com>,
> > ruben <ruben20(at)superguai(dot)com> writes:
> >
> >
> >>Today, one of the processes running daily took 4 hours when it takes
> >>about 5 minutes. After a VACCUM ANALYZE of the affected tables it took
> >>the same to finish, then I recreated (drop and create) the index of
> >>the affected table and the process when again fast. My question is,
> >>isn't enough to run a VACCUM to optimize a table and its indexes? Is
> >>it advisable to recreate indexes from time to time?
> >
> >
> > This was necessary in PostgreSQL up to 7.3.x, but 7.4.x is supposed to
> > fix that. What version are you running?
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 7: don't forget to increase your free space map settings
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2004-08-06 18:20:45 Re: Creating blank records with sequential record numbers
Previous Message Oscar Tuscon 2004-08-06 18:10:41 Re: Sequence Question DOH!