From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike Goldner <mgoldner@agmednet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum Problems (locking)
Date: Wed, 25 Oct 2006 18:30:51 -0400
Message-ID: <5751.1161815451@sss.pgh.pa.us> (raw)
In-Reply-To: <1161806057.2095.154.camel@localhost.localdomain>
References: <1161806057.2095.154.camel@localhost.localdomain>
Mike Goldner <mgoldner@agmednet.com> writes:
> First of all, my max_fsm_pages is obviously way off. However, every
> time I increase my max_fsm_pages the next vacuum says that it requires
> more. Will there every be a plateau in the requested pages?
We realized recently that this can happen if you have a single relation
that all by itself needs more FSM space than you've got; any per-table
space beyond max_fsm_pages is disregarded in the calculation of the
total system-wide space needed, and so you get this inflationary effect
where the reported requirement keeps going up when you increase the
setting. There's a fix in for 8.2.
> So, all indications point to postgres blocking all access during the
> entire vacuum.
You haven't said anything I consider credible evidence of that. But try
looking in pg_locks next time.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, mgoldner@agmednet.com
Subject: Re: Vacuum Problems (locking)
In-Reply-To: <5751.1161815451@sss.pgh.pa.us>
References: <1161806057.2095.154.camel@localhost.localdomain> <5751.1161815451@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox