Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 13325 invoked from network); 29 Nov 2005 15:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 15:29:50 -0000 Received: (qmail 21042 invoked by uid 500); 29 Nov 2005 15:29:36 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 20954 invoked by uid 500); 29 Nov 2005 15:29:35 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 20924 invoked by uid 99); 29 Nov 2005 15:29:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:29:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [130.225.24.87] (HELO luna.statsbiblioteket.dk) (130.225.24.87) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:31:04 -0800 Received: from pc977.sb.statsbiblioteket.dk (pc977.sb.statsbiblioteket.dk [130.225.25.195]) by luna.statsbiblioteket.dk (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0IQQ00BGY30NGD@luna.statsbiblioteket.dk> for derby-user@db.apache.org; Tue, 29 Nov 2005 16:29:11 +0100 (MET) Date: Tue, 29 Nov 2005 16:29:11 +0100 From: Lars Clausen Subject: Re: Workarounds for too many open files? In-reply-to: <200511280817.21648.msegel@segel.com> To: Derby Discussion Message-id: <1133278151.31586.422.camel@pc977.sb.statsbiblioteket.dk> Organization: Statsbiblioteket MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-17) Content-type: text/plain Content-transfer-encoding: 7BIT References: <1132906493.13290.122.camel@pc977.sb.statsbiblioteket.dk> <1133172624.31586.33.camel@pc977.sb.statsbiblioteket.dk> <200511280817.21648.msegel@segel.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, 2005-11-28 at 15:17, Michael Segel wrote: > On Monday 28 November 2005 04:10, Lars Clausen wrote: > > I guess anyone who's going to try and create a 100GB database will also run in > to this problem. (Remember the discussions on scalability?) > > Since I haven't seen the code on how Derby stores data to the disk, why so > many files per index? > > A possible, but ugly work around is to create the index as you load the table. > (Ugly in that you'll take a performance hit. However, this should work.) That's what I did first, later I split it into two to see why it crashed. -Lars