pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roman <roman_mir@hotmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6075: mergejoin early termination estimates bug or defficiency
Date: Wed, 22 Jun 2011 22:35:28 GMT
Message-ID: <201106222235.p5MMZS45031751@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6075
Logged by:          Roman
Email address:      roman_mir@hotmail.com
PostgreSQL version: 9.0.3
Operating system:   Red Hat 4.4.1-2, 64-bit
Description:        mergejoin early termination estimates bug or defficiency
Details: 

Entered PG IRC, spoke with RhodiumToad, who advised that this must be
reported as a bug or deficiency.

http://pgsql.privatepaste.com/09af338ded   - the SQL and EXPLAIN ANALYZE
output, and http://explain.depesz.com/s/RDN8  - explanation.

SQL took 30 seconds to perform, HashAggregate was 8239.96..8240.28

One missing index was added, took runtime to 27 seconds. Eventually executed
"set enable_mergejoin=false;" command and runtime of the SQL went down to 38
MILLISECONDS.



Message-ID: <201106222235.p5MMZS45031751@wwwmaster.postgresql.org>
Permalink:  ../201106222235.p5MMZS45031751@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201106222235.p5MMZS45031751@wwwmaster.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: roman_mir@hotmail.com
  Subject: Re: BUG #6075: mergejoin early termination estimates bug or defficiency
  In-Reply-To: <201106222235.p5MMZS45031751@wwwmaster.postgresql.org>
  References: <201106222235.p5MMZS45031751@wwwmaster.postgresql.org>

* 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