Ice, It seems you are doing something very interesting. What system are you building? Is it possible for you to shed some light on it?
Regards, Karol W dniu czwartek, 2 stycznia 2014 00:14:00 UTC+1 użytkownik icenine napisał: > > Hi Michael, > > I've posted the newest code here: http://pastebin.com/7PikkZRP > > I've switched all of my CREATE UNIQUE statements to MERGE. I'm still > convinced though that the inserts are under-performing. It's taking about 5 > minutes for all of the statements in that code to execute 500 times. > Overtime this gap grows to around 8 even up to 12 minutes. My biggest > bottleneck seems to be the incident nodes and their relationships: > > neo4j-sh (?)$ START n=node(*) MATCH (n)-[r]-() RETURN DISTINCT labels(n), > type(r), count(*) ORDER BY labels(n)[0], type(r); > +-----------------------------------------------------------------------+ > | labels(n) | type(r) | count(*) | > +-----------------------------------------------------------------------+ > | ["DEGREE_OF_HARM"] | "HAS_INCIDENT_DEGREE_OF_HARM" | 2120424 | > | ["DEGREE_OF_HARM"] | "HAS_NRLS_DATA_TYPE" | 7 | > >> >> [...] -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
