>>>>> "RR" == Raymond Raymond <[EMAIL PROTECTED]> writes:

    RR> Last time when I discussed the automatic checkpointing issue
    RR> with you and Mike, I suggested that maybe we can establish a
    RR> dirty page list in wich dirty pages are sorted in ascending
    RR> order of the time when they were firt updated. I don't mean we
    RR> need to copy the whole page to the list just some
    RR> identification of the page that can make us find the
    RR> corresponding page later.When pages are fist updated, it will
    RR> be linked to the list and when it is flushed out to disk, it
    RR> will be released from the link. In this way, the oldest dirty
    RR> pages will be in the head and the lastest will be in the
    RR> tail. When we do checkpointing, we scan form the head to the
    RR> end of the list. I think that will guarantee the oldest dirty
    RR> pages are written in a checkpoint.

Sounds like a good idea.

-- 
Øystein

Reply via email to