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

From Kevin Grittner
Subject Re: Autovacuum issues with truncate and create index ...
Date
Msg-id 20121220150431.14740@gmx.com
Whole thread Raw
In response to Autovacuum issues with truncate and create index ...  (Baptiste LHOSTE <blhoste@alaloop.com>)
Responses Re: Autovacuum issues with truncate and create index ...  (Baptiste LHOSTE <blhoste@alaloop.com>)
List pgsql-admin
Baptiste LHOSTE wrote:

>  - finally we delete old data of the second kind of tables

> Then the autovacuum process starts to work on the second kind of
> tables, but our process blocks into step 3 (truncate) or step 5
> (create index).
>
> As soon as I reset the autovacuum thresholds for the second kind
> of tables, our process run again perfectly.
>
> Can our process could create deadlock with the autovacuum
> process ?

Would it be possible for you to create such a situation and capture
the contents of pg_stat_activity and pg_locks while it is going on?
What messages related to autovacuum or deadlocks do you see in the
server log while this is going on?

>  PostgreSQL 8.4.11

Would it be possible to update your 8.4 installation to the latest
bug fix (currently 8.4.15) to rule out the influence of any bugs
which have already been fixed?

-Kevin


pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: Re: create role?
Next
From: Gary Stainburn
Date:
Subject: Re: create role?