Date
1 - 4 of 4
Adding a bunch of Vertices and edges takes for ever
yair...@...
I am writing an app that loads an existing RDBMS based graph implementation into JanusGraph. I create this index:
Creating the vertices and edges (~6K vertices and ~40K edges) takes a very long time. Am I missing something? |
|
yair...@...
I should add I do this query (to eliminate duplicate vertices) before adding each Vertex as I know that in the existing RDBMS same nodes exist multiple times:
Do I need to index the label as well? Any other ideas? On Monday, September 11, 2017 at 11:03:07 AM UTC+3, ya...@... wrote:
|
|
Ankur Goel <ankur...@...>
You are using unique(), this takes lock for each operation. Try to handle uniqueness through application instead of Janus. ~AnkurG On Monday, September 11, 2017 at 1:33:07 PM UTC+5:30, ya...@... wrote:
|
|
Yair Ogen <yair...@...>
good to know. Thanks On Mon, Sep 11, 2017 at 4:34 PM, Ankur Goel <ankur...@...> wrote:
|
|