Re: Is the "x ms" info reliable?

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Is the "x ms" info reliable?
Дата
Msg-id CA+OCxoy1V+Jy+KqKuHkkOk+GM_cept_Qwhe5kf3QaUQGHfaFaA@mail.gmail.com
обсуждение исходный текст
Ответ на Is the "x ms" info reliable?  (hushthatbush@hushmail.com)
Ответы Re: Is the "x ms" info reliable?  (Richard D Levine <Richard_D_Levine@raytheon.com>)
Список pgadmin-support
On Sat, Jan 17, 2015 at 8:13 PM,  <hushthatbush@hushmail.com> wrote:
> In the query window's bottom-right corner, after running a query, it says
> how long it took. It's ambiguous how exactly this is is calculated. It seems
> to not take into account the lag from the slow-ass SSH tunnel.
>
> Basically, I wanna know how fast the command *actually* is. Not how long it
> took to run and then get delivered to pgAdmin via the incredibly sluggish
> SSH tunnel. The actual, in-app query is run on the same machine, and should
> be much, much faster.
>
> Is it possible to get this "real time" rather than the "pointless time"?

It's not "pointless time", it's the time taken to execute the query
and for libpq to tell pgAdmin it's done. That is typically what people
want when developing queries that are used in other apps - they need
to see how fast PostgreSQL actually executed it, but not the amount of
time taken to transfer the data to the client which can vary wildly
from client app to client app, especially if running through an SSH
tunnel.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Daniel Hahler
Дата:
Сообщение: Error when deleting multiple databases: "Maintenance database can't be dropped."
Следующее
От: Richard D Levine
Дата:
Сообщение: Re: Is the "x ms" info reliable?