Re: Why not cache stable functions?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: falcon <falcon(at)intercable(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why not cache stable functions?
Date: 2005-04-15 16:54:24
Message-ID: 4769.1113584064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

falcon <falcon(at)intercable(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-04-15 17:08:50 Re: Why not cache stable functions?
Previous Message Jim C. Nasby 2005-04-15 16:31:44 Re: Constant time insertion into highly non-unique