pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date: Fri, 14 Jan 2011 08:41:18 -0600
Message-ID: <4D300C2E0200002500039569@gw.wicourts.gov> (raw)
In-Reply-To: <201101141553.38236.achill@matrix.gatewaynet.com>
References: <201101111753.22602.achill@matrix.gatewaynet.com>
	<27365.1294850720@sss.pgh.pa.us>
	<201101131613.23428.achill@matrix.gatewaynet.com>
	<201101141553.38236.achill@matrix.gatewaynet.com>

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?
 
-Kevin



view thread (25+ messages)  latest in thread

Message-ID: <4D300C2E0200002500039569@gw.wicourts.gov>
Permalink:  ../4D300C2E0200002500039569@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4D300C2E0200002500039569@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, achill@matrix.gatewaynet.com
  Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
  In-Reply-To: <4D300C2E0200002500039569@gw.wicourts.gov>
  References: <201101111753.22602.achill@matrix.gatewaynet.com> <27365.1294850720@sss.pgh.pa.us> <201101131613.23428.achill@matrix.gatewaynet.com> <201101141553.38236.achill@matrix.gatewaynet.com> <4D300C2E0200002500039569@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox