Re: Query optimization problem - Mailing list pgsql-general

From Dave Page
Subject Re: Query optimization problem
Date
Msg-id 45C34400.9070600@postgresql.org
Whole thread Raw
In response to Re: Query optimization problem  (Richard Huxton <dev@archonet.com>)
List 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 by date:

Previous
From: "John D. Burger"
Date:
Subject: Re: How to allow users to log on only from my application
Next
From: Ron Johnson
Date:
Subject: Re: database backup trouble