pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: daniel.heden@sweco.se
To: pgsql-bugs@postgresql.org
Subject: BUG #7602: Select with many joins against the same table is very slow compared to 9.2.0.
Date: Mon, 15 Oct 2012 10:55:54 +0000
Message-ID: <E1TNiKw-0004uY-Nu@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7602
Logged by:          Daniel Hedén
Email address:      daniel.heden@sweco.se
PostgreSQL version: 9.2.1
Operating system:   Windows 7 / Vista 64-Bit
Description:        

Select with many joins against the same table is very slow compared to
9.2.0.
In my case 16 times, this query takes a second max on 9.2.0 but on 9.2.1 it
takes more than 30 minutes.

The database is the same in both cases and running analyze does not help.

On request i could send the SQL and a database backup.





view thread (3+ messages)  latest in thread

Message-ID: <E1TNiKw-0004uY-Nu@wrigleys.postgresql.org>
Permalink:  ../E1TNiKw-0004uY-Nu@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TNiKw-0004uY-Nu@wrigleys.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: daniel.heden@sweco.se
  Subject: Re: BUG #7602: Select with many joins against the same table is very slow compared to 9.2.0.
  In-Reply-To: <E1TNiKw-0004uY-Nu@wrigleys.postgresql.org>
  References: <E1TNiKw-0004uY-Nu@wrigleys.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