Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 6E60B632921 for ; Wed, 23 Jun 2010 17:16:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 29038-06 for ; Wed, 23 Jun 2010 20:16:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id C10146321E3 for ; Wed, 23 Jun 2010 17:16:21 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o5NKGAM26947; Wed, 23 Jun 2010 16:16:10 -0400 (EDT) From: Bruce Momjian Message-Id: <201006232016.o5NKGAM26947@momjian.us> Subject: Re: PostgreSQL as a local in-memory cache In-Reply-To: To: Pavel Stehule Date: Wed, 23 Jun 2010 16:16:10 -0400 (EDT) CC: Tom Lane , Dimitri Fontaine , Josh Berkus , postgres performance list X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/411 X-Sequence-Number: 39267 Pavel Stehule wrote: > 2010/6/23 Bruce Momjian : > > Tom Lane wrote: > >> Dimitri Fontaine writes: > >> > Josh Berkus writes: > >> >> a) Eliminate WAL logging entirely > > > > If we elimiate WAL logging, that means a reinstall is required for even > > a postmaster crash, which is a new non-durable behavior. > > > > Also, we just added wal_level = minimal, which might end up being a poor > > name choice of we want wal_level = off in PG 9.1. ?Perhaps we should > > have used wal_level = crash_safe in 9.0. > > > > I have added the following TODO: > > > > ? ? ? ?Consider a non-crash-safe wal_level that eliminates WAL activity > > > > ? ? ? ? ? ?* http://archives.postgresql.org/pgsql-performance/2010-06/msg00300.php > > > > -- > > isn't fsync to off enought? Well, testing reported in the thread showed other settings also help, though the checkpoint lengthening was not tested. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + None of us is going to be here forever. +