Re: query optimization - mysql vs postgresql

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Warren Little <warren(dot)little(at)meridiascapital(dot)com>
Cc: "Tomeh, Husam" <htomeh(at)firstam(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: query optimization - mysql vs postgresql
Date: 2006-05-19 20:00:57
Message-ID: 20060519200057.GD4444@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Magus 2006-05-19 20:03:05 postgres[xxxx]: [4-1] FATAL: role "pgsql" does not exist
Previous Message Simon Riggs 2006-05-19 16:41:40 Re: does wal archiving block the current client connection?