Welcome! Please see the About page for a little more info on how this works.

0 votes
in Datomic by

Given an input sequence of transactions expressed as EDN or some other format, provide a process to create a new Datomic database "offline" as quickly as possible, either in a supported storage backend or as a backup suitable for restore-db.

The input transactions will use real Entity IDs, not tempids. Provide public APIs for constructing Entity IDs correctly.

No other transactions or queries can be performed while the new database is being built. The input transactions cannot call any transaction functions.

Similarly, provide an "export" process to write out the transaction log of an existing database to a file in the same format.

This is essentially an optimization of the current process for bulk imports with a Transactor, with the added benefit of being able to control the creation of Entity IDs. This might be used, for example, to make a copy of a Datomic database with a filter or transformation applied to the transactions.

Please log in or register to answer this question.

Welcome to the Datomic Knowledgebase, where you can make features requests, ask questions and receive answers from other members of the community.