Re: severe performance issue with planner - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: severe performance issue with planner
Date
Msg-id 40512394.2050506@familyhealth.com.au
Whole thread Raw
In response to severe performance issue with planner  ("Eric Brown" <bigwhitecow@hotmail.com>)
List pgsql-performance
> if i first do prepare blah as SELECT ....., then run execute blah, the
> time goes down to about 275ms  (i had been running this query a lot, and
> did a vacuum update before all this).

If you make it an SQL stored procedure, you get the speed up of the
PREPARE command, without having to prepare manually all the time.

Chris


pgsql-performance by date:

Previous
From: "Eric Brown"
Date:
Subject: severe performance issue with planner
Next
From: Tom Lane
Date:
Subject: Re: severe performance issue with planner