Re: query optimization - mysql vs postgresql - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: query optimization - mysql vs postgresql
Date
Msg-id 20060519200057.GD4444@surnet.cl
Whole thread Raw
In response to Re: query optimization - mysql vs postgresql  (Warren Little <warren.little@meridiascapital.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Simon Riggs
Date:
Subject: Re: does wal archiving block the current client connection?
Next
From: "Ben K."
Date:
Subject: Re: lock a database from new connections, without modifying