Re: Does PostgreSQL check database integrity at startup?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: David Steele <david(at)pgmasters(dot)net>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Edson Carlos Ericksson Richter <richter(at)simkorp(dot)com(dot)br>, Martin Marques <martin(dot)marques(at)2ndquadrant(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does PostgreSQL check database integrity at startup?
Date: 2017-12-26 21:58:47
Message-ID: 20171226215847.7elei2bexrfin2rs@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Steele wrote:

> pgBackRest will validate all page checksums (including indexes, etc.) in the
> cluster during backup. Full backups check everything, incr/differential
> backups check only the files that have changed.

If a table or index file is of zero length when backed up, as in the
described case, nothing will be checked, right? I mean, there is
nothing externally indicating that the file ought to be of a different
size. Am I wrong? So Edson's situation here would not raise any red
flags.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rob stone 2017-12-26 22:11:56 Re: Does PostgreSQL check database integrity at startup?
Previous Message David Steele 2017-12-26 21:42:38 Re: Does PostgreSQL check database integrity at startup?