Re: indices - Mailing list pgsql-general

From Doug McNaught
Subject Re: indices
Date
Msg-id m3g034tpfe.fsf@varsoon.denali.to
Whole thread Raw
In response to indices  ("David Blood" <david@matraex.com>)
List pgsql-general
"David Blood" <david@matraex.com> writes:

> Is there a point where there are too many indices or does postgres just
> chose out of all the indices on a table the one that matches the queries
> needs the best?

It does choose, but each index adds overhead on inserts and updates
(since the indexes have to be updated when the table is) so having
indexes that you don't need will slow you down.

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: vacuum with perl dbi / pg 7.1.3
Next
From: Darren Ferguson
Date:
Subject: Re: Last Insert