Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 66CF69FBF8F for ; Wed, 20 Jun 2007 14:55:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 90829-01-8 for ; Wed, 20 Jun 2007 14:55:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from silene.metacarta.com (silene.metacarta.com [65.77.47.18]) by postgresql.org (Postfix) with ESMTP id 64EB09FBF9E for ; Wed, 20 Jun 2007 14:55:26 -0300 (ADT) Received: from localhost (silene.metacarta.com [65.77.47.18]) by silene.metacarta.com (Postfix) with ESMTP id 77AE514C8686; Wed, 20 Jun 2007 13:55:23 -0400 (EDT) Received: from silene.metacarta.com ([65.77.47.18]) by localhost (silene.metacarta.com [65.77.47.18]) (amavisd-new, port 10024) with ESMTP id 32720-05; Wed, 20 Jun 2007 13:55:22 -0400 (EDT) X-Auth-Received: from [65.77.47.195] (dhcp-65-77-47-195.metacarta.com [65.77.47.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 0904514C8684; Wed, 20 Jun 2007 13:55:22 -0400 (EDT) Message-ID: <46796A08.8080601@metacarta.com> Date: Wed, 20 Jun 2007 13:55:20 -0400 From: Karl Wright User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Alvaro Herrera Cc: Francisco Reyes , Tom Lane , pgsql-performance@postgresql.org Subject: Re: Performance query about large tables, lots of concurrent access References: <4676DD57.7070304@metacarta.com> <14291.1182221811@sss.pgh.pa.us> <4677B831.8060704@metacarta.com> <4677D298.2010109@metacarta.com> <20070619132643.GC4265@alvh.no-ip.org> <4677DC06.3000300@metacarta.com> <20070619134637.GG4265@alvh.no-ip.org> <467963A8.2060703@metacarta.com> <20070620175300.GN30369@alvh.no-ip.org> In-Reply-To: <20070620175300.GN30369@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/435 X-Sequence-Number: 25468 Alvaro Herrera wrote: > Karl Wright wrote: > >> (b) the performance of individual queries had already degraded >> significantly in the same manner as what I'd seen before. > > You didn't answer whether you had smaller, more frequently updated > tables that need more vacuuming. This comment makes me think you do. I > think what you should be looking at is whether you can forget vacuuming > the whole database in one go, and make it more granular. > I am afraid that I did answer this. My largest tables are the ones continually being updated. The smaller ones are updated only infrequently. Karl