From: | Mark Lewis <mark(dot)lewis(at)mir3(dot)com> |
---|---|
To: | Jean-Philippe Côté <jean-philippe(dot)cote(at)crt(dot)umontreal(dot)ca> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Extremely irregular query performance |
Date: | 2006-01-11 23:50:43 |
Message-ID: | 1137023443.30926.2.camel@archimedes |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Burak Seydioglu | 2006-01-11 23:52:40 | Re: indexes on primary and foreign keys |
Previous Message | Jean-Philippe Côté | 2006-01-11 23:50:12 | Re: Extremely irregular query performance |