Re: Slow Query- Bad Row Estimate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ozer, Pam" <pozer@xxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux