Re: Bad performance in bulky updates - Mailing list pgsql-general

From Tom Lane
Subject Re: Bad performance in bulky updates
Date
Msg-id 22327.1162260151@sss.pgh.pa.us
Whole thread Raw
In response to Bad performance in bulky updates  ("Carlos H. Reimer" <carlos.reimer@opendb.com.br>)
List pgsql-general
"Carlos H. Reimer" <carlos.reimer@opendb.com.br> writes:
> When one of the biggest tables has all lines updated for example, it takes
> at about 30 minutes for processing. If we drop all indexes (21) and let only
> the primary index the same update takes 2 minutes.

21 indexes??

If update performance is important then you should try to economize on
indexes.  Do you have evidence that each of those indexes is worth its
update costs?

            regards, tom lane

pgsql-general by date:

Previous
From: "Carlos H. Reimer"
Date:
Subject: Bad performance in bulky updates
Next
From: Richard Broersma Jr
Date:
Subject: Re: postgresql books and convertion utilities