This section describes how to perform batch imports of data into Neo4j.
You can do batch imports of large amounts of data into a Neo4j database from CSV files, using the
import command of
This tool can only be used to load data into a previously unused database.
By default, this database is set to
graph.db but can be configured to other names and locations.
If you wish to import small to medium-sized CSV files into an existing database, use
LOAD CSV (see Cypher Manual →
These are some things you will need to keep in mind when creating your input files:
|Indexes and constraints|
Indexes and constraints are not created during the import. Instead, you will need to add these afterwards (see Cypher Manual → Schema).
This chapter explains how to format the input data and use the import tool. If you wish to see in-depth examples of using the import tool, refer to the Import tutorial.
The following sections describe how to use the import tool: