Search Postgresql Archives

Re: Performance cost of a sort-merge join

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 22, 2010 at 12:10 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> I've left it running over night. By
>> comparison, a "select * from metarelcloud_transactionlog order by
>> transactionid" takes on the order of seconds/minutes (at least in
>> MySQL).
>
> That's got approximately nothing to do with this query.

Isn't that exactly what the leaf sorts are doing? By comparison,
"select * from metarelcloud_transactionlog order by transactionid"
takes much, much longer in PG (it's been running for 68 minutes now,
and still going, whereas MySQL took 6 minutes).
--
Yang Zhang
http://www.mit.edu/~y_z/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux