Re: CRC was: Re: beta testing version - Mailing list pgsql-hackers

From ncm@zembu.com (Nathan Myers)
Subject Re: CRC was: Re: beta testing version
Date
Msg-id 20001207114253.Y30335@store.zembu.com
Whole thread Raw
In response to CRC was: Re: beta testing version  ("Horst Herb" <hherb@malleenet.net.au>)
List pgsql-hackers
On Thu, Dec 07, 2000 at 06:40:49PM +1100, Horst Herb wrote:
> > This may be implemented very fast (if someone points me where
> > I can find CRC func). And I could implement "physical log"
> > till next monday.
> 
> As the logging might include large data blocks, especially now that
> we can TOAST our data, I would strongly suggest to use strong hashes
> like RIPEMD or MD5 instead of CRC-32 and the like. 

Cryptographically-secure hashes are unnecessarily expensive to compute.
A simple 64-bit CRC would be of equal value, at much less expense.

Nathan Myers
ncm@zembu.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG WITH CREATE FUNCTION.......
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: beta testing version