Recovering stat file from crash

Started by Marek Kulikabout 4 years ago1 messageshackers
Jump to latest
#1Marek Kulik
mkulik@redhat.com

Hi,

I created a .patch that will allow me to recover the stat files after a
potential crash.
Depending on the traffic on the server some records might be lost (0.5 sec
of records / more or less ? ).
From what I read it is still better than no stat files at all.

I restricted it to the default recovery scenario only
(RECOVERY_TARGET_TIMELINE_LATEST) to avoid having invalid stats files with
other recovery options.

Am I missing something ? File integrity should be fine because of renaming.

Attachments:

postgresql-stats.patchtext/x-patch; charset=US-ASCII; name=postgresql-stats.patchDownload+62-2