Fork me on GitHub
#datomic
<
2019-06-06
>
octahedrion07:06:54

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

val_waeselynck08:06:22

You may be querying the wrong database value

octahedrion09:06:12

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?

octahedrion13:06:05

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

octahedrion13:06:43

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

octahedrion13:06:08

thanks - will do

Joe Lane13:06:45

Is it stuck indexing?

Alex Miller (Clojure team)13:06:23

queries should still work regardless

ghadi16:06:02

Check the dashboard too

tyler16:06:04

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

jjfine15:06:59

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

jjfine15:06:08

yeah its a peer. i’ll look into that