https://github.com/bitemyapp/brambling/

This is a very early point in time for the library, (alpha), but it has 
already been useful at work so I figured I would get it out there to see 
what bits people did and didn't care about.

Why this exists:

As with any historical database you have to migrate the transaction log in 
addition to the "current" state of the universe. Conveniently, Datomic 
makes querying at arbitrary points of time rather easily. Less 
conveniently, there's no map/reduce sugar for performing migrations so I 
needed to put together a toolkit to handle reducing over the origin tx-log, 
carrying over entity identities consistently (old -> tempid -> new), and 
translating the transactions with the new schema being first at the head of 
the destination.

There are some pretty serious limitations (incremental migrations 
principally) but I don't think they're showstoppers, and like I said, this 
has already been useful for migrating production data.

Let me know if you have any questions!

--- Chris

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to