Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8C7529FA48B for ; Sun, 26 Nov 2006 09:30:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 97121-01 for ; Sun, 26 Nov 2006 09:30:07 -0400 (AST) X-Greylist: delayed 00:18:13.276496 by SQLgrey-1.7.4 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id ECA779FA285 for ; Sun, 26 Nov 2006 09:30:06 -0400 (AST) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1GoJnQ-0003eC-T0 for pgsql-performance@postgresql.org; Sun, 26 Nov 2006 14:11:49 +0100 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1GoJnP-00014W-00 for ; Sun, 26 Nov 2006 14:11:47 +0100 Date: Sun, 26 Nov 2006 14:11:47 +0100 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: When to vacuum a table? Message-ID: <20061126131147.GA4089@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <1164540257.7902.0.camel@panoramix> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.17.11 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/219 X-Sequence-Number: 21989 On Sun, Nov 26, 2006 at 09:43:11AM -0300, Marcelo Costa wrote: > All its tables constantly manipulated (INSERT, UPDATE, DELETE) they need a > VACUUM Just a minor clarification here: INSERT does not create dead rows, only UPDATE and DELETE do. Thus, if you only insert rows, you do not need to vacuum (although you probably need to analyze). /* Steinar */ -- Homepage: http://www.sesse.net/