You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by GUNACKER Simon <sg...@EUROFUNK.COM> on 2010/01/19 16:24:18 UTC
where does jackrabbit store it's data?
hello there,
I'm new to jackrabbit and it's philosophy.
I have installed it, I populated it with some data but there is one
point I am missing:
Where does jackrabbit actually store it's data?
Is it 100% database or partly filesystem / what's the difference to
using a 100% database solution?
Please give me an idea on what this is all about.
thanks,
Simon
Re: where does jackrabbit store it's data?
Posted by Thomas Müller <th...@day.com>.
Hi,
> are there any recommendations on how to store the data?
> If yes, why? What are the advantages of having a almost 100% database storage?
> What are the advantages of storing anything into filesystem or why does it make sense to mix it?
See http://wiki.apache.org/jackrabbit/DataStore#File_Data_Store "It is
usually faster than the DbDataStore, and the preferred choice unless
you have strict operational reasons to put everything into a database.
"
Regards,
Thomas
AW: where does jackrabbit store it's data?
Posted by GUNACKER Simon <sg...@EUROFUNK.COM>.
Thank you Thomas,
are there any recommendations on how to store the data?
If yes, why? What are the advantages of having a almost 100% database storage?
What are the advantages of storing anything into filesystem or why does it make sense to mix it?
Regards, simon
> -----Ursprüngliche Nachricht-----
> Von: Thomas Müller [mailto:thomas.mueller@day.com]
> Gesendet: Dienstag, 19. Jänner 2010 17:16
> An: users@jackrabbit.apache.org
> Cc: bdelacretaz@apache.org
> Betreff: Re: where does jackrabbit store it's data?
>
> Hi,
>
> Jackrabbit can store (almost) everything in a database,
> everything on
> the file system, or a mix. It's can't store the Lucene
> index in a
> database. See also:
> http://wiki.apache.org/jackrabbit/ConfigurationOverview
>
> Regards,
> Thomas
>
>
> On Tue, Jan 19, 2010 at 5:09 PM, GUNACKER Simon
> <sg...@eurofunk.com> wrote:
> > hello Bertrand,
> >
> > thank you for your fast reply.
> >
> > The reason why I am asking is because we have been
> using oracle's content db till now.
> > It stores everything In database; binaries are stored
> as BLOB's.
> >
> > I recently found jackrabbit and I was quite amazed.
> > But my supervisor was asking me about how jackrabbit
> saves it's data.
> > I think he really likes everything being stored in
> database and he wanted to know
> > where jackrabbit stores its content.
> >
> > I said: I don't know - I think it's a mixture between
> database and filesystem and he asked
> > me about the advantages of this way.
> >
> > So, Bertrand what you are actually saying is that I
> could actually use any storage I like serving as
> backend?!
> > Am I understanding you correct that nodes and
> properties are stored in some database but file content
> is stored in filesystem?
> > Am I able to configure jackrabbit to store everything
> at one place?!
> >
> > Regards,
> > Simon
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: Bertrand Delacretaz
> >> [mailto:bdelacretaz@apache.org]
> >> Gesendet: Dienstag, 19. Jänner 2010 16:43
> >> An: users@jackrabbit.apache.org
> >> Betreff: Re: where does jackrabbit store it's data?
> >>
> >> Hi,
> >>
> >> On Tue, Jan 19, 2010 at 4:24 PM, GUNACKER Simon
> >> <sg...@eurofunk.com> wrote:
> >> > ...Where does jackrabbit actually store it's
> data?...
> >>
> >> Data storage is handled by persistence managers (for
> >> the nodes and
> >> properties) and if enabled by a file-based DataStore
> >> for large
> >> binaries. By default (IIRC) the standalone webapp's
> >> persistence
> >> manager is configured to use the Derby embedded
> >> database for storage.
> >> Other persistence managers are file-based, but
> anyway
> >> the storage
> >> mechanism isn't visible, nor relevant, from the JCR
> >> API's point of
> >> view.
> >>
> >> See "persistence managers" in
> >> http://jackrabbit.apache.org/frequently-asked-
> >> questions.html, and
> >> (optionally)
> >> http://wiki.apache.org/jackrabbit/DataStore
> >>
> >> > ...what's the difference to
> >> > using a 100% database solution?...
> >>
> >> In short, the JCR API provides high-level
> functionality
> >> for content
> >> management that relational databases don't. The
> >> http://wiki.apache.org/jackrabbit/JcrLinks page
> >> provides links to a
> >> series of articles that might be useful.
> >>
> >> -Bertrand
> >>
> >
> >
Re: where does jackrabbit store it's data?
Posted by Thomas Müller <th...@day.com>.
Hi,
Jackrabbit can store (almost) everything in a database, everything on
the file system, or a mix. It's can't store the Lucene index in a
database. See also:
http://wiki.apache.org/jackrabbit/ConfigurationOverview
Regards,
Thomas
On Tue, Jan 19, 2010 at 5:09 PM, GUNACKER Simon <sg...@eurofunk.com> wrote:
> hello Bertrand,
>
> thank you for your fast reply.
>
> The reason why I am asking is because we have been using oracle's content db till now.
> It stores everything In database; binaries are stored as BLOB's.
>
> I recently found jackrabbit and I was quite amazed.
> But my supervisor was asking me about how jackrabbit saves it's data.
> I think he really likes everything being stored in database and he wanted to know
> where jackrabbit stores its content.
>
> I said: I don't know - I think it’s a mixture between database and filesystem and he asked
> me about the advantages of this way.
>
> So, Bertrand what you are actually saying is that I could actually use any storage I like serving as backend?!
> Am I understanding you correct that nodes and properties are stored in some database but file content is stored in filesystem?
> Am I able to configure jackrabbit to store everything at one place?!
>
> Regards,
> Simon
>
>> -----Ursprüngliche Nachricht-----
>> Von: Bertrand Delacretaz
>> [mailto:bdelacretaz@apache.org]
>> Gesendet: Dienstag, 19. Jänner 2010 16:43
>> An: users@jackrabbit.apache.org
>> Betreff: Re: where does jackrabbit store it's data?
>>
>> Hi,
>>
>> On Tue, Jan 19, 2010 at 4:24 PM, GUNACKER Simon
>> <sg...@eurofunk.com> wrote:
>> > ...Where does jackrabbit actually store it's data?...
>>
>> Data storage is handled by persistence managers (for
>> the nodes and
>> properties) and if enabled by a file-based DataStore
>> for large
>> binaries. By default (IIRC) the standalone webapp's
>> persistence
>> manager is configured to use the Derby embedded
>> database for storage.
>> Other persistence managers are file-based, but anyway
>> the storage
>> mechanism isn't visible, nor relevant, from the JCR
>> API's point of
>> view.
>>
>> See "persistence managers" in
>> http://jackrabbit.apache.org/frequently-asked-
>> questions.html, and
>> (optionally)
>> http://wiki.apache.org/jackrabbit/DataStore
>>
>> > ...what's the difference to
>> > using a 100% database solution?...
>>
>> In short, the JCR API provides high-level functionality
>> for content
>> management that relational databases don't. The
>> http://wiki.apache.org/jackrabbit/JcrLinks page
>> provides links to a
>> series of articles that might be useful.
>>
>> -Bertrand
>>
>
>
AW: where does jackrabbit store it's data?
Posted by GUNACKER Simon <sg...@EUROFUNK.COM>.
hello Bertrand,
thank you for your fast reply.
The reason why I am asking is because we have been using oracle's content db till now.
It stores everything In database; binaries are stored as BLOB's.
I recently found jackrabbit and I was quite amazed.
But my supervisor was asking me about how jackrabbit saves it's data.
I think he really likes everything being stored in database and he wanted to know
where jackrabbit stores its content.
I said: I don't know - I think it’s a mixture between database and filesystem and he asked
me about the advantages of this way.
So, Bertrand what you are actually saying is that I could actually use any storage I like serving as backend?!
Am I understanding you correct that nodes and properties are stored in some database but file content is stored in filesystem?
Am I able to configure jackrabbit to store everything at one place?!
Regards,
Simon
> -----Ursprüngliche Nachricht-----
> Von: Bertrand Delacretaz
> [mailto:bdelacretaz@apache.org]
> Gesendet: Dienstag, 19. Jänner 2010 16:43
> An: users@jackrabbit.apache.org
> Betreff: Re: where does jackrabbit store it's data?
>
> Hi,
>
> On Tue, Jan 19, 2010 at 4:24 PM, GUNACKER Simon
> <sg...@eurofunk.com> wrote:
> > ...Where does jackrabbit actually store it's data?...
>
> Data storage is handled by persistence managers (for
> the nodes and
> properties) and if enabled by a file-based DataStore
> for large
> binaries. By default (IIRC) the standalone webapp's
> persistence
> manager is configured to use the Derby embedded
> database for storage.
> Other persistence managers are file-based, but anyway
> the storage
> mechanism isn't visible, nor relevant, from the JCR
> API's point of
> view.
>
> See "persistence managers" in
> http://jackrabbit.apache.org/frequently-asked-
> questions.html, and
> (optionally)
> http://wiki.apache.org/jackrabbit/DataStore
>
> > ...what's the difference to
> > using a 100% database solution?...
>
> In short, the JCR API provides high-level functionality
> for content
> management that relational databases don't. The
> http://wiki.apache.org/jackrabbit/JcrLinks page
> provides links to a
> series of articles that might be useful.
>
> -Bertrand
>
Re: where does jackrabbit store it's data?
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Tue, Jan 19, 2010 at 4:24 PM, GUNACKER Simon <sg...@eurofunk.com> wrote:
> ...Where does jackrabbit actually store it's data?...
Data storage is handled by persistence managers (for the nodes and
properties) and if enabled by a file-based DataStore for large
binaries. By default (IIRC) the standalone webapp's persistence
manager is configured to use the Derby embedded database for storage.
Other persistence managers are file-based, but anyway the storage
mechanism isn't visible, nor relevant, from the JCR API's point of
view.
See "persistence managers" in
http://jackrabbit.apache.org/frequently-asked-questions.html, and
(optionally) http://wiki.apache.org/jackrabbit/DataStore
> ...what's the difference to
> using a 100% database solution?...
In short, the JCR API provides high-level functionality for content
management that relational databases don't. The
http://wiki.apache.org/jackrabbit/JcrLinks page provides links to a
series of articles that might be useful.
-Bertrand