This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-23
Channels
- # babashka (104)
- # beginners (23)
- # calva (15)
- # cider (2)
- # clojure (29)
- # clojure-europe (14)
- # clojure-nl (2)
- # clojure-norway (3)
- # clojure-spec (4)
- # clojure-switzerland (1)
- # cursive (3)
- # datomic (6)
- # emacs (17)
- # etaoin (2)
- # expound (1)
- # fulcro (4)
- # graphql (4)
- # honeysql (7)
- # introduce-yourself (2)
- # jackdaw (5)
- # malli (3)
- # meander (19)
- # nbb (3)
- # off-topic (35)
- # pathom (6)
- # pedestal (4)
- # polylith (31)
- # rdf (11)
- # re-frame (8)
- # reitit (6)
- # shadow-cljs (8)
- # specter (4)
- # squint (15)
- # vim (6)
Hi there, I am struggling with a 4TiB oracle-DB behind Datomic. I have a huge test-db as well, where I restored a backup into a fresh oracle-db and it only used 10% from the actual test-db. So my assumption is, that the prod-db is only a fraction after restore as well. Why is that? Is it possible to reduce the size of my prod-db without restoring and switching over? (Update: I've tried gc-storage but it didn't reduce the size of the test-db significantly)
did you properly reclaim the space on the db side too ? This was my issue last time, the default reclaim behaviour was not adapted to datomic usage and we had to use a more aggressive one
@U02F0C62TC1 is correct, @U4GEXTNGZ The most likely cause for disk size disparity pre and post restore is garbage. Datomic backups do not include garbage and reflect actual disk size.
ok thanks. that helps. any idea which word I need to shout at the oracle-admin for him to know which direction to go?
Is it the same issue as here? https://clojurians.slack.com/archives/C03RZMDSH/p1655301426331359
There’s also gc-deleted-dbs. If the storage contains datomic databases that were deleted at the datomic level (d/delete-database), the segments from that database are not actually deleted from storage without an extra operation. https://docs.datomic.com/on-prem/operation/capacity.html#garbage-collection-deleted-production