Re: runtime timings psql vs pgadmin

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: runtime timings psql vs pgadmin
Дата
Msg-id 4CD022F2.8070504@lelarge.info
обсуждение исходный текст
Ответ на runtime timings psql vs pgadmin  ("Erik Rijkers" <er@xs4all.nl>)
Список 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.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


В списке pgadmin-support по дате отправления:

Предыдущее
От: "Erik Rijkers"
Дата:
Сообщение: runtime timings psql vs pgadmin
Следующее
От: Robert Galeano Fernandez
Дата:
Сообщение: quejas