Re: Same-page UPDATEs in bloated tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Ian Dowse <iedowse(at)iedowse(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Same-page UPDATEs in bloated tables
Date: 2006-10-15 19:20:26
Message-ID: 24849.1160940026@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Using the same page for an updated tuple is generally a useful
> optimization, so I don't think you have much hopes for having it
> disabled.

Especially not since there's no very reasonable way for anything as
low-level as heap_update to know that "the table is way beyond its
nominal size". What's nominal size anyway?

Actually, the recent thinking in this area has been to try to *increase*
the usage of same-page UPDATE, so as to prevent table bloat in the first
place ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2006-10-15 21:04:56 Re: Data visibility
Previous Message Tom Lane 2006-10-15 19:15:50 Re: Data visibility