Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62006 invoked from network); 23 Mar 2006 18:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Mar 2006 18:19:43 -0000 Received: (qmail 26522 invoked by uid 500); 23 Mar 2006 18:19:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 26483 invoked by uid 500); 23 Mar 2006 18:19:41 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 26474 invoked by uid 99); 23 Mar 2006 18:19:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 10:19:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of suresh.thalamati@gmail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO zproxy.gmail.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 10:19:40 -0800 Received: by zproxy.gmail.com with SMTP id 13so537953nzn for ; Thu, 23 Mar 2006 10:19:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=DgxGgdxKzy36/oU+5UpQE9/oUMBAVbHqJ5FFaF2OfJWejl/81uWn9uf7KJiC+IIlU32blDUtC0aSNeyuieimrLfVVmrHOgWRTBqpS7rxDpq/Dr3zEG4/leyz2PzQO84DZaqLQn0UG+Jo00+EhH2uD4M609nZCrl15fDTwuhPdMA= Received: by 10.65.74.19 with SMTP id b19mr1887072qbl; Thu, 23 Mar 2006 10:19:19 -0800 (PST) Received: from ?192.168.1.100? ( [71.132.203.72]) by mx.gmail.com with ESMTP id e11sm160065qbc.2006.03.23.10.19.19; Thu, 23 Mar 2006 10:19:19 -0800 (PST) Message-ID: <4422E6A4.8060002@gmail.com> Date: Thu, 23 Mar 2006 10:19:16 -0800 From: Suresh Thalamati User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: What difference between containCache and pageCache? 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 Container cache is used to keep track of the open containers (table/indexes). An item in this cache is considered is dirty , if the container header is modified or a dirty page from the cache is written to the container file. At checkpoint, page cache cleaning make sure all dirty pages in the page cache are written to the disk and the container cache cleaning will write the header and sync the container file if it is a dirty container. Thanks -suresh Raymond Raymond wrote: > Thanks for your answer. I am looking at the code about checkpoint. > I found, in checkpoint, both of containerCache and pageCache will > dump dirty pages. As your answer, does it mean the dirty pages in > containerCache indicate updates on tables or indexes, and the dirty > pages in pageCache indicate updates on rows? Am I right? > > Thanks. > > Raymond > > >> From: Bryan Pendleton >> >> Raymond Raymond wrote: >> >>> I found these two kinds of cache manager in the source >>> code. I am not sure what difference between containerCache >>> and pageCache? >> >> >> A container is an aggregate object like a table or an index. >> >> A page is a hunk of bytes inside a container, used for storing rows. >> >> Does that help? >> >> thanks, >> >> bryan >> > > _________________________________________________________________ > Powerful Parental Controls Let your child discover the best the Internet > has to offer. > 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*. > >