Re: Automatic function replanning

Поиск
Список
Период
Сортировка
От Lukas Smith
Тема Re: Automatic function replanning
Дата
Msg-id 43A49F27.907@pooteeweet.org
обсуждение исходный текст
Ответ на Re: Automatic function replanning  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Automatic function replanning  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Automatic function replanning  (Trent Shipley <tshipley@deru.com>)
Список pgsql-hackers
Bruce Momjian wrote:

>     * Flush cached query plans when the dependent objects change,
>       when the cardinality of parameters changes dramatically, or
>       when new ANALYZE statistics are available

Wouldn't it also make sense to flush a cached query plan when after 
execution it is determined that one or more assumptions that the cached 
query plan was based on was found to be off? Like the query plan was 
based on the assumption that a particular table would only return a hand 
full of rows, but in reality it returned a few thousand.

regards,
Lukas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: number of loaded/unloaded COPY rows
Следующее
От: Chris Browne
Дата:
Сообщение: Re: Automatic function replanning