Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-24-2021 08:21 AM
Are there any performance differences running these to queries? Assuming the label always staying the same will the query planner perform nearly identical because the Statement get translated internaly to nearly the same?
UNWIND {batch} as row
CREATE (n:Test {row.properties})
RETURN count(*)
UNWIND {batch} as row
CALL apoc.create.node([row.label], row.properties) yield node
RETURN count(*)
01-24-2021 09:36 PM
Add the clause PROFILE at the beginning of each query as the first line you will have your answer. You can use EXPLAIN clause too to avoid the actual execution of the query again but you wont have every details.
01-25-2021 12:56 AM
Done that, but i´m not really sure how to interpret the plans correctly.
Does it mean that the APOC version is even faster than the pure cypher because it has less DB hits?
Cypher Create:
APOC Create
All the sessions of the conference are now available online