Re: Sorting performance vs. MySQL

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Frank Heikens <frankheikens(at)mac(dot)com>
Cc: Yang Zhang <yanghatespam(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting performance vs. MySQL
Date: 2010-02-22 18:30:00
Message-ID: 396486431002221030o74166784wf06bf0e909a29496@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Feb 22, 2010 at 10:17 AM, Frank Heikens <frankheikens(at)mac(dot)com> wrote:

> There is no index on the column transactionid in your PostgreSQL-table, as
> there is in your MySQL-table. This explains the difference.
>
> CREATE INDEX i_transactionid ON public.metarelcloud_transactionlog
> (transactionid);

Does an index help a sort operation in PostgreSQL?

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yang Zhang 2010-02-22 18:35:23 Re: Sorting performance vs. MySQL
Previous Message Raymond O'Donnell 2010-02-22 18:25:07 Re: Complex SELECT Statement help needed