Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id CC9D963F166 for ; Wed, 16 Jun 2010 15:33:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 19625-05-5 for ; Wed, 16 Jun 2010 18:33:16 +0000 (UTC) Received: from mx3.hub.org (mx3.hub.org [206.223.169.73]) by mail.postgresql.org (Postfix) with ESMTP id BE0E56363B1 for ; Wed, 16 Jun 2010 14:54:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mx3.hub.org (Postfix) with ESMTP id 42D5B37D2C4 for ; Wed, 16 Jun 2010 14:54:29 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id D327134803F; Wed, 16 Jun 2010 10:37:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t+-+oeQHJuxk; Wed, 16 Jun 2010 10:37:09 -0700 (PDT) Received: from perhan.alvh.no-ip.org (190-95-18-56.bk17-dsl.surnet.cl [190.95.18.56]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 47F70348037; Wed, 16 Jun 2010 10:37:09 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id EF1E06E64B; Wed, 16 Jun 2010 13:37:06 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-performance Subject: Re: PostgreSQL as a local in-memory cache From: Alvaro Herrera To: "jgardner@jonathangardner.net" In-reply-to: <4634b12c-749f-4605-9d95-121b8e2bd9e4@k17g2000pro.googlegroups.com> References: <87bpbcpabg.fsf@cbbrowne-laptop.afilias-int.info> <4C17A417.2040600@noao.edu> <87ocfcnqmk.fsf@cbbrowne-laptop.afilias-int.info> <4C180A3B.7090905@agliodbs.com> <4634b12c-749f-4605-9d95-121b8e2bd9e4@k17g2000pro.googlegroups.com> Date: Wed, 16 Jun 2010 13:37:06 -0400 Message-Id: <1276709804-sup-438@alvh.no-ip.org> User-Agent: Sup/0.11 Content-Transfer-Encoding: 8bit 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: 201006/285 X-Sequence-Number: 39141 Excerpts from jgardner@jonathangardner.net's message of mié jun 16 02:30:30 -0400 2010: > NOTE: If I do one giant commit instead of lots of littler ones, I get > much better speeds for the slower cases, but I never exceed 5,500 > which appears to be some kind of wall I can't break through. > > If there's anything else I should tinker with, I'm all ears. increase wal_buffers? -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support