Re: Slow Query- Bad Row Estimate - Mailing list pgsql-performance

From Tom Lane
Subject Re: Slow Query- Bad Row Estimate
Date
Msg-id 9823.1288389007@sss.pgh.pa.us
Whole thread Raw
In response to Re: Slow Query- Bad Row Estimate  ("Ozer, Pam" <pozer@automotive.com>)
List pgsql-performance
"Ozer, Pam" <pozer@automotive.com> writes:
> I am not sure what you mean by reformulate the data representation.  Do
> you mean do I have to join on all three columns?

No, I was wondering if you could change things so that you join on just
one column, instead of two that each tell part of the truth.

BTW, did you check your current statistics target?  If it's small
then raising it might possibly fix the problem by itself.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Ozer, Pam"
Date:
Subject: Re: Slow Query- Bad Row Estimate
Next
From: Josh Berkus
Date:
Subject: Re: Slow Query- Bad Row Estimate