This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-23
Channels
- # beginners (27)
- # boot (8)
- # cider (17)
- # cljs-dev (8)
- # cljsrn (5)
- # clojure (56)
- # clojure-dev (34)
- # clojure-gamedev (4)
- # clojure-italy (32)
- # clojure-nl (22)
- # clojure-poland (3)
- # clojure-russia (17)
- # clojure-spec (31)
- # clojure-uk (48)
- # clojurescript (47)
- # core-async (41)
- # cursive (13)
- # datomic (22)
- # emacs (9)
- # figwheel (7)
- # fulcro (18)
- # graphql (3)
- # hoplon (15)
- # jobs-discuss (38)
- # keechma (1)
- # luminus (10)
- # off-topic (42)
- # onyx (8)
- # overtone (3)
- # protorepl (5)
- # re-frame (42)
- # reagent (6)
- # reitit (3)
- # schema (4)
- # shadow-cljs (39)
- # slack-help (5)
- # spacemacs (8)
- # specter (1)
- # tools-deps (36)
- # uncomplicate (9)
- # vim (34)
Processing the Log to rewrite a database, i'm seeing some weird datoms in the log, of the form
[[17592186523036 :myapp/some-attribute :db.sys/partiallyIndexed 13194140011931 true]
[17592186485599 :myapp/some-attribute :db.sys/partiallyIndexed 13194140011931 false]]
Obviously these have not been added by me - what do they mean, and how should I process them?Nevermind, I got this wrong, this were actually long-typed attributes that I mistakenly processed as if they were ref-typed.
@val_waeselynck can you elaborate on this very quick? I am curious (in case I encounter a similar “issue” myself)
@U5ZAJ15P0 I've set some attributes to have :db/fulltext true
, which is irreversible and prevents excision. So now I'm rewriting my entire database by processing the Log, reading the set of datoms added by each tx and transforming it into a transaction request (which is not trivial). My problem here was caused by a bug in my processing: I was interpreting the value of a datom as it the attribute was ref-typed, when in fact it was long-typed.
hi, some recent articles from reddit got me interested in datomic. i got question (probably very basic): where indexes are kept? is it client side? id suppose so as queries are executed client side from what i reckon. if thats the case, do you have any stats how much time does it take for datomic to warm-up and build indexes up? if those are kept in memory are there any limits in database size for this to work optimally/at all? im curious in this technology, but at the same time i feel like im missing some important concepts.
They are primarily kept in storage, and redundantly propagated to many places, including in an in-memory cache on Peers which is where the querying happens.
The time to warm up will largely depend on querying patterns
@favila @kingcode the peer api getting started is now here, under the on-prem docs. https://docs.datomic.com/on-prem/peer-getting-started.html
Hi, I’m playing around with microservice architecture with sort of ‘lite’ event sourcing, where datomic does it’s thing internally and onyx or something dumps events in to kafka, etc based on transactions i’ve reified with the approprate meta data. In terms of sequencing, since I can do 1 transactor -> n db’s (I’m not going to be dealing with large write volumes), the various (since they are per db) onyx jobs that are extracting ‘events’ should have the correct timewise ordering right?
It looks like I'm seeing significantly more memory usage since upgrading the peer from 0.9.5561.50 to 0.9.5697. Does this make sense?
Somehow in the back of my mind I stored the fact that after excision a transactor restart is required. The docs don't mention it, but to fully excise that fact from my memory: is it correct, that excision is an online process and no transactor restart is required? (Or maybe this was true before and it changed?)
@gerstree restart is not required; You may be thinking of restore - that requires a restart Excision will happen “online” - it will be completely excised after an indexing job completes
The question was GDPR related for a bit of background. That topic takes hostage of all of Europe these days unfortunately...
what's the upper-limit on the number of dbs that can be queried at once ?