Re: Select query takes long to execute - Mailing list pgsql-performance

From SZUCS Gábor
Subject Re: Select query takes long to execute
Date
Msg-id 001c01c32689$82da1050$0403a8c0@fejleszt4
Whole thread Raw
In response to Re: Select query takes long to execute  ("Nikolaus Dilger" <nikolaus@dilger.cc>)
Responses Table Relationships  (Jeandre du Toit <jeandre@itvs.co.za>)
Re: Select query takes long to execute  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-performance
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



pgsql-performance by date:

Previous
From: "Nikolaus Dilger"
Date:
Subject: Re: Select query takes long to execute
Next
From: Jeandre du Toit
Date:
Subject: Table Relationships