Re: Understanding bad estimate (related to FKs?) - Mailing list pgsql-performance

From Michael Lewis
Subject Re: Understanding bad estimate (related to FKs?)
Date
Msg-id CAHOFxGrUA2QJLLfF_fEWhyvh=e+J6C5FCDiOJvdk+5QZGj0W4g@mail.gmail.com
Whole thread Raw
In response to Re: Understanding bad estimate (related to FKs?)  (Philip Semanchuk <philip@americanefficient.com>)
Responses Re: Understanding bad estimate (related to FKs?)  (Philip Semanchuk <philip@americanefficient.com>)
List pgsql-performance
The query I asked about in the original post of this thread has 13 relations in it. IIUC, that's 13! or > 6 billion possible plans. How did the planner pick one plan out of 6 billion? I'm curious, both for practical purposes (I want my query to run well) and also because it's fascinating.

Have you increased geqo_threshold and join_collapse_limit from the defaults?

pgsql-performance by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Understanding bad estimate (related to FKs?)
Next
From: Tomas Vondra
Date:
Subject: Re: Understanding bad estimate (related to FKs?)