How to make sure I don't write a corrupt page to db when I checkpoint?
From: Sune <sune_ahlgren_at_hotmail.com>
Date: Sun, 01 Jul 2007 01:15:24 -0700
Message-ID: <1183277724.576790.246740_at_i38g2000prf.googlegroups.com>
Hi all!
Date: Sun, 01 Jul 2007 01:15:24 -0700
Message-ID: <1183277724.576790.246740_at_i38g2000prf.googlegroups.com>
Hi all!
I'm looking into designing an in-memory DB. Before I start, there are several things I must have figured out. Among those things is a technique to use to make sure that I don't write a corrupt page to db when I checkpoint. How do I make sure stray pointers in the application using my db (which will load into application process memory) does not damage my page(s) from the time of latest checkpoint and next checkpoint? And if it does, I don't want to flush it to disk, how do I detect a page corruption to avoid this?
1)
Am I simply being paranoid?