Re: Again, sorry, caching. - Mailing list pgsql-hackers

From mlw
Subject Re: Again, sorry, caching.
Date
Msg-id 3C97E923.DBF487F5@mohawksoft.com
Whole thread Raw
In response to Re: Again, sorry, caching.  (F Harvell <fharvell@fts.net>)
Responses Re: Again, sorry, caching.  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Neil Conway wrote:
> 
> On Tue, 2002-03-19 at 19:20, F Harvell wrote:
> > I feel that the caching should be SQL transparent.  If it is
> > implemented reasonably well, the performance gain should be pretty
> > much universal.
> 
> Well, the simple query cache scheme that is currently being proposed
> would use a byte-by-byte comparison of the incoming query. I think the
> consensus is that for a lot of workloads, this would be a bad idea.

And this is what I have been trying to argue. Many SQL deployments execute a
set of hard coded queries as the majority of the work load. The dynamic
queries, obviously, will not be cached, but the vast majority of work will come
out of the cache.


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: Again, sorry, caching.
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Again, sorry, caching.