Best version for use case: 1.0 vs 2.0

Hey @DinisSousa sorry to keep you waiting on a response! Naturally I think v2 is the best place to start, as it offers the best foundations for any future optimisations and indexes - the fact it uses Apache Arrow means we could incorporate modern research ideas much more feasibly, e.g.

  1. GraphAr: An Efficient Storage Scheme for Graph Data in Data Lakes (2024)
  2. Fast Access to Columnar, Hierarchically Nested
    Data via Code Transformation
    (2017)

The main caveat with v2 currently is that it doesn’t support recursive CTEs (native fixpoint evaluation), but there are workarounds, per this discussion: XTDB's Sweet Spot - #6 by alex_mandel

Please keep us posted on your research - I would love to hear more!

p.s. unrelated to XTDB (other than it validates the premise of bitemporal modelling) but Graphiti/Zep might be interesting if you’re looking at ML use cases: [2501.13956] Zep: A Temporal Knowledge Graph Architecture for Agent Memory

1 Like