Re: Bad Plan for Questionnaire-Type Query - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Bad Plan for Questionnaire-Type Query
Date
Msg-id 4A29AB1C.5080907@agliodbs.com
Whole thread Raw
In response to Re: Bad Plan for Questionnaire-Type Query  (David Blewett <david@dawninglight.net>)
Responses Re: Bad Plan for Questionnaire-Type Query
List pgsql-performance
David,

My first thought would be to increase statistics dramatically on the
filtered columns in hopes of making PG realize there's a lot of rows
there; it's off by 8x.  Correlations stats are an ongoing issue in
PostgreSQL.


--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com

pgsql-performance by date:

Previous
From: David Blewett
Date:
Subject: Re: Bad Plan for Questionnaire-Type Query
Next
From: David Blewett
Date:
Subject: Re: Bad Plan for Questionnaire-Type Query