pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Jones <erik@myemma.com>
To: Anoo Sivadasan Pillai <aspillai@in.rm.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: After Vacuum Analyse - Procedure performance notimproved - Innner select is faster
Date: Wed, 9 Jan 2008 12:06:35 -0600
Message-ID: <EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com> (raw)
In-Reply-To: <772CDA49C515244FA14E34443F62E56403AFC9B8@EX-INDIA1.internal.rmplc.net>
References: <772CDA49C515244FA14E34443F62E56403AFC90C@EX-INDIA1.internal.rmplc.net>
	<20080109050644.GF20913@alvh.no-ip.org>
	<772CDA49C515244FA14E34443F62E56403AFC9B8@EX-INDIA1.internal.rmplc.net>


On Jan 9, 2008, at 12:00 AM, Anoo Sivadasan Pillai wrote:

>
>>> Why the procedure is not getting the performance advantage of Vacuum
>>> analyse?
>
>> Plan caching by the function, probably.  Try disconnecting the  
>> session
>> and reconnecting to prove the hypothesis.
>
>> If it is a recurring problem for you, you could put the SELECT under
>> EXECUTE in the function.  But most likely this is just a one-time
>> problem.
>
> Is there any way to clear the  cached plan manually other than
> disconnecting (With the help of some commands/Configuration  
> settings) ?

Only as of 8.3.

Erik Jones

DBA | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com






view thread (4+ messages)

Message-ID: <EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com>
Permalink:  ../EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com/
Also on:    postgresql.org/message-id/EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: erik@myemma.com, aspillai@in.rm.com, alvherre@commandprompt.com
  Subject: Re: After Vacuum Analyse - Procedure performance notimproved - Innner select is faster
  In-Reply-To: <EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com>
  References: <772CDA49C515244FA14E34443F62E56403AFC90C@EX-INDIA1.internal.rmplc.net> <20080109050644.GF20913@alvh.no-ip.org> <772CDA49C515244FA14E34443F62E56403AFC9B8@EX-INDIA1.internal.rmplc.net> <EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.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