Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9691591C5 for ; Tue, 14 Feb 2012 16:31:55 +0000 (UTC) Received: (qmail 31640 invoked by uid 500); 14 Feb 2012 16:31:55 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 31610 invoked by uid 500); 14 Feb 2012 16:31:55 -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 31602 invoked by uid 99); 14 Feb 2012 16:31:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 16:31:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.94.237.86] (HELO nm30-vm0.access.bullet.mail.mud.yahoo.com) (66.94.237.86) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Feb 2012 16:31:46 +0000 Received: from [66.94.237.196] by nm30.access.bullet.mail.mud.yahoo.com with NNFMP; 14 Feb 2012 16:31:24 -0000 Received: from [66.94.237.116] by tm7.access.bullet.mail.mud.yahoo.com with NNFMP; 14 Feb 2012 16:31:24 -0000 Received: from [127.0.0.1] by omp1021.access.mail.mud.yahoo.com with NNFMP; 14 Feb 2012 16:31:24 -0000 X-Yahoo-Newman-Id: 864516.83405.bm@omp1021.access.mail.mud.yahoo.com Received: (qmail 83988 invoked from network); 14 Feb 2012 16:31:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ycFdYAr143vljJ4DWhOK4uVeR0KpL7vkbJOR28pB3nWMVyMjRwdMlXio1m68G72Bq6ejPF3pZStI4PqvATKiy9fuLNY9j108v0C4/luZBkSIPLbj+P7VN2roxfCuwxYIXCitY3qz4VPhJK8JA2OSqe9R4psHw9fPKVxnGRnOMmE= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1329237084; bh=ydpT5UdT8ahFOO+u+IVl++VFuiT4gVjWmK4gsJ/FWdY=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RVvcVpaPMQaF6r2aW6QcTH1NA2DOWW1Im35DZYq8jxIh6py/l74mZLRhfCWzGFpsBDVumZdpCcNDOGITJfqA9sYtvwLSkny5WQ0aRE4Q6AxinBlWUTAooBYJkiVRgNBB4MAst5fZBbI/go657qcWYQifQRGyAgapKMO2sTG5yw4= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _LrBt_QVM1m90MpGYw8twQejQCZZ9zae25DHDcq3aG_1w9I QBGi7yVa5g6OA1FaAD1P.nEF18mq43z1YXDEuP6AyejLrGXpI6zIPjQp9Z7b bUcNn6vQtyOuZ615ykS2SJ6sGOZCerMe7cxW0N1O_gVMXeWr4bcrctnxVBJQ AZua1mHLeGGmVX4WYhFUhc9NRIzyqmcCcytWlGXq4jg0x5FHtmcL.OouCHNc 01C.DvriGAZp_zZtM2He9_7ixaTyTj6athlHoKgPuIFfw.zTHObv7VzfxxSJ xzPoO8nssuLfd6Pg5p9H562pcg5ni.VZcSjAiLosNx72FiNTkIypJTWdeWPA REX2Q7oXrVxtLXJS5_LeDYwPyRrlBaeyPKATlluQuJnZtZqMr3Lb7ceE0a2l X6qm3uQNV.2zLE3dAqUr0TvGvWTPa7KGp6sT2bqg932GpjBpzS_f5Swapoby q5JNXQACh0wf1kzdOLcTr3TMm03jMhM7y860WwvbM5qSB5xnEiQzaEQGryZX 02jMmCeFgK3I9ral3tXdLgryqJbJy2eX4 X-Yahoo-SMTP: 0mCmWXSswBCWOCMKYdwRsTx1yUFXw1u4Y1Itob3JXDF8Loh0 Received: from [192.168.1.104] (mikem_app@71.131.179.89 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 14 Feb 2012 08:31:24 -0800 PST Message-ID: <4F3A8C58.9010909@sbcglobal.net> Date: Tue, 14 Feb 2012 08:31:20 -0800 From: Mike Matrigali User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Derby Discussion Subject: Re: CALL SYSCS_UTIL.SYSCS_COMPRESS_TABLE References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Adriano Oliveira wrote: > Hi, > > Could you please help me with compress? > > Why i aways got an StackOverflowError exception when i try to run CALL > SYSCS_UTIL.SYSCS_COMPRESS_TABLE() ? > > I have about 8 tables (consuming 3Gb of disk space) and compress never > got success to compress all of then, I'm using the java application > CompressAll listed in this > wiki http://wiki.apache.org/db-derby/DatabaseConsistencyCheck > > Thans, > --Adriano > > > Java exception: ': java.lang.StackOverflowError'. > Causado por: StackOverflowError > ------------------------------------------------------------------------------------------------ > java.lang.RuntimeException: Java exception: ': > java.lang.StackOverflowError'. > at > ... removed stack > Could you post a full copy of the derby.log containing the error. Sometimes that log has more information, or previous info in it is useful. Best case would be to log a JIRA as Bryan suggests and put all info into it. as a workaround you might try doing one table at a time and committing, then going on to the next table. It should be easy to alter the example java code, let us know if you need help with that. This may also reduce the total amount of disk space needed for the operation. This operation basically creates a new table and indexes and it can not remove the files associated with the old tables and indexes until a commit happens. Also is it at all possible that you are doing other work in the same transaction? The DropOnCommit calls are going to come 1 for each associated object that has a file in derby. This will include 1 for each table, index, constraint, and foreign key. You say you have about 8 tables, do you have an unusual number of objects associated with these tables? Without a repro it is hard to say what is going on. If I had the db first thing I would try to see if the problem still exists if there is not data in the tables, to see if the problem is related to size of tables, or to ddl of the the tables. My first question would be if the drop on commit calls are just too many, or if there is a buggy loop somewhere.