From: Tomasz Myrta <jasiek@klaster.net>
To: Rigmor Ukuhe <rigmor.ukuhe@finestmedia.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: "Overlaping" indexes
Date: Mon, 02 Feb 2004 16:05:57 +0100
Message-ID: <401E6755.7050806@klaster.net> (raw)
In-Reply-To: <OEEHLFAIJHHMABJPIANICEBOCIAA.rigmor.ukuhe@finestmedia.com>
References: <OEEHLFAIJHHMABJPIANICEBOCIAA.rigmor.ukuhe@finestmedia.com>
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
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: jasiek@klaster.net, rigmor.ukuhe@finestmedia.com
Subject: Re: "Overlaping" indexes
In-Reply-To: <401E6755.7050806@klaster.net>
* 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