Data Deletion

Hi

We are unable to delete the data please can anyone help on us

simsree9_0-1667903523934.png

Depending on how many nodes you're trying to delete, it may be too much to handle in a single transaction. You may want to use apoc.periodic.iterate() to handle deletion with batching.

Hi @simsree9 - you haven't provided enough information for us to help you. I see a "W" on line 2 that doesn't belong there (or is that big "W" hiding a bunch of loot :slightly_smiling_face: ). If you run the statement (without the "W"), what happens?

Hello @simsree9 :slightly_smiling_face:

Here is the general query to remove everything but you can modify it to remove only part of your graph:

CALL apoc.periodic.iterate("
    MATCH (n) 
    RETURN n
    ", "
    DETACH DELETE n
    ", batchSize: 1000, parallel:false})

Regards,
Cobra

hi @simsree9 kindly share enough informations about what you are asking for . If you want delete node relationships i hope the below link will help
https://neo4j.com/docs/cypher-manual/current/clauses/delete/