X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CEC979DC983 for ; Tue, 17 Jan 2006 11:13:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65921-03 for ; Tue, 17 Jan 2006 11:13:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 129D99DC95C for ; Tue, 17 Jan 2006 11:13:39 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0HFDfUF028350; Tue, 17 Jan 2006 10:13:42 -0500 (EST) To: Michael Riess cc: pgsql-performance@postgresql.org Subject: Re: Autovacuum / full vacuum In-reply-to: References: Comments: In-reply-to Michael Riess message dated "Tue, 17 Jan 2006 11:18:59 +0100" Date: Tue, 17 Jan 2006 10:13:41 -0500 Message-ID: <28349.1137510821@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.09 required=5 tests=[AWL=0.090] X-Spam-Score: 0.09 X-Spam-Level: X-Archive-Number: 200601/242 X-Sequence-Number: 16720 Michael Riess writes: > I'm curious as to why autovacuum is not designed to do full vacuum. Locking considerations. VACUUM FULL takes an exclusive lock, which blocks any foreground transactions that want to touch the table --- so it's really not the sort of thing you want being launched at unpredictable times. regards, tom lane