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

От: Enrico Weigelt
Тема: Re: clear function cache (WAS: SQL function inlining)
Дата: ,
Msg-id: 20050415204055.GA20345@nibiru.borg.metux.de
(см: обсуждение, исходный текст)
Ответ на: Re: clear function cache (WAS: SQL function inlining)  (Stephan Szabo)
Список: pgsql-performance

Скрыть дерево обсуждения

SQL function inlining (was: View vs function)  ("Tambet Matiisen", )
 Re: SQL function inlining (was: View vs function)  (Tom Lane, )
  clear function cache (WAS: SQL function inlining)  (Enrico Weigelt, )
   Re: clear function cache (WAS: SQL function inlining)  (Alvaro Herrera, )
    Re: clear function cache (WAS: SQL function inlining)  (Enrico Weigelt, )
     Re: clear function cache (WAS: SQL function inlining)  (Stephan Szabo, )
      Re: clear function cache (WAS: SQL function inlining)  (Enrico Weigelt, )

* Stephan Szabo <> wrote:
>
> On Thu, 24 Mar 2005, Enrico Weigelt wrote:
>
> > * Alvaro Herrera <> 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:     
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------


В списке pgsql-performance по дате сообщения:

От: Kevin Brown
Дата:
Сообщение: Re: How to improve db performance with $7K?
От: Hannes Dorbath
Дата:
Сообщение: Re: Query Optimizer Failure / Possible Bug