Page 1 of 1

Datastore/Index/Cache Purpose & Changing Folder Locations

PostPosted:Sat Jun 18, 2016 11:45 am
by Wraith
Hi All,

I'm investigating setting up OpenKM to run from a FreeNAS server.

Currently I have only the datastore, index and Cache folders on the server with OpenKM installed on my local machine. As I look at setting it up on the server, the following queries have come to mind and I struggle to find answers on the 'net:

* What is the purpose of the Cache, Index and Datastore folders? I can easily determine that the Datastore folder is the location where documents are saved. The others?

* As I notice these can be manually changed, are there locations where performance would be improved without affecting the operation of the EDRM? e.g. would it be preferable to have the cache on a local SSD drive rather than from the server?

* If I'm able to get OpenKM running as a service within a FreeNAS jail, would pointing the jail to the current Cache, Index & Datastore folders automatically pick up all the files and settings? Or are these saved somewhere else?

Thanks in advance

Re: Datastore/Index/Cache Purpose & Changing Folder Locations

PostPosted:Tue Jun 21, 2016 5:24 pm
by jllort
When you preview a document, usually we transform to intermidiate format -> PDF and them we use it for previewing. This convertion can take a lot of time and hardware resources, for it we have a cache folder with the documents converted in another formats.

About index is lucene search engine folder.

Better SSD on database, really the I/O of cache folder etc... is smaller rather than database transactions. Lucene index could be a good place for SSD too. Usually for datastore and cache is not necessary.

About getting OpenKM in a NAS, take in mind networking speed is important in this scenario. Bad connection with shared networking folders will cause sure bad performance. A good scenario is a SAN.

Re: Datastore/Index/Cache Purpose & Changing Folder Locations

PostPosted:Tue Jun 21, 2016 10:16 pm
by Wraith
Hi Jllort,

Appreciate your response.

I've been able to successfully get OpenKM running on the FREENAS system and accessible through my home network. A little more tweaking and hopefully I'll get the script for graceful shut down and start up implemented as well.

I'm finding that the pdf2swf conversion is rather responsive. In addition, I've had my wife streaming movies whilst I've been using OpenKM without any noticeable degradation in performance. Either I've got a healthy CPU/disk setup or the swftools program doesn't use that much overhead [or both!]

Performance isn't so much of an issue for me [and, so far, the performance is good!]. What's more valuable is the redundancy that the mirrored drives I've placed the datastore on provides. I can't imagine my wife using the program so can't imagine one user having a significant impact on performance :)