pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: aasat <satriani@veranet.pl>
To: pgsql-performance@postgresql.org
Subject: Re: Query completed in < 1s in PG 9.1 and ~ 700s in PG 9.2
Date: Wed, 7 Nov 2012 07:23:32 -0800 (PST)
Message-ID: <1352301811891-5731021.post@n5.nabble.com> (raw)
In-Reply-To: <509A4917.2080303@gmail.com>
References: <509944DE.6020400@gmail.com>
	<CAHyXU0ztB0e8eTidBbNXnhO6QjzaurXRGEBGbBt6P7oNY6vYcQ@mail.gmail.com>
	<5099525B.5070909@gmail.com>
	<CAHyXU0yKyz43s1GXO2QBDRwK8FeNqNAb6S0XUU66dSg+BD=xhg@mail.gmail.com>
	<50995D7C.9020108@gmail.com>
	<CAHyXU0za-G3bhpyKPUm86hW8wyoAkwXtrX8M-f0x5KhB17-L_w@mail.gmail.com>
	<509A4917.2080303@gmail.com>

Please try LIMIT 1 in exists

 exists(select id from condition_document_excerpt where
condition_id=c1686.id LIMIT 1) as v1686_has_reference



--
View this message in context: http://postgresql.1045698.n5.nabble.com/Query-completed-in-1s-in-PG-9-1-and-700s-in-PG-9-2-tp5730899...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.




view thread (26+ messages)  latest in thread

Message-ID: <1352301811891-5731021.post@n5.nabble.com>
Permalink:  ../1352301811891-5731021.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1352301811891-5731021.post@n5.nabble.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: satriani@veranet.pl
  Subject: Re: Query completed in < 1s in PG 9.1 and ~ 700s in PG 9.2
  In-Reply-To: <1352301811891-5731021.post@n5.nabble.com>

* 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