X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 62AF45339D for ; Tue, 5 Apr 2005 16:39:14 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79526-09 for ; Tue, 5 Apr 2005 15:39:06 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id C85515335D for ; Tue, 5 Apr 2005 16:39:05 +0100 (BST) Received: by flake.decibel.org (Postfix, from userid 1001) id 9504015447; Tue, 5 Apr 2005 10:39:04 -0500 (CDT) Date: Tue, 5 Apr 2005 10:39:04 -0500 From: "Jim C. Nasby" To: Ian Westmacott Cc: pgsql-admin@postgresql.org Subject: Re: VACUUM and read-mostly tables Message-ID: <20050405153904.GP93835@decibel.org> References: <000201c53993$b07bb440$76d81e42@hsd1.ma.comcast.net> <20050405044128.GL93835@decibel.org> <1112713986.8115.81.camel@spectre.intellivid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112713986.8115.81.camel@spectre.intellivid.com> X-Operating-System: FreeBSD 4.11-RELEASE i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.023 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/63 X-Sequence-Number: 17076 On Tue, Apr 05, 2005 at 11:13:06AM -0400, Ian Westmacott wrote: > On Tue, 2005-04-05 at 00:41, Jim C. Nasby wrote: > > We'll only answer if you do a write-up on your database. :P > > > > Seriously, those are some seriously big numbers. What else is the > > database doing? What hardware is it running on? > > > We run on a dual 3.2GHz P4 with 2GB RAM, but are still > finalizing the storage hardware. We've tried various > flavors of RAID, filesystems and volume management (and > are anxious to try out tablespaces in 8). We've found > fragmentation to be our largest limiting factor. XFS > helps with that, and seems to provide the highest > sustained throughput on raw tables, but its not the end > of the story since fragmentation is still high. What else is the database doing besides the inserts? And if UFS is available for linux you should might try it. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"