title: delete all edges of a certain type
body: <p>I have a neo4j database that has nearly 5 million nodes and 12 million edges. I want to delete a type (<em>UsedAt</em>) of edge (relationship). There are nearly 3 million edges of the type <em>&quot;UsedAt&quot;</em>.</p>
  <p>I'm writing a query like</p>
  <p><code>match ()-[e:UsedAt]-&gt;() delete e</code></p>
  <p>This takes too much time. Never stops.</p>
  <p>I also tried
  <code>CALL apoc.periodic.iterate(&quot;match ()-[e:UsedAt]-&gt;() return e&quot;, &quot;delete e&quot;, {batchSize:1000, parallel:true})</code></p>
  <p>That also never stops. How can I delete all edges (relationships) of a certain type efficiently on a relatively large database?</p>