Can I configure ArangoDB to take graph database snapshots at a specific time?

Until now, I know that ArangoDB uses MVCC and therefore creates revisions of nodes and edges for a period of time undefined until the garbage collector removes them.

I would like to implement a graph database schema, and I need to save the state of this database at a specific time. This means that I will set the time when the database management system takes a snapshot (for example, every week).

So, my short question is: is it possible to save versions / versions of nodes / edges in arangodb (or, possibly, with a plugin) and the timestamp of their creation?

If not, are there other graph databases that can do this?

+4
source share
1 answer

I think you can use arangodump (a link to the manual for ArangoDB tools ) to create a snapshot at the right time. This will save the state of the database (or only specific collections containing graph data) into JSON files that can be used for auditing or later reloading of data. arangodump is contained in ArangoDB distributions.

The data dumped by arangodump will not contain creation timestamps, but if you need them, you can make them part of your data by simply filling out the “created” attribute in each node / edge when you create it.

Hope this helps.

+3
source

Source: https://habr.com/ru/post/1533151/


All Articles