Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 41172 invoked from network); 1 Sep 2009 22:17:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 22:17:43 -0000 Received: (qmail 46382 invoked by uid 500); 1 Sep 2009 22:17:42 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 46368 invoked by uid 500); 1 Sep 2009 22:17:42 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 46342 invoked by uid 99); 1 Sep 2009 22:17:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 22:17:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.183 as permitted sender) Received: from [207.126.148.183] (HELO eu3sys201aog003.obsmtp.com) (207.126.148.183) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Sep 2009 22:17:33 +0000 Received: from source ([72.14.220.159]) by eu3sys201aob003.postini.com ([207.126.154.11]) with SMTP ID DSNKSp2dZmvYu8th8F3jHeMti1S60g0q0N46@postini.com; Tue, 01 Sep 2009 22:17:12 UTC Received: by fg-out-1718.google.com with SMTP id 22so229088fge.7 for ; Tue, 01 Sep 2009 15:17:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.86.158.29 with SMTP id g29mr1870201fge.4.1251843430198; Tue, 01 Sep 2009 15:17:10 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Sep 2009 00:17:10 +0200 Message-ID: Subject: Re: Calculate total disk usage by workspace From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 1, 2009 at 10:40 PM, Michael Shoener wrote: > We are currently evaluating the Jackrabbit content repository and are > wondering if there is any easy way to determine disk usage on a per > workspace basis? This is hard to do for the generic case. It will be simple if you use a "simple" configuration that stores everything inside a workspace directory (embedded db persistence manager, no datastore, standard search index, no clustering), as you could simple measure that directory. For the other cases, here are some things to note from the top of my head: - persistence is configuration dependent - database persistence manager could connect to a remote db, making counting local disk space hard - a datastore (if used) can share binaries, even between workspaces and/or repositories - clustering adds (small) additional data through its journal Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com