Ah, right - the index-free traversal is the king!
Thanks Peter!
-Josef.
On úterý, 10. ledna 2012 at 20:40, Peter Neubauer wrote:
> Josef,
> Yes, N1 is locked during the creation of the relationship. Different than a
> table, Neo4j actually stor direct links between the nodes as relationshi
Josef,
Yes, N1 is locked during the creation of the relationship. Different than a
table, Neo4j actually stor direct links between the nodes as relationships,
making data-local traversals without index lookups possible. This means
both nodes will be locked during the TX1 .
HTH
/Peter
On Tuesday,
Hello neo4j-ers,
I have question - when 2 threads (in embedded neo4j mode) want to concurrently
create the following RELs A and B (each within their own transaction, nodes N1,
N2 and N3 existed before):
Thread 1 - tx1 - N1--RELA-->N2
Thread 2 - tx2 - N1--RELB-->N3
does the node N1 represent
3 matches
Mail list logo