Received: from maia.hub.org (unknown [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8F8B21337B54 for ; Thu, 21 Oct 2010 14:04:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 02835-04 for ; Thu, 21 Oct 2010 17:04:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id C7D471337B6D for ; Thu, 21 Oct 2010 14:04:22 -0300 (ADT) Received: from [192.168.1.7] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M9N4I-1PLbMD0NO2-00C6iT; Thu, 21 Oct 2010 19:04:20 +0200 Message-ID: <4CC07291.8020601@2ndquadrant.com> Date: Thu, 21 Oct 2010 13:04:17 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Bruce Momjian CC: Scott Marlowe , jd@commandprompt.com, Ben Chobot , Steve Crawford , pgsql-performance@postgresql.org Subject: Re: BBU Cache vs. spindles References: <201010211651.o9LGp9I28474@momjian.us> In-Reply-To: <201010211651.o9LGp9I28474@momjian.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:ovh0K/YkWdyEdBHmKkSllWbNYXFBvDAp5W+PT68V88h vd7bCvLOsJH9tjbARROsCORAjM4f8S+RdfOLPyeZxS1eYO5H7J B36mDo3YxWPIpabZwqsgoNLB+CS7/7UK3I7Qpci/SlbA18OSbW GI1o8RNizv1AheoUZ7zGmmtXD7IdCxJmJPk2C3Um08I2kGsGwD f7YqN4eozBHjshC8ldiCX9ElNh/EZIjmnpQVWuAIII= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/359 X-Sequence-Number: 40777 Bruce Momjian wrote: > With a BBU you can turn off full_page_writes, which should decrease the > WAL traffic. > > However, I don't see this mentioned in our documentation. Should I add > it? > What I would like to do is beef up the documentation with some concrete examples of how to figure out if your cache and associated write path are working reliably or not. It should be possible to include "does this handle full page writes correctly?" in that test suite. Until we have something like that, I'm concerned that bugs in filesystem or controller handling may make full_page_writes unsafe even with a BBU, and we'd have no way for people to tell if that's true or not. -- Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us