From: Heikki Linnakangas <heikki@enterprisedb.com>
To: mlunnon@rwa-net.co.uk
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance problems inside a stored procedure.
Date: Mon, 28 Jan 2008 12:06:48 +0000
Message-ID: <479DC558.30409@enterprisedb.com> (raw)
In-Reply-To: <479DC452.8010400@rwa-net.co.uk>
References: <479DC452.8010400@rwa-net.co.uk>
Matthew Lunnon wrote:
> I have a query which runs pretty quick ( 0.82ms) but when I put it
> inside a stored procedure it takes 10 times as long (11.229ms). Is
> this what you would expect and is there any way that I can get around
> this time delay?
It depends. You'll need to show us the function. Also, what version of
Postgres are you running?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
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: heikki@enterprisedb.com, mlunnon@rwa-net.co.uk
Subject: Re: Performance problems inside a stored procedure.
In-Reply-To: <479DC558.30409@enterprisedb.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