Warren Little wrote:
> Sorry,
> here are the attachments.
> Not sure about the statistics question, I have done a vacuum analyze on
> every table in the database.

The problem is that the planner is unable to appropiately order OUTER
JOINs in released versions.  In 8.2 it can do some reordering, so it
would probably come up with a better plan.  Without jumping to 8.2,
however, the best you could do is reorder the query yourself manually.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to