Re: Short row header - Mailing list pgsql-performance

From Gregory Stark
Subject Re: Short row header
Date
Msg-id 87tzt3f11w.fsf@oxford.xeocode.com
Whole thread Raw
In response to Short row header  (PFC <lists@peufeu.com>)
List pgsql-performance
"PFC" <lists@peufeu.com> writes:

>     I have this "poll results" table with just 3 integer fields, which is
> never updated, only inserted/deleted...
>     Did the Devs consider an option to have VACUUM reduce the row header
> sizes for tuples that are long commited and are currently visible to all
> transactions ? (even if this makes the tuples non-updateable, as long as  they
> can be deleted, it would be OK for this type of tables).

It wouldn't actually speed up anything unless the space it frees up was then
used by something. That would mean loading one of your polls into the small
bits of space freed up in every page. For most tables like this you want to do
large bulk loads and want your loads stored quickly in contiguous space so it
can be accessed quickly, not spread throughout the table.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Short row header
Next
From: "Sergey Konoplev"
Date:
Subject: cached entities