Re: Massive table (500M rows) update nightmare

From: Leo Mannhart <leo(dot)mannhart(at)beecom(dot)ch>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Massive table (500M rows) update nightmare
Date: 2010-01-07 15:47:10
Message-ID: 4B4601FE.5010300@beecom.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Kevin Grittner wrote:
> Leo Mannhart <leo(dot)mannhart(at)beecom(dot)ch> wrote:
>
>> You could also try to just update the whole table in one go, it is
>> probably faster than you expect.
>
> That would, of course, bloat the table and indexes horribly. One
> advantage of the incremental approach is that there is a chance for
> autovacuum or scheduled vacuums to make space available for re-use
> by subsequent updates.
>
> -Kevin
>

ouch...
thanks for correcting this.
... and forgive an old man coming from Oracle ;)

Leo

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ivan Voras 2010-01-07 15:57:18 Re: Air-traffic benchmark
Previous Message Gurgel, Flavio 2010-01-07 15:45:16 Re: Air-traffic benchmark