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

From Achilleas Mantzios
Subject Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date
Msg-id 201101141749.31711.achill@matrix.gatewaynet.com
Whole thread Raw
In response to Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
Στις Friday 14 January 2011 16:41:18 γράψατε:
> Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:
>
> > and NOT EXISTS
> >    (SELECT distinct mold.id from marinerstates
>
> Does that do better if you leave out the DISTINCT keyword?  Maybe
> use * instead of the column name?

Its already really fast, it doesn't matter. Anyways just tried without the distinct
...NOT EXISTS (SELECT 1 from ...
and its the same speed. The other form (NOT IN) is the problem.

>
> -Kevin
>



--
Achilleas Mantzios

pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Next
From: Achilleas Mantzios
Date:
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time