Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date
Msg-id 4D30588002000025000395E7@gw.wicourts.gov
Whole thread Raw
In response to Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-admin
Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:

> The other form (NOT IN) is the problem (in the case of
> postgresql-9.0.2).  (in 8.3 both queries are fast)

So running EXPLAIN ANALYZE for this plan on the 9.0 version checks
the time in more places than the 8.3 version.  For a plan that's an
order of magnitude slower than the plan used by the recommended
version of the query.  Have you looked at what options you have for
getting a faster clock reading on this "slower/older machine"?  Is
there something you're asking for as a change to the PostgreSQL
product?

-Kevin

pgsql-admin by date:

Previous
From: "tjf@ocsystems.com"
Date:
Subject: postgres user not hidden on 64-bit windows7
Next
From: "Kevin Grittner"
Date:
Subject: Re: Out of Memory postgres