Re: Query optimization problem

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Query optimization problem
Дата
Msg-id 45C34400.9070600@postgresql.org
обсуждение исходный текст
Ответ на Re: Query optimization problem  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton wrote:
> Peter wrote:
>>
>> Query returned successfully with no result in 600 ms.
>>
>> Why SELECT takes 3+ second to execute? Is it something to do with my
>> Postgres server optimization, or PgAdmin does not show correct data
>> retrieval runtime (leaks over into query runtime or something)?
>
> Data transfer and display time usually.
>
> Try SELECT count(*) FROM ... instead and see if the times are closer.
>

The display time in pgAdmin 1.6 and above is negligible (ie.
microseconds). That's why it no longer shows 2 times as previous
versions did.

Regards, Dave.

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

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: How to allow users to log on only from my application
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: database backup trouble