db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein.Grov...@Sun.COM (Øystein Grøvlen)
Subject Re: Some idea about automatic checkpointing issue
Date Thu, 03 Nov 2005 13:32:04 GMT
>>>>> "RR" == Raymond Raymond <raymond_derby@hotmail.com> 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


Mime
View raw message