I am using Orientdb v2.1.2
I need to insert several million edges between two EXISTING vertex.
I started off using the .NET API as my previous codebase (using an RDBMS)
was c#-based however performance was terrible (~100 edges a second)
I have completely re-written the code base in java now but unfortunately
performance has not improved much. I was hoping to see at least several
thousand edges created per second. I wonder if anyone could tell me if I am
on the right track...
Note: I already know the string ORID for the two vertex. The model is
simply lots of V(from) =====> E =====> V(to) from vertex
are unique (3million), to vertex are often common (50k)
OrientGraphFactory factory = new
OrientGraphFactory("remote:localhost/TEST");
OrientGraph graph = factory.getTx();
OrientVertex fromVertex = graph.getVertex(fromORID);
OrientVertex toVertex = graph.getVertex(toORID);
graph.addEdge("class:from_relates_to", fromVertex , toVertex ,
"from_relates_to");
after several thousand I do
graph.commit();
graph.getVertex seems to be a particular bottleneck
Thank you in anticipation...
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" 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/d/optout.