I am using the community version of Neo4j 3.1.1. I am trying to get approximately 80 million records from db via python using the official supported python driver. The Python script works with localhost, that is, on the same computer as Neo4j, and not through the network. Access to Neo4j works fine until it reaches the end:
result = session.run("match (n:Label) return n.Property as property")
property_list = [record["property"] for record in result]
The assembly property_listis essentially not performed using the error operator:
File "...\neo4j\bolt\connection.py", line 124, in fill raise ServiceUnavailable("Failed to read from connection %r" % (self.address,))
neo4j.bolt.connection.ServiceUnavailable: Failed to read from connection Address(host='127.0.0.1', port=7687)
The same code works absolutely fine when you select a smaller data set, thus collecting a smaller list.
Now I wonder:
- Is it possible to open a bolt session?
- Do I have to configure / configure the Neo4j server in a specific way to enable such transactions?
- Or is there a magical βthird wayβ to do this?