Re: Plans for solving the VACUUM problem - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Plans for solving the VACUUM problem
Date
Msg-id 3B049F5A.8714C713@tm.ee
Whole thread Raw
In response to Plans for solving the VACUUM problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Plans for solving the VACUUM problem
Next
From: Hiroshi Inoue
Date:
Subject: Re: Plans for solving the VACUUM problem