Re: Bad Plan for Questionnaire-Type Query

From: Tom Lane
Subject: Re: Bad Plan for Questionnaire-Type Query
Date: ,
Msg-id: 21238.1241834448@sss.pgh.pa.us
(view: Whole thread, Raw)
In response to: Bad Plan for Questionnaire-Type Query  (David Blewett)
Responses: Re: Bad Plan for Questionnaire-Type Query  (David Blewett)
List: pgsql-performance

Tree view

Bad Plan for Questionnaire-Type Query  (David Blewett, )
 Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
  Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
   Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
    Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
     Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
      Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
 Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
  Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
   Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
    Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
    Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
     Re: Bad Plan for Questionnaire-Type Query  (Tom Lane, )
      Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
       Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
        Re: Bad Plan for Questionnaire-Type Query  (Josh Berkus, )
         Re: Bad Plan for Questionnaire-Type Query  (David Blewett, )
          Re: Bad Plan for Questionnaire-Type Query  (Robert Haas, )

David Blewett <> writes:
> Apparently there was a typo in the query that I didn't notice that
> excluded that table's columns. Here is the new output including it:
> http://pastesite.com/7017

Thanks.  Could I trouble you for one other data point --- about how many
rows are in each of these tables?

            regards, tom lane


pgsql-performance by date:

From: Tom Lane
Date:
Subject: Re: Bad Plan for Questionnaire-Type Query
From: Laurent Wandrebeck
Date:
Subject: Re: Slow select performance despite seemingly reasonable query plan