Delete label is very difficult


vamsi.lingala@...
 
Edited

Deleting all edges in a label/all vertices in a label from gremlin is almost impossible..
g.E().hasLabel('MAID-BRAND-012021').drop()
g.V().hasLabel('BRAND').drop()


it gets timeout even thought you increase timeout to larger limits.
I think it scans all vertices/edges and then finds which are belong to that label..which is very inefficient