1. there is a GC window configuration for retaining the relationships history itself - its default is 24h and we don't recommend making it much larger, as it will slow down access over time if too large
2. use the delete relationships API with a strict limit and back off of it if you start getting
ResourceExhausted
errors
3. datastore layer and/or backup - you
can use
zed backup
to take a full copy of the system, but it is faster to have the datastore do the backup