Re: Recommendations for bulk delete of edges


ke...@...
 

Thanks Robert,

I will follow the path you have suggested and see what that I can achieve.  The problem with the g.V() queries is that it is iterating over all vertices, so it is fast when I first start deleting but gets slower over time as it restarts the iteration after each batch of 10,000. FYI, here is the profile output for the g.E() query:

gremlin> g.E().has('timestamp', lt(1488693599987)).limit(10000).profile()
==>Traversal Metrics
Step                                                                                              Count  Traversers       Time (ms)    % Dur
=============================================================================================================
JanusGraphStep([timestamp.lt(1488693599987)])                      10000       10000      140285.011   100.00
  optimization                                                                                                                         43.808
  backend-query                                                                            20000                          2801.056
                                            >TOTAL                                                          -           -      140285.011        -

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.