Re: Sorting performance vs. MySQL - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Sorting performance vs. MySQL
Date
Msg-id 20100222190343.GG4629@alvh.no-ip.org
Whole thread Raw
In response to Sorting performance vs. MySQL  (Yang Zhang <yanghatespam@gmail.com>)
Responses Re: Sorting performance vs. MySQL  (Yang Zhang <yanghatespam@gmail.com>)
List pgsql-general
Yang Zhang escribió:

> I'm running:
>
>   select * from metarelcloud_transactionlog order by transactionid;
>
> It takes MySQL 6 minutes, but Postgresql is still running after 70
> minutes. Is there something like a glaring misconfiguration that I'm
> overlooking? Thanks in advance.

How large is the table, and have you vacuumed it?  Did you analyze it?
What Pg version is this?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Sorting performance vs. MySQL
Next
From: Yang Zhang
Date:
Subject: Re: Sorting performance vs. MySQL