Re: [GENERAL] Undetected corruption of table files

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: [GENERAL] Undetected corruption of table files
Дата
Msg-id 46D804CB.5020807@Yahoo.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Undetected corruption of table files  ("Albe Laurenz" <all@adv.magwien.gv.at>)
Список pgsql-hackers
On 8/28/2007 4:14 AM, Albe Laurenz wrote:
> Not all databases are on enterprise scale storage systems, and
> there's also the small possibility of PostgreSQL bugs that could
> be detected that way.

Computing a checksum just before writing the block will NOT detect any 
faulty memory or Postgres bug that corrupted the block. You will have a 
perfectly fine checksum over the corrupted data.

A checksum only detects corruptions that happen between write and read. 
Most data corruptions that happen during that time however lead to some 
sort of read error reported by the disk.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Performing antijoin in postgres
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: [GENERAL] Undetected corruption of table files