migrating from Azure Cosmos DB Gremlin to another Gremlin platform such as Google BigTable

Has anyone tried, or have any idea if something like this is possible, thinking about potentially changing cloud providers and wanted to see if it was possible to keep all of the queries in gremlin but move the data. It looks like Google Big Table shows how the JanusGraph data is stored in the table, but I can't seem to find such documentation on Microsoft's side.
4 Replies
Bo
Bo16mo ago
It looks like Google Big Table shows how the JanusGraph data is stored in the table, but I can't seem to find such documentation on Microsoft's side
That's probably because JanusGraph is open-sourced, while CosmosDB isn't. Btw, you cannot just migrate the data from CosmosDB to BigTable and have the data magically understandable by JanusGraph. You would need to ingest the data to JanusGraph from scratch (using standard gremlin write APIs).
davydabeast
davydabeast16mo ago
Yes, I understand that you would have to write a script to read from cosmos and write to big table, but once you do that the original queries won't have to be changed because its the same query language as long as the data was copied over the same?
spmallette
spmallette16mo ago
i would expect the queries to not have to change assuming you kept the same structure. of course, JanusGraph has full support of the Gremlin language so you may want to make changes to your queries. you may have had to write some queries suboptimally for cosmosdb which you may want to improve.
davydabeast
davydabeast16mo ago
That’s a good call out thank you for that!
Want results from more Discord servers?
Add your server