jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Question about LocalFileSystem and DataStore (File and DB)
Date Mon, 31 Aug 2009 14:45:13 GMT
Hi,

Please read here: http://wiki.apache.org/jackrabbit/DataStore

Regards,
Thomas

On Mon, Aug 31, 2009 at 4:42 PM, freak182<eman.nollase@gmail.com> wrote:
>
> Hello,
>
> One thing i notice on FileDataStore even if i perform delete in my
> application the files are still there in repository/datastore
> directory...does datastore behaves like that, you can only add entry? never
> delete?
>
>
> Alexander Klimetschek wrote:
>>
>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Question-about-LocalFileSystem-and-DataStore-%28File-and-DB%29-tp25223633p25224674.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message