> 21 июля 2020 г., в 00:36, Alvaro Herrera <alvhe...@2ndquadrant.com> > написал(а): > > >> FWIW we coped with this by actively monitoring this kind of corruption >> with this amcheck patch [0]. One can observe this lost page updates >> cheaply in indexes and act on first sight of corruption: identify >> source of the buggy behaviour. > > Right. > > I wish we had some way to better protect against this kind of problems, > but I don't have any ideas. Some things can be protected against with > checksums, but if you just lose a write, there's nothing to indicate > that. We don't have a per-page write counter, or a central repository > of per-page LSNs or checksums, and it seems very expensive to maintain > such things. If we had data checksums in another fork we could flush them on checkpoint. This checksums could protect from lost page update. And it would be much easier to maintain these checksums for SLRUs. Best regards, Andrey Borodin.
- Allow ERROR from heap_prepare_freeze_tuple to be downgra... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freeze_tuple to b... Andrey M. Borodin
- Re: Allow ERROR from heap_prepare_freeze_tuple to b... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freeze_tuple ... Alvaro Herrera
- Re: Allow ERROR from heap_prepare_freeze_tu... Andrey M. Borodin
- Re: Allow ERROR from heap_prepare_freez... Alvaro Herrera
- Re: Allow ERROR from heap_prepare_... Andrey M. Borodin
- Re: Allow ERROR from heap_prepare_freeze_tu... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freeze_tuple to b... Andres Freund
- Re: Allow ERROR from heap_prepare_freeze_tuple ... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freeze_tu... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freez... Dilip Kumar
- Re: Allow ERROR from heap_prepare_... Robert Haas
- Re: Allow ERROR from heap_prep... Dilip Kumar
- Re: Allow ERROR from heap_prepare_freeze_tuple ... Robert Haas
- Re: Allow ERROR from heap_prepare_freeze_tuple ... Robert Haas
- Re: Allow ERROR from heap_prepare_freeze_tu... Andres Freund