X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4CDA43A4317 for ; Wed, 17 Nov 2004 08:08:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67069-10 for ; Wed, 17 Nov 2004 08:08:29 +0000 (GMT) Received: from stark.xeocode.com (gsstark.mtl.istop.com [66.11.160.162]) by svr1.postgresql.org (Postfix) with ESMTP id 1D8973A42C1 for ; Wed, 17 Nov 2004 08:08:30 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=stark.xeocode.com) by stark.xeocode.com with smtp (Exim 3.36 #1 (Debian)) id 1CUKrV-0002XC-00; Wed, 17 Nov 2004 03:08:21 -0500 To: Josh Berkus Cc: pgsql-performance@postgresql.org, Michael Adler Subject: Re: memcached and PostgreSQL References: <20041117040024.GB8838@pobox.com> <200411162147.54831.josh@agliodbs.com> In-Reply-To: <200411162147.54831.josh@agliodbs.com> From: Greg Stark Organization: The Emacs Conspiracy; member since 1992 Date: 17 Nov 2004 03:08:20 -0500 Message-ID: <87y8h06gp7.fsf@stark.xeocode.com> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/244 X-Sequence-Number: 9198 Josh Berkus writes: > So memcached becomes a very good place to stick data that's read often but not > updated often, or alternately data that changes often but is disposable. An > example of the former is a user+ACL list; and example of the latter is web > session information ... or simple materialized views. I would like very much to use something like memcached for a materialized view I have. The problem is that I have to join it against other tables. I've thought about providing a SRF in postgres to read records out of memcached but I'm unclear it would it really help at all. Has anyone tried anything like this? -- greg