Using `UNWIND` with `apoc.periodic.iterate` to load data into a graph

Ok. I forgot to create indices on my nodes (this is the largest data set I have been working with):

CREATE INDEX ON :Bridge(id);
CREATE INDEX ON :Place(id);
CREATE INDEX ON :County(id);
CREATE INDEX ON :State(id);
CREATE INDEX ON :Owner(id);
CREATE INDEX ON :MaintenanceResp(id);

I was then able to run my import without issue.

1 Like