pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philippe Ivaldi <pivaldi@ovya.fr>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Subject: Re: Chaotic query planning ?
Date: Mon, 30 Jan 2017 09:24:11 +0100
Message-ID: <87r33l6jmc.fsf@piprime.fr> (raw)
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B539CE91F@ntex2010i.host.magwien.gv.at>
References: <87ziinru9c.fsf@piprime.fr>
	<A737B7A37273E048B164557ADEF4A58B539CE91F@ntex2010i.host.magwien.gv.at>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Albe Laurenz wrote

> […]
> Experiment with raising join_collapse_limit and from_collapse_limit to 11.

Thank you, this solve the problem.

> Alternatively, optimize the join order by hand and don't tune the parameters.

What is surprising is that there is no apparent/logical optimal strategy.

Best regards,
-- 
PI


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (3+ messages)

Message-ID: <87r33l6jmc.fsf@piprime.fr>
Permalink:  ../87r33l6jmc.fsf@piprime.fr/
Also on:    postgresql.org/message-id/87r33l6jmc.fsf@piprime.fr

 · 

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: pivaldi@ovya.fr, laurenz.albe@wien.gv.at
  Subject: Re: Chaotic query planning ?
  In-Reply-To: <87r33l6jmc.fsf@piprime.fr>

* 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