←back to thread

366 points virtualwhys | 1 comments | | HN request time: 0s | source
Show context
globular-toast ◴[] No.41897284[source]
The article says the benefit of O2N is there's no need to immediately update indexes, but then goes on to say postgres updates the indexes anyway! So is there actually any advantage to O2N at all?
replies(2): >>41897608 #>>41897609 #
1. apavlo ◴[] No.41897608[source]
If all table pages exist in memory and you are using cooperative GC, then O2N can be preferable. As workers scan version chains, they can clean up dead tuples without taking additional locks.

This is what Microsoft Hekaton does.