Re:Datomic: Look at all the things I'm not doing
by augustl on Saturday April 21, 2018 @03:46PM
(#16893038)
Ah, that makes sense. I've never added an index myself, but essentialy Datomic has to rewrite the main index tree. In other words, all of the stored data, since there is no data stored outside of the covering indies. So I wouldn't be surpised if that causes some down time if you have lots of data in your database.
Re:Datomic: Look at all the things I'm not doing
by ajss on Saturday April 21, 2018 @05:15PM
(#16893475)
I think "late indexing" maybe referring to an implementation detail. The indexes aren't updated after each transaction. When you query the db, the result is a merge between the index and the transactions that haven't been indexed yet. The index is updated in batches.
I'll admit that I'm guessing about how much of this depends on the database and Datomic itself, so I shouldn't be making a sweeping statement.