Re: CRCs (was Re: [GENERAL] Re: Loading optimization)
От | Bruce Momjian |
---|---|
Тема | Re: CRCs (was Re: [GENERAL] Re: Loading optimization) |
Дата | |
Msg-id | 200101120539.AAA29985@candle.pha.pa.us обсуждение исходный текст |
Ответ на | CRCs (was Re: [GENERAL] Re: Loading optimization) (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: CRCs (was Re: [GENERAL] Re: Loading optimization)
|
Список | pgsql-hackers |
> "Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes: > >> Actually, I'd expect the CRC check to catch an all-zeroes page (if > >> it fails to complain, then you misimplemented the CRC), so that would > >> be the place to deal with it now. > > > I've used standard CRC32 implementation you pointed me to -:) > > But CRC is used in WAL records only. > > Oh. I thought we'd agreed that a CRC on each stored disk block would > be a good idea as well. I take it you didn't do that. No, I thought we agreed disk block CRC was way overkill. If the CRC on the WAL log checks for errors that are not checked anywhere else, then fine, but I thought disk CRC would just duplicate the I/O subsystem/disk checks. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: