cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Improve neo4j performance

bsaichaitanya
Node Link

Hi Community

We are trying to create 27 milion nodes with 20 properties using neo4j python library. In code we are creating a list of 1000  records and running the following query.

WITH [$list] as batch
UNWIND batch as individual
CREATE (p:Person)
SET p += individual

But it is taking about 40 sec to execute for only 1 batch of 1000. Is there any way we can speed this up as creating 27 milion nodes will tak a lot of time.
In conf/neo4j.conf file we provided following properties:
dbms.query_cache_size=10000
dbms.memory.heap.initial_size=2g
dbms.memory.heap.max_size=10g
dbms.memory.pagecache.size=20g
We are running neo4j on aws linux instance.

0 REPLIES 0