Re: Why Performance of SQL Query is *much* Slower in GUI PgAdmin

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Yan Cheng CHEOK <yccheok(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Why Performance of SQL Query is *much* Slower in GUI PgAdmin
Date: 2010-05-17 09:31:01
Message-ID: AANLkTikY5PBYjUabDezUxT415iWzUgxepCzMiLCnQ5CP@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 17, 2010 at 12:02 AM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> On Sun, May 16, 2010 at 7:21 PM, Yan Cheng CHEOK <yccheok(at)yahoo(dot)com> wrote:
>> Recently, I try to introduce my friend to use PostgreSQL.
>>
>> However, he first impression is that. PostgreSQL is much slower compared to MySQL. He realize he has to wait for 7 seconds, to create a tmp database.
>>
>> He run a command through pgadmin GUI.
>>
>> "CREATE DATABASE TMP;"
>>
>> I try to run through command prompt instead. It tooks 2 seconds.
>
> Maybe he's running an older version that hasn't had create db
> optimized?

Just to point out, there was a discussion I can't find right now about
fsync and create database optimization earlier this year. Apparently
grouping everything together resulted in a big performance gain for
create database. So it really is likely that a different version
could be much slower. However, if you're both hitting the same db,
then the slowness is in the gui tool, not pgsql.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message seiliki 2010-05-17 09:53:25 Getting reference key elements in right orders
Previous Message Thomas Kellerer 2010-05-17 09:19:12 Re: Why Performance of SQL Query is *much* Slower in GUI PgAdmin