Skip to content

Regarding rocksdb backend for v2 #2513

Answered by jarohen
trickster asked this question in General
Discussion options

You must be logged in to vote

Hey @trickster 👋

The architecture for v2 is a little different - rather than the document-store and index-store we now just have an 'object-store', so RocksDB will no longer be necessary.

We're yet to write up the documentation for anything apart from in-memory use cases, but we do have an on-disk transaction-log and document-store available - you could try the following:

(let [node-dir (io/file "/tmp/xt2")]
  {:xtdb.log/local-directory-log {:root-path (io/file node-dir "log")}
   :xtdb.object-store/file-system-object-store {:root-path (io/file node-dir "objects")}})

Please do bear in mind that the on-disk formats are still subject-to-change through the early access - best not to rely on …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by refset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants