pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Dmitry Potapov <fortune.fish@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: planner chooses unoptimal plan on joins with complex key
Date: Wed, 23 Jan 2008 12:17:56 -0500
Message-ID: <22362.1201108676@sss.pgh.pa.us> (raw)
In-Reply-To: <1d4e0c10801230558i1e56a9dcgaa9e6c2fac6d0448@mail.gmail.com>
References: <878c83960801230548i6bee9353m19bcee7335220c9b@mail.gmail.com>
	<1d4e0c10801230558i1e56a9dcgaa9e6c2fac6d0448@mail.gmail.com>

"Guillaume Smet" <guillaume.smet@gmail.com> writes:
> It doesn't look like an EXPLAIN ANALYZE output. Can you provide a real
> one (you should have a second set of numbers with EXPLAIN ANALYZE)?

Also, could we see the pg_stats rows for the columns being joined?

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <22362.1201108676@sss.pgh.pa.us>
Permalink:  ../22362.1201108676@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22362.1201108676@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, guillaume.smet@gmail.com, fortune.fish@gmail.com
  Subject: Re: planner chooses unoptimal plan on joins with complex key
  In-Reply-To: <22362.1201108676@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