X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 79E21D1DC64 for ; Fri, 30 Apr 2004 02:58:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 50644-01 for ; Fri, 30 Apr 2004 02:57:46 -0300 (ADT) Received: from tupari.net (node-40242ac2.lga.onnet.us.uu.net [64.36.42.194]) by svr1.postgresql.org (Postfix) with ESMTP id 3C839D1E60E for ; Fri, 30 Apr 2004 02:57:45 -0300 (ADT) Received: from selectacast.net ([192.168.0.2]) by tupari.net (8.12.8/8.12.8) with ESMTP id i3U5viCE028467; Fri, 30 Apr 2004 01:57:45 -0400 Message-ID: <4091EAD8.4020503@selectacast.net> Date: Fri, 30 Apr 2004 01:57:44 -0400 From: Joseph Shraibman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane , pgsql-performance@postgresql.org Subject: Re: Insert only tables and vacuum performance References: <20619.1083299426@sss.pgh.pa.us> In-Reply-To: <20619.1083299426@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/521 X-Sequence-Number: 6821 Tom Lane wrote: > Joseph Shraibman writes: > >>I have a table that is never updated, only INSERTED into. Is there a way >>I can prevent vacuum wasting time on this table > > > What makes you think vacuum is wasting much time on this table? AFAICS > it will only update any unfixed hint bits ... > > regards, tom lane INFO: "elog": found 0 removable, 12869411 nonremovable row versions in 196195 pages DETAIL: 0 dead row versions cannot be removed yet. There were 5 unused item pointers. 0 pages are entirely empty. CPU 31.61s/4.53u sec elapsed 1096.83 sec. It took 1096.83 seconds, and what did it accomplish? And what are hint bits?