From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marcus Engene <mengpg2@engene.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: odd planner again, pg 9.0.8
Date: Wed, 25 Jul 2012 12:39:09 -0400
Message-ID: <27536.1343234349@sss.pgh.pa.us> (raw)
In-Reply-To: <50101269.2020209@engene.se>
References: <50101269.2020209@engene.se>
Marcus Engene <mengpg2@engene.se> writes:
> Lacking index hints I have a bit of a problem with a slow select.
I don't think you need index hints. What you probably do need is to
increase join_collapse_limit and/or from_collapse_limit to deal with
this complex query as a whole.
> There are several selects looking similar to this in our application
> that suddenly jumped from a handfull of ms to many seconds.
Perhaps you had those settings adjusted properly and somebody turned
them off again?
regards, tom lane
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: tgl@sss.pgh.pa.us, mengpg2@engene.se
Subject: Re: odd planner again, pg 9.0.8
In-Reply-To: <27536.1343234349@sss.pgh.pa.us>
* 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