Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Achilleas Mantzios" <achill(at)matrix(dot)gatewaynet(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date: 2011-01-14 20:06:56
Message-ID: 4D30588002000025000395E7@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2011-01-14 20:32:15 Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Previous Message tjf@ocsystems.com 2011-01-14 16:40:33 postgres user not hidden on 64-bit windows7