This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-24
Channels
- # aws (14)
- # beginners (111)
- # boot (12)
- # cider (1)
- # cljsrn (7)
- # clojure (65)
- # clojure-dusseldorf (1)
- # clojure-germany (7)
- # clojure-greece (10)
- # clojure-italy (13)
- # clojure-poland (7)
- # clojure-russia (7)
- # clojure-spec (53)
- # clojure-uk (29)
- # clojurescript (27)
- # community-development (9)
- # cursive (2)
- # data-science (1)
- # datomic (17)
- # emacs (16)
- # events (6)
- # fulcro (155)
- # graphql (8)
- # instaparse (1)
- # leiningen (30)
- # lumo (29)
- # om-next (3)
- # other-languages (46)
- # pedestal (11)
- # portkey (7)
- # re-frame (13)
- # reagent (6)
- # ring (8)
- # rum (1)
- # shadow-cljs (75)
- # sql (1)
- # timbre (3)
- # unrepl (128)
We’ve ran into storage issues. We found that directory datomic/log
takes a lot of space. Is it safe to delete old log files from there?
Most importantly, we did a complete dbbb reset on October. So logs from September and earlier are junk we can delete, right?
@damian you should be safe to delete any .log
files Datomic puts in that directory and you can also change the logging behavior: http://docs.datomic.com/configuring-logging.html#transactor-logging
No knowing much about Datomic yet, for a prototype, will it be to much trouble moving your data from maps/vectors/edn to datomic?
for example, can you model your data first just with clojure literals and easily move to datomic?
Watch out for vectors: If they contain duplicates, or if order is significant, it won't be compatible with datomic's set-wise data model.
Watch out for types that are not supported by datomic: you will have to encode them into datomic somehow.
Watch out for cases where the key of a map entry does not determine the type and cardinality of its value
Watch out for nils: datomic does not support nil. This matters if you need to make a distinction between "I assert there is nothing" and "I do not assert either way".
In general: datomic is not an edn document store, but more like a graph database with schema on the edges (attributes) only. You do need to keep datomic in mind when planning the edn representation of your application data.
writing them down for later research, thanks! although you are making me think of the possibility of just starting with datomic directly and avoid all those gotchas 😉
Except for order, a datomic-first design will almost always be an easy and natural edn design