I am trying to delete 200K records from the database.
When I use gremlin and use
 graph.traversal().V().has(ID_PROP, 
P.within(nodesIds)).drop().count().next();

*it can take 20 minutes.*

If I am trying to delete directly using orient db 
orientGraph.executeSql("DELETE VERTEX V where id in [" + String.join(",", 
nodesIds) + "]");

It still take a very long time.

Do you know how can I solve the performance issue?

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/orient-database/10838ea2-be2d-4aa9-9194-f1affa6c261cn%40googlegroups.com.

Reply via email to