Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C83DD9FBFAF for ; Tue, 15 May 2007 22:21:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 44218-05 for ; Tue, 15 May 2007 22:20:52 -0300 (ADT) X-Greylist: whitelisted by SQLgrey-1.7.4 Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by postgresql.org (Postfix) with ESMTP id E1FE09FBF1D for ; Tue, 15 May 2007 22:20:57 -0300 (ADT) Received: from www3.nicku.org (c211-30-174-44.farfl1.nsw.optusnet.com.au [211.30.174.44]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l4G1KrOn027012; Wed, 16 May 2007 11:20:54 +1000 Received: from localhost (localhost.localdomain [127.0.0.1]) by www3.nicku.org (Postfix) with ESMTP id 5F255246DE6; Wed, 16 May 2007 11:20:53 +1000 (EST) X-Virus-Scanned: amavisd-new at example.com Received: from www3.nicku.org ([127.0.0.1]) by localhost (www3.nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HT4vAdGsO7+A; Wed, 16 May 2007 11:20:52 +1000 (EST) Received: by www3.nicku.org (Postfix, from userid 1000) id 3BBC9246F5B; Wed, 16 May 2007 11:20:52 +1000 (EST) Date: Wed, 16 May 2007 11:20:52 +1000 From: Nick Urbanik To: pgsql-admin@postgresql.org Subject: Re: How overcome wait for vacuum full? Message-ID: <20070516012052.GC16310@nicku.org> Mail-Followup-To: pgsql-admin@postgresql.org References: <20070515221356.GG5264@nicku.org> <20070515225313.GV12731@alvh.no-ip.org> <20070515231616.GH5264@nicku.org> <20070516011252.GW12731@alvh.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline In-Reply-To: <20070516011252.GW12731@alvh.no-ip.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/134 X-Sequence-Number: 25454 --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Alvaro, On 15/05/07 21:12 -0400, Alvaro Herrera wrote: >Nick Urbanik wrote: >> On 15/05/07 18:53 -0400, Alvaro Herrera wrote: >> >Instead of waiting a month for the time when you can take the >> >application offline (thus accumulating a month's worth of dead tuples), >> >run a non-full vacuum more often (say, once a day or more). It doesn't >> >lock the table so the app can continue to be online while it runs. >>=20 >> Yes, it is vacuumed non-full regularly. However, for some reason, >> only a full vacuum will recover the space. > >You probably need to better configure the FSM settings. See >fsm_max_pages in the docs. This is probably the critical piece of information we need to prevent the need for another sleepless night and an outage! Thank you. --=20 Nick Urbanik RHCE http://nicku.org nicku@nicku.org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24 --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGSlx0Ft/sW7udLCQRAvqIAKDL7WzXIXZvpqZrFFZqbHNTLEz23wCdHKlD yYk98BAdHPpG6KIIMchXf0Q= =TWKB -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef--