'processing large data and making a graph

I am using Arangodb and I have more than 50 million nodes in my node collection and a lot more in edge collection related to that. I can not run queries since each query takes a lot of time and then it just crashes. I do not have write access to use Pregel. I have time out error whenever python-arango read the data and another the data is too large to download it in a file using the GUI. so, here are my questions :

1 - how can I read about 4 million of the data and write it to files?

2 - how can I make a graph with it? we do not have spark or hadoop and networkx for this large graph does not work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source