I have a huge csv data set of ca. 7GB, which has columns of different types: string and float. So what is the super fast solution for importing it into Neo4j?
I tried also using neo4j-admin import tool, but every time I got stuck by following error:
Invoke-Neo4jAdmin : C:\\Users\\Shafigh.Neo4jDesktop\\neo4jDatabases\\database-417e361b-f273-496c-9836-4fca6f80d0c0\\installation-3.4.1 is not a valid Neo4j installation. Missing C:\\Users\\Shafigh.Neo4jDesktop\\neo4jDatabases\\database-417e361b-f273-496c-9836-4fca6f80d0c0\\installation-3.4.1\\lib At line:1 char:161 + ... sd1'; Exit (Invoke-Neo4jAdmin import --nodes import/similarity_pairs_ ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4jAdmin
The Import section of the neo4j Operations Manual describes how to use the import
command of the neo4j-admin
tool "do batch imports of large amounts of data" into a new neo4j database.
The import
command is extremely fast because it directly builds the internal files of the new database and does not have to deal with transactions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.