| Multi-version Concurrency Control (cont)
Removing old versions:
When to make this check? Vj and Vk are versions of same item
 WTS(Vj) and WTS(Vk) precede TS(Ti) for all Ti
 remove version with smaller WTS(Vx) value
 
PostgreSQL uses the latter (vacuum). every time a new version of a data item is added?
 periodically, with fast access to blocks of data
 |