Questions tagged [xtdb]

6 questions
2
votes
1 answer

How to drop all the data in xtdb during local development

During development I find that there's a lot of resources that get "left behind" on my local xtdb server. What's the best way to clear this data locally without restarting my repl?
1
vote
1 answer

How to recover from "missing docs" in xtdb?

I'm using xtdb in a testing environment with a RocksDB backend. All was well until yesterday, when the system stopped ingesting new data. It tells me that this is because of "missing docs", and gives me the id of the allegedly missing doc, but since…
1
vote
0 answers

Datalog: Find entity pairs that have an exact match on a collection

IF I have the following set of entities in my xtdb/datomic database {:name "1" :likes [:a :b :c]} {:name "2" :likes [:a :b]} {:name "3" :likes [:a :b :c]} I want to write a query that returns pairs of entites that have exact match on :likes…
ffff
  • 2,853
  • 1
  • 25
  • 44
1
vote
1 answer

How to configure checkpointing on an XTDB node using AWS S3

I am using XTDB 1.21.0 deployed on AWS/ECS (Fargate) with checkpoints configured (frequency 30 minutes) and stored on an S3 bucket (RocksDB). After a couple of successful checkpoints, they seem to be constantly failing with an XTDB warning due to an…
modality
  • 21
  • 2
0
votes
0 answers

How do you delete a document in xtdb with clojure?

I can't find out how to delete a document in xtdb with clojure. I see the example in the cool interplanetary themed tutorial for deleting by time range or whatnot, but how do you just delete documents using similar syntax to how you would query? I…
THX1137
  • 903
  • 6
  • 15
0
votes
2 answers

XTDB unable to start a node

From their getting started (defn start-xtdb! [] (letfn [(kv-store [dir] {:kv-store {:xtdb/module 'xtdb.rocksdb/->kv-store :db-dir (io/file dir) :sync? true}})] (xt/start-node …
ffff
  • 2,853
  • 1
  • 25
  • 44