Re: Abnormal performance difference between Postgres and MySQL

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Farhan Husain <russoue(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Abnormal performance difference between Postgres and MySQL
Date: 2009-02-23 23:27:18
Message-ID: 87eixozqcp.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Farhan Husain <russoue(at)gmail(dot)com> writes:

> I can provide any other information needed and also the data if anyone
> wants.

What did the query plans look like in both databases?

In Postgres you can get the query plan with

EXPLAIN ANALYZE select ...

You can leave out the ANALYZE if you can't wait until the query completes but
it will have much less information to diagnosis any problems.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's Slony Replication support!

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2009-02-23 23:27:52 Re: Abnormal performance difference between Postgres and MySQL
Previous Message Farhan Husain 2009-02-23 23:16:22 Abnormal performance difference between Postgres and MySQL