Re: Inserts or Updates

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Ofer Israeli" <oferi(at)checkpoint(dot)com>, "Andy Colson" <andy(at)squeakycode(dot)net>
Cc: "Netta Kabala" <nettak(at)checkpoint(dot)com>, "Olga Vingurt" <olgavi(at)checkpoint(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Inserts or Updates
Date: 2012-02-07 19:40:41
Message-ID: 4F3129D90200002500044F85@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Andy Colson <andy(at)squeakycode(dot)net> wrote:

> Wow, so out of 46 columns, half of them have indexes? That's a
> lot. I'd bet you could drop a bunch of them. You should review
> them and see if they are actually helping you. You already found
> out that maintain all those indexes is painful. If they are not
> speeding up your SELECT's by a huge amount, you should drop them.

You might want to review usage counts in pg_stat_user_indexes.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Andy Colson 2012-02-07 19:43:13 Re: Inserts or Updates
Previous Message Andy Colson 2012-02-07 19:30:06 Re: Inserts or Updates