Re: How to determine a database is intact?
Wes <wespvp@syntegra.com>
From: Wes <wespvp@syntegra.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tino Wildenhain <tino@wildenhain.de>, Jan Wieck <JanWieck@yahoo.com>, Richard Huxton <dev@archonet.com>, Postgres General <pgsql-general@postgresql.org>
Date: 2004-09-09T17:30:31Z
Lists: pgsql-general
On 9/9/04 11:07 AM, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote: > Believe it or not, we haven't gotten many requests for this feature, > partly because such corruption is so rare. Also, any checker isn't > going to find a change from "Baker" to "Faker" in a text field. Yep, unless you added a CRC (and accepted the performance hit) to each record the best you could do is verify that the database is consistent. That would still be quite valuable, though - all block headers are valid, indexes don't point out into oblivion, etc. I expect there are only a handful of huge databases running a heavy load - the vast majority are probably tens no larger than 10's (maybe hundreds) of megabytes, or do not experience a heavy update load? Wes