So let's say I have Classes Title and Appln.
Titles are already in the database
*vertex *is an Appln
and *title *is a Title
if (className == "Appln") {
for (Vertex title : noTxGraph.getVertices("Title.ID", 1
)) {
Edge someEdge = noTxGraph.addEdge(null, (Vertex)
vertex, title, "HAS");
}
}
That works well but yeah it's kind of slow. When there are found some
entries with the number *1* on *Title.ID* it's *3k/sec*.
If no ID's are found it's *11k/sec*.
So the question is how to improve to create edges even faster. Thanks.
--
---
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.