1 of 7

2 of 7

To Import Data Into Memgraph

3 of 7

Data Import Options

CSV

LOAD CSV or CSV Import Tool in Memgraph Lab

JSON

json_util() in MAGE

CYPHERL

mgconsole or Memgraph Lab

Real-time data

Kafka, RedPanda, Pulsar

4 of 7

Techniques To Power Up Your Import

What to index?

  • Label or label and property being matched in Cypher queries
  • Properties containing many distinct integer values

In-memory analytical storage mode

  • Delta objects are disabled
  • ACID properties are not guaranteed

5 of 7

The Fastest Way to Import Data Into Memgraph

6 of 7

Steps For Fastest Import

  1. Split nodes and relationships CSV files into smaller CSV files
  2. Copy the CSV files into the container where Memgraph is running
  3. Generate LOAD CSV queries
  4. Start the concurrent query execution using multiprocessing

7 of 7

Join us on Discord