Re: Pre-allocated free space for row updating - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Pre-allocated free space for row updating
Date
Msg-id 1125470473.4010.447.camel@localhost.localdomain
Whole thread Raw
In response to Re: Pre-allocated free space for row updating (like PCTFREE)  (Satoshi Nagayasu <nagayasus@nttdata.co.jp>)
Responses Re: Pre-allocated free space for row updating (like PCTFREE)  (Satoshi Nagayasu <nagayasus@nttdata.co.jp>)
List pgsql-hackers
On Wed, 2005-08-31 at 08:32 +0900, Satoshi Nagayasu wrote:
> Simon Riggs wrote:
> > The summary was:
> > 
> > 1. Have a PCTFREE column added on a table by table basis
> 
> I think a good place to keep PCTFREE value is a new column
> in the pg_class, and ALTER TABLE should be able to change this value.

Agreed

> > 2. Apply PCTFREE for Inserts only
> > 3. Allow Updates to use the full space in the block.
> 
> 4. Allow to repair fragmentation in each page.
> 
> Because updates cause fragmentation in the page.
> 
> So we need to keep large continuous free space in each page,
> if we want to get more effective on PCTFREE feature.

...doesn't VACUUM already do that?

Anyway, if the setting is for each specific table then the performance
benefit is very clear.

Best Regards, Simon Riggs




pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: statement logging / extended query protocol issues
Next
From: rm_pg@cheapcomplexdevices.com
Date:
Subject: ERROR: bogus varno: 1 with 8.1beta and postgis 1.0.3