Re: unclear behavior xmax/xmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

(Please don't top quote on this list, we do inline responses here)

On 2018-11-18 22:28:24 +0200, Mariel Cherkassky wrote:
> Just exploring the database and trying to understand the logic behind
> things :)
> So after a rollback why the xmax isnt changed back to 0 ? Seems like it
> should be set again to 0.

Because that'd mean that a rollback would have to re-process every page
that the transaction has touched, which'd be pretty expensive for large
transactions. And we couldn't rely on it being 0, because there's also
the case that the machine crashed.

Greetings,

Andres Freund




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux