RE: Re: CRC - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: Re: CRC
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D31F0@sectorbase1.sectorbase.com
Whole thread Raw
Responses Re: Re: CRC  (Bruce Guenter <bruceg@em.ca>)
List pgsql-hackers
> One thing we should look at before going with a 64-bit method is the
> extra storage space for the larger checksum.  We can clearly afford
> an extra 32 bits for a checksum on an 8K disk page, but if Vadim is
> envisioning checksumming each individual XLOG record then the extra
> space is more annoying.

We need in checksum for each record. But there is no problem with
64bit CRC: log record header is 8byte aligned, so CRC addition
will add 8bytes to header anyway. Is there any CRC64 code?

Vadim


pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: Is VACUUM still crash-safe?
Next
From: Adriaan Joubert
Date:
Subject: Re: RFC C++ Interface