pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Jones <TJones@optio.com>
To: pgsql-performance@postgresql.org
Subject: strange query behavior
Date: Wed, 13 Dec 2006 13:42:20 -0500
Message-ID: <47668A1334CDBF46927C1A0DFEB223D39F79A5@mail.optiosoftware.com> (raw)

Hi,

  I have a query that uses an IN clause and it seems in perform great
when there is more than two values in it but if there is only one it is
really slow. Also if I change the query to use an = instead of IN in the
case of only one value it is still slow. Possibly I need to reindex this
particular index?

thanks 

Tim Jones
Healthcare Project Manager
Optio Software, Inc.
(770) 576-3555




view thread (14+ messages)  latest in thread

Message-ID: <47668A1334CDBF46927C1A0DFEB223D39F79A5@mail.optiosoftware.com>
Permalink:  ../47668A1334CDBF46927C1A0DFEB223D39F79A5@mail.optiosoftware.com/
Also on:    postgresql.org/message-id/47668A1334CDBF46927C1A0DFEB223D39F79A5@mail.optiosoftware.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: TJones@optio.com
  Subject: Re: strange query behavior
  In-Reply-To: <47668A1334CDBF46927C1A0DFEB223D39F79A5@mail.optiosoftware.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