functions and execution plan caching - Mailing list pgsql-performance

From Kelly Burkhart
Subject functions and execution plan caching
Date
Msg-id 1128604674.5421.35.camel@krb06.tradebot.com
Whole thread Raw
Responses Re: functions and execution plan caching
List 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 by date:

Previous
From: Ian Westmacott
Date:
Subject: Re: wal_buffers
Next
From: Alvaro Herrera
Date:
Subject: Re: wal_buffers