From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Edson Carlos Ericksson Richter <richter(at)simkorp(dot)com(dot)br>, pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Does PostgreSQL check database integrity at startup? |
Date: | 2017-12-27 16:47:46 |
Message-ID: | 20171227164746.hnoqqxefp5abzjwz@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Stephen Frost wrote:
> * Edson Carlos Ericksson Richter (richter(at)simkorp(dot)com(dot)br) wrote:
> > Anyway, instead digging into rsync functionality (or bugs - I doubt,
> > but who knows?), I do prefer to have a script I can run to check if
> > there is obvious failures in standby servers.
>
> As mentioned, zero-byte files can be perfectly valid. PostgreSQL does
> have page-level CRCs, if you initialized your database with them (which
> I would strongly recommend).
Page-level checksums would not detect the problem being complained in
this thread, however.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-12-27 17:02:13 | Re: Does PostgreSQL check database integrity at startup? |
Previous Message | Mike Feld | 2017-12-27 15:23:21 | Re: psycopg2 and java gssapi questions |