Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id BBA98634F99 for ; Thu, 12 Nov 2009 03:04:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07440-03-3 for ; Thu, 12 Nov 2009 07:04:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id 3C717634F75 for ; Thu, 12 Nov 2009 03:04:42 -0400 (AST) Received: from [192.168.1.3] (pool-96-244-14-10.bltmmd.fios.verizon.net [96.244.14.10]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LxKXe-1M1dEz3Ne6-016niO; Thu, 12 Nov 2009 07:47:47 +0100 Message-ID: <4AFBAF87.7060405@2ndquadrant.com> Date: Thu, 12 Nov 2009 01:47:35 -0500 From: Greg Smith User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Scott Carey CC: Craig James , "pgsql-performance@postgresql.org" Subject: Re: limiting performance impact of wal archiving. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/1AxzkQXKZnUnYBHXklKs2gbiN6UZwl/ylU/7 8rxpkrJDpjo8mrGv45EaqQQ4cafFkRDffj08rlw0MPhF6uFmeO F0Qj9TAXtGEinEr/Cb2lnpBfewi0vko X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200911/119 X-Sequence-Number: 36287 Scott Carey wrote: >> Using ext2 means that you're still exposed to fsck errors on boot after >> a crash, which doesn't lose anything but you have to go out of your way >> to verify you're not going to get stuck with your server down in that >> case. > fsck on a filesystem with 1 folder and files is very > very fast. Even if using WAL archiving, there won't be many > files/directories to check. Fsck is not an issue if the partition is > exclusively for WAL. You can even mount it direct, and avoid having the OS > cache those pages if you are using a caching raid controller Right; that sort of thing--switching to a more direct mount, making sure fsck is setup to run automatically rather than dropping to a menu--is what I was alluding to when I said you had to go out of your way to make that work. It's not complicated, really, but by the time you've set everything up and done the proper testing to confirm it all worked as expected you've just spent a modest chunk of time. All I was trying to suggest is that there is a cost and some complexity, and that I feel there's no reason to justify that unless you're not bottlenecked specifically at WAL write volume. -- Greg Smith 2ndQuadrant Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.com