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

From Mikheev, Vadim
Subject RE: Plans for solving the VACUUM problem
Date
Msg-id 3705826352029646A3E91C53F7189E32016651@sectorbase2.sectorbase.com
Whole thread Raw
In response to Plans for solving the VACUUM problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> If PostgreSQL wants to stay MVCC, then we should imho forget
> "overwriting smgr" very fast.
> 
> Let me try to list the pros and cons that I can think of:
> Pro:
>     no index modification if key stays same
>     no search for free space for update (if tuple still
>         fits into page)
>     no pg_log
> Con:
>     additional IO to write "before image" to rollback segment
>         (every before image, not only first after checkpoint)
>         (also before image of every index page that is updated !)

I don't think that Oracle writes entire page as before image - just
tuple data and some control info. As for additional IO - we'll do it
anyway to remove "before image" (deleted tuple data) from data files.

Vadim


pgsql-hackers by date:

Previous
From: reina@nsi.edu (Tony Reina)
Date:
Subject: Shared memory for RH Linux 7.1
Next
From: "Oliver Elphick"
Date:
Subject: Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)