Fork me on GitHub

why does Datomic Cloud not return query results in the minutes following a transaction of a few hundred datoms ?


You may be querying the wrong database value


sorry I should have been clearer - it's that the query isn't returning - it just hangs then eventually times out

Alex Miller (Clojure team)12:06:55

Doesn’t sound normal - maybe share the query? Does query work other times?


it's regardless of the query - any query - yes those queries work normally


after around 15 minutes it resolves and queries return immediately as usual

Alex Miller (Clojure team)13:06:07

that does not seem like normal behavior

Alex Miller (Clojure team)13:06:49

sorry I can't help more in debugging it but I guess I would look at logs and alarms to see if something weird is happening


thanks - will do

Joe Lane13:06:45

Is it stuck indexing?

Alex Miller (Clojure team)13:06:23

queries should still work regardless


Check the dashboard too


What version of datomic are you running. We experienced this when using query groups on a previous version from the latest.


i’m just starting to look into an issue with our app where we’re seeing a lot of gc. it seems to be due to datomic queries doing a lot of memory allocation. sometimes on the order of 100MB/query. anyone have any tips?

Alex Miller (Clojure team)15:06:37

if that's peer, then there are settings to tune memory use


yeah its a peer. i’ll look into that