Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 64672 invoked from network); 21 Sep 2009 08:02:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Sep 2009 08:02:24 -0000 Received: (qmail 72702 invoked by uid 500); 21 Sep 2009 08:02:24 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 72675 invoked by uid 500); 21 Sep 2009 08:02:24 -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 72664 invoked by uid 99); 21 Sep 2009 08:02:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 08:02:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.61.69.133] (HELO watto.inubit.com) (213.61.69.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 08:02:13 +0000 Received: from localhost ([127.0.0.1]:46620) by watto.inubit.com with esmtp (Exim 4.69) (envelope-from ) id 1MpdqL-0006NQ-2M for users@jackrabbit.apache.org; Mon, 21 Sep 2009 10:01:53 +0200 X-Virus-Scanned: amavisd-new at mail.inubit.com Received: from watto.inubit.com ([127.0.0.1]) by localhost (mail.inubit.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yuOo+3e0vBlB for ; Mon, 21 Sep 2009 10:01:52 +0200 (CEST) Received: from bln-1-02.inubit.com ([213.61.69.130]:38837 helo=obelix.inubit.com) by watto.inubit.com with esmtp (Exim 4.69) (envelope-from ) id 1MpdqK-0006NL-RK for users@jackrabbit.apache.org; Mon, 21 Sep 2009 10:01:52 +0200 From: Thomas Fromm Organization: inubit AG To: users@jackrabbit.apache.org Subject: Re: FileDataStore vs DatabaseDataStore Date: Mon, 21 Sep 2009 10:01:52 +0200 User-Agent: KMail/1.8 References: <25517799.post@talk.nabble.com> <510143ac0909201441u4d3e9a20l71ce9f882f68039c@mail.gmail.com> In-Reply-To: <510143ac0909201441u4d3e9a20l71ce9f882f68039c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909211001.52452.tf@inubit.com> X-Virus-Checked: Checked by ClamAV on apache.org > > which datastore can be easily manage like backup and restore, space > > occupied and fast access? (given a same hardware specs) > > FileDataStore wins on all these counts. Backup/restore can be done by > just copying the files, and incremental backups are also possible. > Only minimal extra disk space (intermediate directories and the file > inodes) is required beyond your binary content. And you can access the > data at file system speed. You can make some snapshots with your SAN storage. But nice things like point in time recovery you have only with database ;-). Beside this the file storage is prone to JVM crashes (then you have lots of corrupt written files... often enough the storage doesn't work anymore after this happens). Because of this I recommend my customers to use a database in productive environments.