PostgreSQL MVCC 2017-05-16 database InternalsMySQL通过undo log记录uncommitted changes,与此不同,PostgreSQL store all row versions in table data structure. 每个row有2个隐藏字段 Tmin insert时的trx id Tmax delete时的trx id INSERT DELETE DELETE操作并不会马上物理删除,而是VACUUM进程调度进行purge UPDATE Newer scalability papers Older VNC protocol