Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Gustav Novotný
Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
November 23, 2012 6:52 AM
Answer

Gustav Novotný

Rank: New Member

Posts: 10

Join Date: January 24, 2012

Recent Posts

Hello,
we want to provide Liferay CE 6.1.1 in a cluster. Because all cluster nodes must access to one shared Document Library Storage (DLStore), we decided to use a database for this.
Now the question is which type of DLStorage (which use a database) is now recomended to use in 6.1.1, because it seems there are some changes from previous versions. So which of these two options is recommended for production?

1) com.liferay.portlet.documentlibrary.store.JCRStore
Until 6.1 this seems to be the most frequently used DB solution: JCRStore with Jackrabbit configured to a databaze access (for example with o.a.j.c.data.db.DbDataStore, o.a.j.c.fs.db.DbFileSystem and o.a.j.c.persistence.db.SimpleDbPersistenceManager)

2) com.liferay.portlet.documentlibrary.store.DBStore
Since Liferay 6.1.1 new DBStore is implemented, but we can hardly find any documentation for this. Especially information about detailed settings of DBStore such as:
- Is this new DBStore already stable and if so, is this the best way to store data in database?
- Where the database for DBStore is located?
- If DBStore database is located together with main Liferay Database, how can I set separate location for tables with big blob data?
- Is it possible to set some other tunable parameters for DBStore?
- How can I migrate data from default FileSystemStore in document_library folder into DBStore?
- How can I migrate default /document_library/0/0 tree (where dataRepositoryId=0 and folderId=0) where files uploaded via structures as journal content is stored?

I've found some issue on liferay jira (http://issues.liferay.com/browse/LPS-25313) about supported DLStore, where use of DBStore is recomended, because JCRStore will be deprecated, but nothing more about the new DBStore possibility.

I'd really appreciate any info about this or any documentation links (not much found in liferay.com resources).

Thanks a lot,
Gustav Novotny
Hitoshi Ozawa
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
November 24, 2012 4:31 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

because JCRStore will be deprecated


It's deprecated in 6.1. It's no longer in portal.properties.
Riccardo Ferrari
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
November 27, 2012 4:04 AM
Answer

Riccardo Ferrari

Rank: Regular Member

Posts: 137

Join Date: November 13, 2010

Recent Posts

Hi,

Are there any reason to not go for the AdvancedFileSystemHook with data stored on a proper network shared storage?

Regards,
Riccardo
Denis Signoretto
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
January 23, 2013 12:35 AM
Answer

Denis Signoretto

Rank: Expert

Posts: 311

Join Date: April 21, 2009

Recent Posts

Hi Gustav,

I'm interested on the same topic. I'was lookign at related documentation that still include JCR usage and configutation and do not include any reference to DBStore. Did you experienced on it?

Thanks,
Denis.