cancel
Showing results for 
Search instead for 
Did you mean: 

nuxeo storage for big amount of data, on multiple disk ?

Quentin_
Champ in-the-making
Champ in-the-making

Hi,

I'd like to store million of documents, so they can't fit all on a single disk.

I read in the documentation that there is a "cluster" part in nuxeo, but it looks like only the DB is clusterised ?

Can nuxeo shard my documents accross my clusters, automatically (if a disk is full, it will go to the other cluster member etc.) ?

Thanks

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

Millions of documents can easily fit on a single disk, provided the disk is big enough. Which means that the disk is not an actual single hard drive but a storage solution like a NAS or a SAN.

You shouldn't as Nuxeo to deal with disk management, with is a pure storage issue.

Nevertheless if you really want to do it you could go have a look inside the nxserver/data/binaries/data/ directory and make the 256 first-level directories (most of which you'll have to create if your database isn't yet much filled) into symbolic links to directories mounted on other disks.

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

Millions of documents can easily fit on a single disk, provided the disk is big enough. Which means that the disk is not an actual single hard drive but a storage solution like a NAS or a SAN.

You shouldn't as Nuxeo to deal with disk management, with is a pure storage issue.

Nevertheless if you really want to do it you could go have a look inside the nxserver/data/binaries/data/ directory and make the 256 first-level directories (most of which you'll have to create if your database isn't yet much filled) into symbolic links to directories mounted on other disks.

Ok, I should have say Po of documents, but nevermind I've got my answer, it's not up to Nuxeo to solve this storage problem.

Florent_Guillau
World-Class Innovator
World-Class Innovator

Another answer is that the file-storage layer in Nuxeo is pluggable, so if you want you can implement a new one that does what you need. For instance we have a backend that stores in S3 (Amazon S3 Online Storage). You just have to implement BinaryManager and a few related classes.