This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-25
Channels
- # announcements (8)
- # babashka (58)
- # beginners (59)
- # biff (4)
- # calva (39)
- # cider (2)
- # clj-kondo (8)
- # clj-together (4)
- # cljdoc (5)
- # cljsrn (1)
- # clojure (60)
- # clojure-australia (2)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojurescript (13)
- # conjure (10)
- # cursive (9)
- # datomic (5)
- # dev-tooling (1)
- # emacs (6)
- # events (1)
- # graalvm (38)
- # graphql (5)
- # joyride (1)
- # kaocha (3)
- # lsp (23)
- # malli (2)
- # mount (2)
- # off-topic (31)
- # other-languages (13)
- # pathom (3)
- # polylith (12)
- # portal (4)
- # practicalli (22)
- # re-frame (6)
- # reagent (3)
- # releases (3)
- # sql (4)
- # squint (3)
- # tools-build (10)
- # tools-deps (10)
- # xtdb (4)
If I ::xt/put equivalent documents (same :xt/id and everything else) 99,000 times with distinct effective dates, does xtdb store 99,000 copies or does it economize by recording numerous references to the same thing?
If I am not mistaken, the temporal indices will grow accordingly but the others don't. So you store 99.000 timestamp + some hash. The other índices remain the same after the first put.
^ that's correct, yep. The docs in the document store are deduplicated, and the indexes are deduplicated. The only things using up space (in the long term) are the tx-log and the 2x temporal indexes, which both store hashes and timestamps
Perfect for storing my recurring thoughts. I’ll pick up a 2K thumb drive.