Re: Query optimization problem

From: Richard Huxton <dev(at)archonet(dot)com>
To: Peter <peter(at)greatnowhere(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Query optimization problem
Date: 2007-02-02 13:22:29
Message-ID: 45C33B15.9030907@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-02-02 13:25:52 Re: database backup trouble
Previous Message Richard Huxton 2007-02-02 13:21:01 Re: Backup ?