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 79EF69DC821 for ; Tue, 31 Jan 2006 22:47:16 -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 19769-09 for ; Tue, 31 Jan 2006 22:47:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id D878D9DC817 for ; Tue, 31 Jan 2006 22:47:13 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 22F7F3983F; Tue, 31 Jan 2006 20:47:03 -0600 (CST) Date: Tue, 31 Jan 2006 20:47:03 -0600 From: "Jim C. Nasby" To: Luke Lonergan Cc: Mike Biamonte , pgsql-performance@postgresql.org Subject: Re: Huge Data sets, simple queries Message-ID: <20060201024703.GT95850@pervasive.com> References: <20060131231227.GP95850@pervasive.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.104 required=5 tests=[AWL=0.104] X-Spam-Score: 0.104 X-Spam-Level: X-Archive-Number: 200601/505 X-Sequence-Number: 16983 On Tue, Jan 31, 2006 at 03:19:38PM -0800, Luke Lonergan wrote: > > Well, the only problem with that is if the machine crashes for any > > reason you risk having the database corrupted (or at best losing some > > committed transactions). > > So, do you routinely turn off Linux write caching? If not, then there's no > difference. My thought was about fsync on WAL; if you're doing much writing then a good raid write cache with BBU will improve performance. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461