留言板

Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1

thumbnail
Gustav Novotný,修改在11 年前。

Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1

New Member 帖子: 15 加入日期: 12-1-25 最近的帖子
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
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
because JCRStore will be deprecated


It's deprecated in 6.1. It's no longer in portal.properties.
thumbnail
Riccardo Ferrari,修改在11 年前。

RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1

Regular Member 帖子: 139 加入日期: 10-11-13 最近的帖子
Hi,

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

Regards,
Riccardo
thumbnail
Denis Signoretto,修改在11 年前。

RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
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.