On Tue, Oct 6, 2009 at 5:24 PM, Dan Kegel <d...@kegel.com> wrote:
> 1) zfs was right: checksums are a good idea.  Can we add them to sqlite?

I believe so, but I'm still working through the details.  And by
"working" I mean "thinking".  The challenge is in finding places to
tuck things away where they won't break compatibility.  I _think_ we
could tuck page-level checksums into unused space w/in the page (and
arrange for unused space to exist).  Then row-level checksums to
handle overflow pages (which I don't think allow the same unused-space
trick).  I haven't dug in to figure out the free list.

Note, though, that checksums only get you so far, the real challenge
might be in finding all the places to check the checksums.  Checking
them at read time is unsatisfactory, given this research!

-scott

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to