Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0963D9FB36E for ; Thu, 8 Mar 2007 04:48:34 -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 99188-03 for ; Thu, 8 Mar 2007 04:48:27 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 3B5509FB254 for ; Thu, 8 Mar 2007 04:48:26 -0400 (AST) Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by svr2.hagander.net (Postfix) with ESMTP id 0CE76DCC62E; Thu, 8 Mar 2007 09:48:24 +0100 (CET) Received: by svr2.hagander.net (Postfix, from userid 1000) id 06563DCC65B; Thu, 8 Mar 2007 09:48:23 +0100 (CET) Date: Thu, 8 Mar 2007 09:48:23 +0100 From: Magnus Hagander To: James Mansion Cc: Ron , pgsql-performance@postgresql.org Subject: Re: compact flash disks? Message-ID: <20070308084823.GA7216@svr2.hagander.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.059 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/162 X-Sequence-Number: 23567 On Thu, Mar 08, 2007 at 06:24:35AM -0000, James Mansion wrote: > > In the long run, we are going to have to seriously rethink pg's use > of WAL as the way we implement MVCC as it becomes more and more of a > performance bottleneck. > We have WAL because Stonebreaker made an assumption about the future > dominance of optical media that has turned out to be false. > ...and it's been one of pg's big issues every since. Uh. pg didn't *have* WAL back when Stonebreaker was working on it. It was added in PostgreSQL 7.1, by Vadim. And it significantly increased performance at the time, since we no longer had to sync the datafiles after every transaction commit. (We also didn't have MVCC back in the Stonebreaker days - it was added in 6.5) That said, it's certainly possible that someone can find an even better way to do it :-) //Magnus