pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SZUCS Gábor <surrano@mailbox.hu>
To: pgsql-performance@postgresql.org
Subject: Re: Select query takes long to execute
Date: Fri, 30 May 2003 10:57:33 +0200
Message-ID: <001c01c32689$82da1050$0403a8c0@fejleszt4> (raw)
References: <20030529194451.24416.h006.c001.wm@mail.dilger.cc.criticalpath.net>

Nikolaus,

I think that shouldn't be any more effective. As I experienced, it's
irrelevant how many cols an index has as long as you only use the first
column. And, after that, if you use another column, how could a missing
second column be any better?

G.
------------------------------- cut here -------------------------------
----- Original Message ----- 
From: "Nikolaus Dilger" <nikolaus@dilger.cc>
Sent: Friday, May 30, 2003 4:44 AM


> Kevin,
>
> How about creating a new index just on column6?
> That should be much more effective than the multicolumn
> index.
>
> Regards,
> Nikolaus





view thread (6+ messages)  latest in thread

Message-ID: <001c01c32689$82da1050$0403a8c0@fejleszt4>
Permalink:  ../001c01c32689$82da1050$0403a8c0@fejleszt4/
Also on:    postgresql.org/message-id/001c01c32689$82da1050$0403a8c0@fejleszt4

 · 

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-performance@postgresql.org
  Cc: surrano@mailbox.hu
  Subject: Re: Select query takes long to execute
  In-Reply-To: <001c01c32689$82da1050$0403a8c0@fejleszt4>
  References: <20030529194451.24416.h006.c001.wm@mail.dilger.cc.criticalpath.net> <001c01c32689$82da1050$0403a8c0@fejleszt4>

* 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