pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hannu Krosing <hannu@tm.ee>
Cc: jim@nasby.net
Cc: pgsql-performance@postgresql.org
Subject: Re: More tablescanning fun
Date: Fri, 25 Apr 2003 16:10:47 -0400
Message-ID: <29560.1051301447@sss.pgh.pa.us> (raw)
In-Reply-To: <1051288086.1765.95.camel@fuji.krosing.net>
References: <20030424183817.A66185@flake.decibel.org>
	<3660.1051228710@sss.pgh.pa.us>
	<20030424235924.B66185@flake.decibel.org>
	<1051288086.1765.95.camel@fuji.krosing.net>

Hannu Krosing <hannu@tm.ee> writes:
> I have been pondering if keeping pages half-empty (or even 70% empty)
> could solve both clustering problems and longish updates for much data.

You could achieve that pretty easily if you simply don't ever VACUUM
FULL ;-)

UPDATE has always (AFAIR) attempted to place the new version on the same
page as the old, moving it elsewhere only if it doesn't fit.  So that
part of the logic is already there.

> So "VACUUM FULL 65% EMPTY;" could make sense ?

Not so much that, as a parameter to CLUSTER telling it to fill pages
only x% full.

			regards, tom lane




view thread (11+ messages)  latest in thread

Message-ID: <29560.1051301447@sss.pgh.pa.us>
Permalink:  ../29560.1051301447@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29560.1051301447@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hannu@tm.ee, jim@nasby.net
  Subject: Re: More tablescanning fun
  In-Reply-To: <29560.1051301447@sss.pgh.pa.us>
  References: <20030424183817.A66185@flake.decibel.org> <3660.1051228710@sss.pgh.pa.us> <20030424235924.B66185@flake.decibel.org> <1051288086.1765.95.camel@fuji.krosing.net> <29560.1051301447@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox