Skip site navigation (1) Skip section navigation (2)

Re: New CRC algorithm: Slicing by 8

From: "Zeugswetter Andreas ADI SD" <ZeugswetterA(at)spardat(dot)at>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>,"Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: "Gregory Stark" <gsstark(at)mit(dot)edu>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Gregory Maxwell" <gmaxwell(at)gmail(dot)com>,<mark(at)mark(dot)mielke(dot)cc>,"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>,"PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New CRC algorithm: Slicing by 8
Date: 2006-10-27 09:30:52
Message-ID: E1539E0ED7043848906A8FF995BDA57901726A5F@m0143.s-mxs.net (view raw or flat)
Thread:
Lists: pgsql-hackers
> > > Putting xl_prev to the end helps only for direct IO WAL sync 
> > > methods, else we would need it on every page.
> > 
> > [There is already an XLogRecPtr on each 8k page.]
> 
> Given that hardware sector size is still 512 bytes, should 
> there be a way of detecting a missing 512 byte block in the 
> middle of an 8K block.
> The idea of simply writing a serial counter every 512 bytes 
> seems to be a good way to handle that...

No, we have CRC for that. You are not supposed to turn it off
when you see a chance, that an 8k block is not whole.

Andreas

In response to

pgsql-hackers by date

Next:From: Gurjeet SinghDate: 2006-10-27 09:50:48
Subject: Re: bug in on_error_rollback !?
Previous:From: Martijn van OosterhoutDate: 2006-10-27 09:17:38
Subject: Re: New CRC algorithm: Slicing by 8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group