pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Dawid Kuroczko <qnex42@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL clustering VS MySQL clustering
Date: 22 Jan 2005 12:20:53 -0500
Message-ID: <87brbh753e.fsf@stark.xeocode.com> (raw)
In-Reply-To: <758d5e7f0501220518477cedfa@mail.gmail.com>
References: <41F144FE.30902@outputservices.com>
	<41F14758.4030602@outputservices.com>
	<20050122.121300.41631131.t-ishii@sra.co.jp>
	<758d5e7f050122011713f9e27f@mail.gmail.com>
	<758d5e7f0501220518477cedfa@mail.gmail.com>

Dawid Kuroczko <qnex42@gmail.com> writes:

> Quick thought -- would it be to possible to implement a 'partial VACUUM'
> per analogiam to partial indexes?

No.

But it gave me another idea. Perhaps equally infeasible, but I don't see why.

What if there were a map of modified pages. So every time any tuple was marked
deleted it could be marked in the map as modified. VACUUM would only have to
look at these pages. And if it could mark as free every tuple that was marked
as deleted then it could unmark the page.

The only downside I see is that this could be a source of contention on
multi-processor machines running lots of concurrent update/deletes.

-- 
greg




view thread (131+ messages)  latest in thread

Message-ID: <87brbh753e.fsf@stark.xeocode.com>
Permalink:  ../87brbh753e.fsf@stark.xeocode.com/
Also on:    postgresql.org/message-id/87brbh753e.fsf@stark.xeocode.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, qnex42@gmail.com
  Subject: Re: PostgreSQL clustering VS MySQL clustering
  In-Reply-To: <87brbh753e.fsf@stark.xeocode.com>

* 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