Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 2559 invoked from network); 24 Apr 2008 10:26:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2008 10:26:52 -0000 Received: (qmail 34676 invoked by uid 500); 24 Apr 2008 10:26:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 34656 invoked by uid 500); 24 Apr 2008 10:26:52 -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 34645 invoked by uid 99); 24 Apr 2008 10:26:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 03:26:52 -0700 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 stefan.guggisberg@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 10:26:08 +0000 Received: by wa-out-1112.google.com with SMTP id m34so5431607wag.9 for ; Thu, 24 Apr 2008 03:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=EZMnKG91yKIupa/0SoLD2J8NvjQnJS1vN7VrsjQOWIU=; b=fROMPviJpkvDNFxYBTNJLsYBSID9yTJrA6U1ahDT2AG2BZ88BZ6q1iwRyx/xm2JUvmrdCwHBcVOy16ne0UxLHNAXf8fkT1mufXNmD4mcLLr2sDnOjffSdkb0e2VLLKsre9p3c5yBrmmDhp9ipPkJFHqea4wOC+uIjCFbEO9tP/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Y5ldkp7r+Wne5b9rebEm7tbSkLk3MB1fRE6+Pyu+z8KCEGXPuzhJ3t6691Ir7X5IXgcPb0UAhVB+HtsdRozYoYUS4orl/L+XeD1AP8SAmxJO4XuRS/GHU0PxoQEAUSJ/sVanR34g/WbYiEAX6IvW6XSy1IFcaXOf6dzllWsrN9c= Received: by 10.114.181.1 with SMTP id d1mr1480355waf.171.1209032779949; Thu, 24 Apr 2008 03:26:19 -0700 (PDT) Received: by 10.114.191.8 with HTTP; Thu, 24 Apr 2008 03:26:19 -0700 (PDT) Message-ID: <90a8d1c00804240326g55b73e75pae797034604aff9c@mail.gmail.com> Date: Thu, 24 Apr 2008 12:26:19 +0200 From: "Stefan Guggisberg" Reply-To: stefan.guggisberg@day.com Sender: stefan.guggisberg@gmail.com To: users@jackrabbit.apache.org Subject: Re: Database backed repositories In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: d39e8c2fa55e3950 X-Virus-Checked: Checked by ClamAV on apache.org hi jared On Wed, Apr 23, 2008 at 6:14 PM, Jared Graber wrote: > I'm trying to find some best practices for repository configuration: > > > > I need my data (nodes, properties, ,etc) to be stored in a DB so > obviously I would use a database persistence manager. > > Does it matter if I use a local file system or db file system? What > gets stored in the "filesystem"? repository content (i.e. nodes & properties) are persisted through the PersistenceManager abstraction. repository 'meta data' and configurations (e.g. registered namespaces, custom node type definitions, locks, workspace configurations) are persisted through the FileSystem abstraction. the only notable exception is the lucene index which is always persisted in the local file system (for performance reasons and since it's recoverable). WRT to using DbFileSystem: pro: if you configure jackrabbit to store everything in a single db you can backup an entire repository easily. con: since config files etc are stored in the db it's not that easy anymore to manipulate/edit them (should you ever need to do so ;) hope this helps stefan > > > > What are the pros and cons of the different approaches? > > > > The wiki says: > > If you want to store your data in a RDBMS, use > BundleDbPersistenceManager > + either > LocalFileSystem or DbFileSystem. > > > > But doesn't mention when to use LocalFileSystem vs DbFileSystem. > >