Fork me on GitHub

has there been any progress in the area of a packaged solution for Datomic Cloud database restore-from-backup, either community supported or an official solution from Cognitect? we were investigating but the project is no longer active, and last we checked it did not support tuples.


according to transaction function calls within transactions should be represented as lists. if i use vectors instead, the call still works, just like with tx fns, which are called via their indents, like :db/add, db/retractEntity... can i rely on this undocumented behaviour in the future? i would rather use vectors, because they are slightly more concise to construct programmatically, but also because tooling wouldn't think, that it's a faulty function call, because it's missing its 1st db argument.


This feels like a very stylistic choice. On-prem documentation has only ever mentioned vectors and I’ve only ever used vectors. I’m surprised to see lists in docs.


so I would be extremely surprised if vectors one day stopped working


I think dispatch is entirely driven by the item in the first position


so it just cares about whether the head of the seq is a keyword? or qualified-symbol?. that sounds reassuring. the problem with list is that we would need to jump thru some small hoops, if we want to generate txs, eg:

(let [some-tx-fn-arg 123]
  (d/transact conn {:tx-data [(list `some-tx-fn some-tx-fn-arg)]))
`[(some-tx-fn ~some-tx-fn-arg)]
[`(some-tx-fn ~some-tx-fn-arg)]
but this wouldn't work:
[(`some-tx-fn ~some-tx-fn-arg)]
which i myself do understand, but not everyone on the team is so fluent in clojure. they would however perfectly understand
[[`some-tx-fn some-tx-fn-arg]]


Anyone using Datomic with OracleDB? Our DB is ever increasing. Backups on the other side are comparatively small. I am using gc-storage now but it doesn't change a thing. Anyone knows something that keeps the OracleDB from freeing up space?


I’d say, try restoring your backup to another db, and compare?


maybe there’s something that jumps out


that's a good idea, let's see if this can happen at my company.

👍 1

worst that happens is you exercise your backups I guess 🙂

😆 1

Not an oracle expert, but apparently they can experience fragmentation. Google “oracle segment advisor”

👍 1