I'm currently importing nodes and relationships from different csv files with a total size of ~45GB using neo4j-admin import. In the beginning all 4 cpu cores were used but from (at least) 55% of (1/4) Node import only one core is used. It is running now for over 16 hours and is still at 60%. You can see that in the following console output:
I use Neo4j version: 3.5.2 (Neo4j Desktop Version 1.1.15).
I started the import with the following command:
./bin/neo4j-admin import \ --mode=csv \ --database=btctest.db \ --nodes $HEADERS/addresses-header.csv,$DATA/addresses.csv \ --nodes $HEADERS/blocks-header.csv,$DATA/blocks.csv \ --nodes $HEADERS/transactions-header.csv,$DATA/transactions.csv \ --relationships $HEADERS/before_rel-header.csv,$DATA/before_rel.csv \ --relationships $HEADERS/belongs_to_rel-header.csv,$DATA/belongs_to_rel.csv \ --relationships $HEADERS/receives_rel-header.csv,$DATA/receives_rel.csv \ --relationships $HEADERS/sends_rel-header.csv,$DATA/sends_rel.csv \ --ignore-missing-nodes=true \ --ignore-duplicate-nodes=true \ --multiline-fields=true \ --high-io=true
The headers are the following way (as an example I post one node header and one relationship header):
Is it normal that neo4j uses only one cpu core after a while? And is it normal that the import with the import tool takes that long? Do you have any recommendations on how to make this faster? By the way I use SSD.