From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fredrik Olsson <fredrik.olsson@treyst.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: Force another plan.
Date: Sat, 18 Feb 2006 13:36:51 -0500
Message-ID: <20490.1140287811@sss.pgh.pa.us> (raw)
In-Reply-To: <43F74592.7010701@treyst.se>
References: <43F74592.7010701@treyst.se>
Fredrik Olsson <fredrik.olsson@treyst.se> writes:
> I have some quite huge queries, inside functions, so debugging is kind
> of hard. But I have located the query that for some reason gets 4 times
> as slow after an analyze.
Could we see EXPLAIN ANALYZE output for these cases, not just EXPLAIN?
It seems a bit premature to be discussing ways to "force" a plan choice
when you don't even have a clear idea what's going wrong.
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, fredrik.olsson@treyst.se
Subject: Re: Force another plan.
In-Reply-To: <20490.1140287811@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