pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Lewis <mark.lewis@mir3.com>
To: Jean-Philippe Côté <jean-philippe.cote@crt.umontreal.ca>
Cc: pgsql-performance@postgresql.org
Subject: Re: Extremely irregular query performance
Date: Wed, 11 Jan 2006 15:50:43 -0800
Message-ID: <1137023443.30926.2.camel@archimedes> (raw)
In-Reply-To: <20060111234149.05DEA384099@crt0.crt.umontreal.ca>
References: <20060111234149.05DEA384099@crt0.crt.umontreal.ca>

If this is a query that will be executed more than once, you can also
avoid incurring the planning overhead multiple times by using PREPARE.

-- Mark Lewis

On Wed, 2006-01-11 at 18:50 -0500, Jean-Philippe Côté wrote:
> Thanks a lot for this info, I was indeed exceeding the genetic
> optimizer's threshold.  Now that it is turned off, I get
> a very stable response time of 435ms (more or less 5ms) for
> the same query. It is about three times slower than the best
> I got with the genetic optimizer on, but the overall average
> is much lower.
> 
> I'll also try to play with the geqo parameters and see if things
> improve.
> 
> Thanks again,
> 
> J-P




view thread (15+ messages)  latest in thread

Message-ID: <1137023443.30926.2.camel@archimedes>
Permalink:  ../1137023443.30926.2.camel@archimedes/
Also on:    postgresql.org/message-id/1137023443.30926.2.camel@archimedes

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mark.lewis@mir3.com, jean-philippe.cote@crt.umontreal.ca
  Subject: Re: Extremely irregular query performance
  In-Reply-To: <1137023443.30926.2.camel@archimedes>

* 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