Re: runtime timings psql vs pgadmin

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: runtime timings psql vs pgadmin
Date: 2010-11-02 14:40:50
Message-ID: 4CD022F2.8070504@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Le 02/11/2010 07:20, Erik Rijkers a écrit :
> When comparing runtimes (via the last line of EXPLAIN ANALYZE output) of a particular query, I
> notice that pgadmin consistently reports a smaller value than psql does.
>
> The 8.4.4 db server is Centos 5.2.
>
> The (windows) pgadmin session is connected via an ssh tunnel to the db server.
> The psql session is a screen'ed ssh xterm session on the db server (via cygwin).
>
> psql reports:
> Total runtime: 13.451 ms
>
> pgadmin reports:
> Total runtime: 5.375 ms
>
> This difference is consistent and repeatable.
>
> Is this difference expected?

Nope.

> Could someone explain it?

Nope. You should try psql with the same connection (ssh tunnel from the
same computer).

On the pgAdmin part, the ouput from EXPLAIN ANALYZE is not modified.
It's exactly what the PostgreSQL server sent to pgAdmin.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Robert Galeano Fernandez 2010-11-03 18:08:30 quejas
Previous Message Erik Rijkers 2010-11-02 14:20:14 runtime timings psql vs pgadmin