Re: Autovacuum issues with truncate and create index ... - Mailing list pgsql-admin

From Baptiste LHOSTE
Subject Re: Autovacuum issues with truncate and create index ...
Date
Msg-id 74151148.2709769.1356023323230.JavaMail.root@alaloop.com
Whole thread Raw
In response to Re: Autovacuum issues with truncate and create index ...  ("Kevin Grittner" <kgrittn@mail.com>)
List pgsql-admin
> Was the blocking you described occurring at the time you captured
> this? It doesn't seem to be showing any problem.

Yes indeed. We have noticed that any process seems to be in waiting situation but :
 - before the autovacuum process starts to work on the both kind of tables, truncate and index creation take less than
2seconds 
 - after the autovacuum process starts to work on the both kind of tables, truncate and index creation never end

We have to stop our process, then reset the autovacuum thresold for second kind of tables, then restart our process.

Is it possible that the fact that statistics of postgresql are not up-to-date could explain this behavior ?
Is it possible that the autovacuum process does not stop itself when we perform a truncate or a create index ?

> A minor release (where the version number doesn't change before the
> second dot) never requires a dump and restore. There is sometimes a
> need to do some cleanup work; for example, if a bug is fixed which
> could corrupt a particular type of index, the release notes may
> recommend rebuilding all indexes of that type to repair any damage
> which may have occurred before the bug was fixed.

As we mention in the previous mail, we can only upgrade to the 8.4.13 with Debian.


pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Autovacuum issues with truncate and create index ...
Next
From: Ray Stell
Date:
Subject: Re: create role?