Re: Is disableing nested_loops a bad idea ?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Franck Routier" <franck(dot)routier(at)axege(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Is disableing nested_loops a bad idea ?
Date: 2010-09-16 13:49:58
Message-ID: 4C91DA360200002500035839@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Franck Routier <franck(dot)routier(at)axege(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Franck Routier 2010-09-16 14:13:06 Re: Is disableing nested_loops a bad idea ?
Previous Message Samuel Gendler 2010-09-16 09:55:55 Re: Is disableing nested_loops a bad idea ?