Skip site navigation (1) Skip section navigation (2)

Re: Bad Plan for Questionnaire-Type Query

From: David Blewett <david(at)dawninglight(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Bad Plan for Questionnaire-Type Query
Date: 2009-05-07 22:41:16
Message-ID: 9d1f8d830905071541q5692015ax785c5052737bb587@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
On Thu, May 7, 2009 at 4:31 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> as few as ten rows out, it'd likely switch to a different plan.  So the
> So the question to ask is why the rowcount estimates are so abysmally bad.
> You mentioned having tried to increase the stats targets, but without
> seeing the actual stats data it's hard to speculate about this.

How do I get that data for you?

David

In response to

Responses

pgsql-performance by date

Next:From: Tom LaneDate: 2009-05-07 22:44:13
Subject: Re: Bad Plan for Questionnaire-Type Query
Previous:From: Viktor RosenfeldDate: 2009-05-07 22:38:58
Subject: Indexes not used in DELETE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group