|
|
Subscribe / Log in / New account

Haas: DO or UNDO - there is no VACUUM

Haas: DO or UNDO - there is no VACUUM

[Development] Posted Jan 30, 2018 17:53 UTC (Tue) by corbet

PostgreSQL developer Robert Haas describes a new storage module that is under development. "We are working to build a new table storage format for PostgreSQL, which we’re calling zheap. In a zheap, whenever possible, we handle an UPDATE by moving the old row version to an undo log, and putting the new row version in the place previously occupied by the old one. If the transaction aborts, we retrieve the old row version from undo and put it back in the original location; if a concurrent transaction needs to see the old row version, it can find it in undo. [...] This means that there is no need for VACUUM, or any similar process, to scan the table looking for dead rows."

Comments (3 posted)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds