Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 59829 invoked from network); 11 Oct 2005 22:48:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2005 22:48:00 -0000 Received: (qmail 75661 invoked by uid 500); 11 Oct 2005 22:47:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 75623 invoked by uid 500); 11 Oct 2005 22:47:58 -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 75612 invoked by uid 99); 11 Oct 2005 22:47:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 15:47:58 -0700 Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.36] (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 15:48:01 -0700 Received: from phys-mpk-1 ([129.146.11.81]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j9BMlbvD022624 for ; Tue, 11 Oct 2005 16:47:37 -0600 (MDT) Received: from conversion-daemon.mpk-mail1.sfbay.sun.com by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IO700601WIM3X@mpk-mail1.sfbay.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-dev@db.apache.org; Tue, 11 Oct 2005 15:47:37 -0700 (PDT) Received: from [129.150.29.43] (vpn-129-150-29-43.SFBay.Sun.COM [129.150.29.43]) by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IO700DHVWNB1X@mpk-mail1.sfbay.sun.com> for derby-dev@db.apache.org; Tue, 11 Oct 2005 15:47:35 -0700 (PDT) Date: Tue, 11 Oct 2005 15:47:39 -0700 From: "David W. Van Couvering" Subject: Re: in-memory In-reply-to: <434C3C1A.8010306@debrunners.com> To: Derby Development Message-id: <434C410B.1090900@sun.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_vbQBJDPaT5W9tgJMHwXxJQ)" X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) References: <9f35fcc70510100738g287e6be2q798dcd660fc3f20d@mail.gmail.com> <9f35fcc70510102348w4353526docd9234d72e3f7597@mail.gmail.com> <434BD6C9.5020504@sun.com> <9f35fcc70510110907s257efef6u8c7b99bcc31c6b2f@mail.gmail.com> <434BEA46.1070706@debrunners.com> <7921d3e40510111121s43bb2da3o1b373585094aab9c@mail.gmail.com> <434C068D.2060202@sun.com> <434C3C1A.8010306@debrunners.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_vbQBJDPaT5W9tgJMHwXxJQ) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Sorry, what I should have said was that with the relaxed durability approach, we really need a mode where if there is a crash you can reboot the db in a consistent state, which as I understand it doesn't exist today. If you are a pure in-memory solution, you have automatic "consistency" because your data disappears if the VM goes down. :) David Daniel John Debrunner wrote: > David W. Van Couvering wrote: > > >>I have to agree, we need a more useful "memory-based" solution that >>guarantees consistency if not durability. > > > So just to repeat myself, the current relaxed durability matches a > memory based solution in terms of consistency, ie. no problems. > > Durability is similar for both though with the current disk-based scheme > and relaxed durability there are cases where the database will exist > after a re-boot, where with the in-memory solution the data will be gone. > > Not saying an in-memory solution might not be useful, but the relaxed > durability will give similar performance benefits since the data will be > cached in memory, either within Derby or within the OS filesystem. > > Dan. > > --Boundary_(ID_vbQBJDPaT5W9tgJMHwXxJQ) Content-type: text/x-vcard; charset=utf-8; name=david.vancouvering.vcf Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=david.vancouvering.vcf begin:vcard fn:David W Van Couvering n:Van Couvering;David W org:Sun Microsystems, Inc.;Database Technology Group email;internet:david.vancouvering@sun.com title:Senior Staff Software Engineer tel;work:510-550-6819 tel;cell:510-684-7281 x-mozilla-html:TRUE version:2.1 end:vcard --Boundary_(ID_vbQBJDPaT5W9tgJMHwXxJQ)--