Re: clear function cache (WAS: SQL function inlining)

From: Enrico Weigelt <weigelt(at)metux(dot)de>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: clear function cache (WAS: SQL function inlining)
Date: 2005-04-15 20:40:55
Message-ID: 20050415204055.GA20345@nibiru.borg.metux.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

* Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> wrote:
>
> On Thu, 24 Mar 2005, Enrico Weigelt wrote:
>
> > * Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> wrote:
> > > On Thu, Mar 24, 2005 at 02:32:48PM +0100, Enrico Weigelt wrote:
> > >
> > > > BTW: is it possible to explicitly clear the cache for immutable
> > > > functions ?
> > >
> > > What cache? There is no caching of function results.
> >
> > Not ? So what's immutable for ?
>
> For knowing that you can do things like use it in a functional index and
> I think for things like constant folding in a prepared plan.

So when can I expect the function to be reevaluated ?
Next query ? Next session ? Random time ?

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service

phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Nuzum 2005-04-15 20:43:47 Re: Spend 7K *WHERE*? WAS Intel SRCS16 SATA raid? and How
Previous Message Mohan, Ross 2005-04-15 18:26:57 Re: How to improve db performance with $7K?