Re: Why not cache stable functions? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Why not cache stable functions?
Date
Msg-id 20050415170850.GA7635@dcc.uchile.cl
Whole thread Raw
In response to Re: Why not cache stable functions?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Apr 15, 2005 at 12:54:24PM -0400, Tom Lane wrote:
> falcon <falcon@intercable.ru> writes:
> > I think It would be useful to cache return values for stable
> > and immutable functions. Now thay are really called everytime.
> 
> In most circumstances the overhead of searching such a cache would swamp
> any benefit we might get from it.

Maybe falcon would benefit from using pgmemcache in the first place ...

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"No es bueno caminar con un hombre muerto"


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why not cache stable functions?
Next
From: Tom Lane
Date:
Subject: Re: Kerberos patch in the queue