From: Kelly Burkhart <kelly@tradebotsystems.com>
To: pgsql-performance@postgresql.org
Subject: functions and execution plan caching
Date: Thu, 06 Oct 2005 08:17:54 -0500
Message-ID: <1128604674.5421.35.camel@krb06.tradebot.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: kelly@tradebotsystems.com
Subject: Re: functions and execution plan caching
In-Reply-To: <1128604674.5421.35.camel@krb06.tradebot.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox