"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