What is the best practice to archive the Node Entity

Skip to first unread message

Rajesh Waran

Jan 29, 2020, 2:24:59 PM1/29/20
to Neo4j
Hi All,

Good day and compliments for the new year.

I have just started with Neo4j Graph implementation for a project. I have use case where I cannot keep the same Node Entity on a daily basis for example

I have Travel as main node and Trip as child node.

Every Travel Node is created with List of Trip, and this activity happens on daily basis.

Before end of each day the Trip needs to removed and archived and next day new set of trips are created.

I want to keep the Old trips for analytics and cannot delete them. 

What is the best practices to achieve this ?

Should I have another store where I should move the historical trips or is there something that I can manage in Neo4J.

Any guidance on this regard would be of great help.


Michael Hunger

Jan 30, 2020, 5:11:50 AM1/30/20
to ne...@googlegroups.com
You could for instance relabel them, i.e. add an `:Old` label or even replace the label with `:OldTrip` so they are still around but will not be picked up anymore by your queries.

Btw. we moved away from google groups so please -> Join our new Community Site & Forum

You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neo4j/0bbc69af-7d32-4c0e-9fb6-a59e8a7e2ab1%40googlegroups.com.
Reply all
Reply to author
0 new messages