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

From Scott Marlowe
Subject Re: Sorting performance vs. MySQL
Date
Msg-id dcc563d11002221245u36db3560t7886f3f8b0ed9735@mail.gmail.com
Whole thread Raw
In response to Re: Sorting performance vs. MySQL  (Yang Zhang <yanghatespam@gmail.com>)
Responses Re: Sorting performance vs. MySQL  (Yang Zhang <yanghatespam@gmail.com>)
List pgsql-general
On Mon, Feb 22, 2010 at 12:53 PM, Yang Zhang <yanghatespam@gmail.com> wrote:
> On Mon, Feb 22, 2010 at 2:52 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
>> On Mon, Feb 22, 2010 at 11:10 AM, Yang Zhang <yanghatespam@gmail.com> wrote:
>>> I have the exact same table of data in both MySQL and Postgresql. In Postgresql:
>>
>> Just wondering, are these on the same exact machine?
>>
>
> Yes, on the same disk.

I'm wondering how much of this could be caching effects.  Is the MySQL
database "warmed up" before you started, and the pgsql database is
"cold" and no caching has taken place?

What do things like vmstat 10 say while the query is running on each
db?  First time, second time, things like that.

Also, just curios, what's shared_buffers set to on the pgsql instance?

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sorting performance vs. MySQL
Next
From: Yang Zhang
Date:
Subject: Re: Sorting performance vs. MySQL