functions and execution plan caching

Поиск
Список
Период
Сортировка
От Kelly Burkhart
Тема functions and execution plan caching
Дата
Msg-id 1128604674.5421.35.camel@krb06.tradebot.com
обсуждение исходный текст
Ответы Re: functions and execution plan caching  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-performance
I am working on a system which will be heavily dependent on functions
(some SQL, some PL/pgSQL).  I am worried about the backend caching query
execution plans for long running connections.

Given:
- Processes which are connected to the database for long periods of time
(transactions are always short).
- These processes will use some functions to query data.
- Lots of data is being inserted into tables that these functions query.
- Vacuums are done frequently.

Am I at risk of degrading performance after some time due to stale
execution plans?

Thanks,

-Kelly

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

Предыдущее
От: Ian Westmacott
Дата:
Сообщение: Re: wal_buffers
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: wal_buffers