From: William Yu <wyu@talisys.com>
To: pgsql-performance@postgresql.org
Subject: Re: A cache for the results of queries ?
Date: Thu, 26 Feb 2004 16:40:25 -0800
Message-ID: <c1m439$2049$1@news.hub.org> (raw)
In-Reply-To: <20040226133038.GA1481@apartia.fr>
References: <20040226133038.GA1481@apartia.fr>
David Pradier wrote:
> i'd like to know if it exists a system of cache for the results of
> queries.
If you are willing to do this at an application level, you could
calculate a MD5 for every query you plan to run and then SELECT INTO a
temporary table that's based on the MD5 sum (e.g. TMP_CACHE_45123). Next
time somebody runs a query, check to see if that table exists already.
Then you just have to figure out some way to know when results should be
expired.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: wyu@talisys.com
Subject: Re: A cache for the results of queries ?
In-Reply-To: <c1m439$2049$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox