From: | Erik Jones <erik(at)myemma(dot)com> |
---|---|
To: | Anoo Sivadasan Pillai <aspillai(at)in(dot)rm(dot)com> |
Cc: | "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: After Vacuum Analyse - Procedure performance notimproved - Innner select is faster |
Date: | 2008-01-09 18:06:35 |
Message-ID: | EB93DCC6-217E-4CE9-B673-2FE2B03B6BBD@myemma.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
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(at)myemma(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2008-01-09 18:44:34 | Re: big database performance |
Previous Message | Jared Mauch | 2008-01-09 17:42:43 | Re: big database performance |