Re: Stored procedure slower than sql?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew Peters" <matthew(at)haydrian(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Stored procedure slower than sql?
Date: 2006-10-26 16:14:38
Message-ID: 21413.1161879278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Matthew Peters" <matthew(at)haydrian(dot)com> writes:
> How can a stored procedure containing a single query not implement the
> same execution plan (assumption based on the dramatic performance
> difference) that an identical ad-hoc query generates?

Parameterized vs non parameterized query?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Peters 2006-10-26 16:21:37 Re: Stored procedure slower than sql?
Previous Message Matthew Peters 2006-10-26 15:49:02 Stored procedure slower than sql?