Re: invalidating cached plans

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: invalidating cached plans
Дата
Msg-id puvf7u9xrs.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на invalidating cached plans  (Neil Conway <neilc@samurai.com>)
Ответы Re: invalidating cached plans  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In article <6028.1110785150@sss.pgh.pa.us>,
Tom Lane <tgl@sss.pgh.pa.us> writes:

> One possible approach is to do the invalidation on a sufficiently coarse
> grain that we don't care.  For example, I would be inclined to make any
> change in a table's schema invalidate all plans that use that table at
> all; that would then subsume the constraint problem for instance.  This
> doesn't solve the inlined function problem however.

How about making this even more coarse-grained?  Blindly throw all
cached plans away when something in the database DDL changes.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Miroslav Šulc
Дата:
Сообщение: Re: [PERFORM] How to read query plan
Следующее
От: Miroslav Šulc
Дата:
Сообщение: Re: [PERFORM] How to read query plan