Re: Is disableing nested_loops a bad idea ? - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: Is disableing nested_loops a bad idea ?
Date
Msg-id 4C91DA360200002500035839@gw.wicourts.gov
Whole thread Raw
In response to Is disableing nested_loops a bad idea ?  (Franck Routier <franck.routier@axege.com>)
Responses Re: Is disableing nested_loops a bad idea ?  (Franck Routier <franck.routier@axege.com>)
List pgsql-performance
Franck Routier <franck.routier@axege.com> wrote:

> I come into cases where the planner under-estimates the number of
> rows in some relations, chooses to go for nested loops, and takes
> forever to complete the request.

People can provide more targeted assistance if you pick one of the
offenders and provide enough information for a thorough analysis.
It's at least somewhat likely that some tweaks to your configuration
or maintenance procedures could help all the queries, but starting
with just one is likely to highlight what those changes might be.

For ideas on what information to include, see this page:

http://wiki.postgresql.org/wiki/SlowQueryQuestions

-Kevin

pgsql-performance by date:

Previous
From: Samuel Gendler
Date:
Subject: Re: Is disableing nested_loops a bad idea ?
Next
From: Franck Routier
Date:
Subject: Re: Is disableing nested_loops a bad idea ?