Re: autovacuum ignore tables

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Sriram Dandapani <sdandapani(at)counterpane(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: autovacuum ignore tables
Date: 2006-09-29 13:31:48
Message-ID: 451D2044.30903@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sriram Dandapani wrote:
> The only issue I have with autovacuum is the fact that I have to briefly
> stop/restart postgres every couple of days, which kills autovacuum and
> it has no memory of previous work done. I work with several databases
> with partitioned tables having high daily volume. Dropping partitioned
> tables locks out jdbc inserts and the drop command itself goes into a
> WAIT state. Hence, I have to stop postgres,update pg_hba.conf to prevent
> access,restart postgres,drop tables and update pg_hba to allow
> access(Crazy, but I have no choice because Postgres deadlocks on drop
> child tables while inserts happen on the parent)

Sounds like a fairly serious problem, but I'll let someone else talk to
that. As for the autovac issue, as of 8.1 and autovac being integrated
into core, this isn't true. It does remember where it was, at least as
long as you don't have the GUC var reset_stats_on_restart (something
like that) set.

Matt

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sistemas C.M.P. 2006-09-29 13:41:33 Copy to another server
Previous Message Heikki Linnakangas 2006-09-29 08:56:15 Re: [JDBC] number of transactions doubling