jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Question about LocalFileSystem and DataStore (File and DB)
Date Mon, 31 Aug 2009 14:01:36 GMT
On Mon, Aug 31, 2009 at 3:34 PM, freak182<eman.nollase@gmail.com> wrote:
>                <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager"
> />

A database based bundle persistence manager is recommended, as the
filesystem ones (eg. BundleFsPersistenceManager) are prone to
inconsistencies as they are not transactional. For embedded scenarios
without an existing (remote) database, the Derby bundle PM is useful.

> 1. Do still need a DataSore? what DataStore i use for production?

A datastore is optional. See [1] to [3].

> 2. what is the difference between a DataStore and FileSystem?

Also see the links.

> 3. what is the best combination of DataStore and PM for production use? and
> for clustering?

Bundle database PMs are good, and the FileDataStore is good for
performance. If you must have everything in the database, a db
datastore might be better.

> side question:
> 4. How to configure DatabaseFileSystem?

Configuration of repository.xml elements are described on the
configuration page [1] and in more detail in the javadocs of the
class, eg. for the DbFileSystem it's [4].

[1] http://jackrabbit.apache.org/jackrabbit-configuration.html
[2] http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ
[3] http://wiki.apache.org/jackrabbit/DataStore
[4] http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/fs/db/DbFileSystem.html

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message