Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 15514 invoked from network); 22 Aug 2005 19:46:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2005 19:46:48 -0000 Received: (qmail 40443 invoked by uid 500); 22 Aug 2005 19:46:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40408 invoked by uid 500); 22 Aug 2005 19:46:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 40395 invoked by uid 99); 22 Aug 2005 19:46:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 12:46:46 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.144] (HELO e4.ny.us.ibm.com) (32.97.182.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 12:47:03 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j7MJkec0019419 for ; Mon, 22 Aug 2005 15:46:41 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7MJkePr293942 for ; Mon, 22 Aug 2005 15:46:40 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j7MJkeYK024190 for ; Mon, 22 Aug 2005 15:46:40 -0400 Received: from [127.0.0.1] (sig-9-48-122-145.mts.ibm.com [9.48.122.145]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j7MJkd0Z024160 for ; Mon, 22 Aug 2005 15:46:39 -0400 Message-ID: <430A2B9B.2010109@sbcglobal.net> Date: Mon, 22 Aug 2005 12:46:35 -0700 From: Mike Matrigali User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: Can anyone give me some suggestions? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ok, just to be clear Derby checkpoints are already asynchronous. The one synchrounous point is that while a page is being written no update that exact page can be happening. Updates to all other pages in the database may be going on concurrently with this operation. So unless you are worried about concurrency on the single page, I believe Derby checkpoints already do what you describe. In the case of Derby the list is the numerical order list of buffers in the cache, and is always traversed in order. The checkpoint is done by a background thread asynchronous to other user threads. Raymond Raymond wrote: > > >> From: Mike Matrigali >> Reply-To: "Derby Development" >> >> Could you define "fuzzy" checkpoint or site what update interference >> you are trying to avoid. >> > > Fuzzy checkpointing means checkpoints are asynchronous and occur ant the > same time as new database updates are being made. The general actions > in a fuzzy checkpoint are: > 1. Force log buffer to disk from memory. > 2. To check if there are any buffer still on the checkpoint list form > the previous checkpoint. > If there are any, then write them out to disk.(the list is supposed > to be empty under > some control). > 3. All dirty buffers will be listed in the current checkpoint list. > 4. Gather other useful information. > Once these actions have done, the remainder of the checkpoint can also > proceed in > parallel with future database updates. e.t.: a write process will > examine the checkpoint > list periodically, write some of the buffers on the list to disk and > remove thme from the > list.Under some controls, it is supposed that the list will be empty > just befor the next > checkpoint is taken. > > Those are just the general processes of fuzzy checkpointing. I think we > can use some > technic to make it works more efficient. That is what I am trying to > do.^_^. > Anyone has some ideas about that? > > > > > Raymond > > _________________________________________________________________ > Scan and help eliminate destructive viruses from your inbound and > outbound e-mail and attachments. > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines > Start enjoying all the benefits of MSN� Premium right now and get the > first two months FREE*. > > >