From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | "alex b(dot)" <mailinglists1(at)gmx(dot)de> |
Cc: | Postgresql General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: caching query results |
Date: | 2003-05-21 15:22:46 |
Message-ID: | Pine.LNX.4.33.0305210921320.22799-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 21 May 2003, alex b. wrote:
> hello all
>
>
> I've been wondering, if it was possible to cache the query results...
>
> the reason I ask is because of a script I wrote recently... each request
> takes up to 4 seconds... that ok, because its quite a bit of data... but
> instead of always collecting the data again and again some kind of cache
> wouldn't be all too bad.
>
> assuming that all queries are always the same - except for the OFFSET..
> - LIMIT stays the same.
Query caching is not likely to be added any time soon, as it is generally
believed to be the job of the application to cache data it needs cached.
Not that a good query cache patch would never be accepted, it's just not
on anyone's list of things to do.
Does your application development environment allow persistant
connections? If so, then maybe you could declare a cursor and use that?
From | Date | Subject | |
---|---|---|---|
Next Message | Szekely Zsolt-Csaba | 2003-05-21 15:23:39 | PLPERL |
Previous Message | Alvaro Herrera | 2003-05-21 15:11:28 | Re: TIMESTAMP SUBTRACTION |