Re: Plans for solving the VACUUM problem

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Plans for solving the VACUUM problem
Date: 2001-05-18 04:04:42
Message-ID: 3B049F5A.8714C713@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
>>
> Enough handwaving, what about specifics?
>
> 1. Forget moving tuples from one page to another. Doing that in a
> transaction-safe way is hugely expensive and complicated. Lazy VACUUM
> will only delete dead tuples and coalesce the free space thus made
> available within each page of a relation.

If we really need to move a tuple we can do it by a regular update that
SET-s nothing and just copies the tuple to another page inside a
separate
transaction.

-------------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2001-05-18 04:36:36 Re: Re: Plans for solving the VACUUM problem
Previous Message Hannu Krosing 2001-05-18 03:50:40 Re: Re: Plans for solving the VACUUM problem