How to Migrate storage from JanusGraph FoundationDb to JanusGraph Apache Cassandra (cql) #3678
-
Hello, I am using FoundationDB as backend storage for JanusGraph. Currently, I am migrating to Apache Cassandra (cql). Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Unfortunately, manually copying the data will be the only way. Assuming a significant amount of data (that is the point of using JanusGraph), parallelization of the copying is a concern and it might be easier to start from the original data outside FoundationDB. Do you have any properties indexed on a mixed indexing backend that could help in leveraging property value ranges for parallelization? |
Beta Was this translation helpful? Give feedback.
-
You could replicate stores one by one through ScanJob API. This approach minimize serialization overhead and stay same all internal ids During replication master graph shouldn't be modified for consistence Sample implementation might look like this https://gist.github.com/mad/9bf87eadfe782a758b423882e3fdd3cc |
Beta Was this translation helpful? Give feedback.
Unfortunately, manually copying the data will be the only way. Assuming a significant amount of data (that is the point of using JanusGraph), parallelization of the copying is a concern and it might be easier to start from the original data outside FoundationDB. Do you have any properties indexed on a mixed indexing backend that could help in leveraging property value ranges for parallelization?