Re: "Overlaping" indexes - Mailing list pgsql-performance

From Tomasz Myrta
Subject Re: "Overlaping" indexes
Date
Msg-id 401E6755.7050806@klaster.net
Whole thread Raw
In response to "Overlaping" indexes  ("Rigmor Ukuhe" <rigmor.ukuhe@finestmedia.com>)
Responses Re: "Overlaping" indexes  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-performance
Dnia 2004-02-02 15:46, Użytkownik Rigmor Ukuhe napisał:
> Hi,
>
> I have many indexes somehow overlaping like:
> ... btree ("STATUS", "VISIBLE", "NP_ID");
> ... btree ("STATUS", "VISIBLE");
>
> is perfomance gained by "more exact" index worth overhead with managing
> indexes.

The second (2 columns) index is useless - it's function is well done by
the first one (3 columns).

Regards,
Tomasz Myrta

pgsql-performance by date:

Previous
From: "Rigmor Ukuhe"
Date:
Subject: "Overlaping" indexes
Next
From: Josh Berkus
Date:
Subject: MySQL+InnoDB vs. PostgreSQL test?