Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-26-2021 01:50 PM
I plan to use periodic.iterate to perform DETACH and DELETE.
source: Large Delete Transaction Best Practices in Neo4j - Knowledge Base
Based on the description, the periodic will keep executing till the #of records=0.
How will it behave if new nodes are being added at the same time.
My usecase is: I need to detach and delete nodes of particular type. This is a network setup where initially lot of nodes will be added and slowly the addition of new nodes will slow down.
I plan to use scanner thread to call periodic.iterate every 5 mins so that eventually I have nodes of types=x detached and deleted. Is this a good way?
03-04-2021 04:29 AM
I wonder whether APOC's TTL functionality might make this easier?
All the sessions of the conference are now available online