Neo4j- Löschen von grossen Mengen in Schleifen

call apoc.periodic.iterate("MATCH (n:ADAccount{type:'group'}) 
where n.domain='big-ad.local' return n ", "DETACH DELETE n", 
{batchSize:1000, parallel:true,retries:3}) yield batches, 
total return batches, total

 

Translate »