# sirixdb/sirix

SirixDB is an an embeddable, bitemporal, append-only database system and event store, storing immutable lightweight snapshots. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach.

Repository: https://github.com/sirixdb/sirix
Canonical: https://ross.abutalabs.com/products/sirix
Homepage: https://sirix.io
Language: Java
License: BSD-3-Clause
License Family: permissive
Topics: xquery, java, temporal-data, storage, snapshot, comparison, ssd, json, versioning, hashing, diffing, diff, xml, kotlin, vertx, coroutines, diff-algorithm, keycloak, hacktoberfest, jsoniq
Last push: 2026-08-26T17:00:45+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 5199, "days_push": 7, "days_rel": 49, "gap_med": 0, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1216, forks 249 (observed 2026-08-28T04:04:01.258580+00:00)

## What it is
SirixDB is an embeddable, bitemporal, append-only database system for JSON and XML that stores immutable, space-efficient snapshots of every revision via structural sharing and a sliding-snapshot versioning algorithm. It ships as a JVM library, a Vert.x-based REST server with Keycloak auth, CLI tools, and a web GUI for time-travel queries and revision diffing.

## Use cases
- query any past revision of a JSON or XML document as fast as the current one
- build audit trails without bolt-on audit tables or change-data-capture
- track bitemporal data with both transaction time and valid time
- diff two arbitrary revisions of a document
- store evolving documents with full history and minimal storage overhead
- roll back a resource to a previous revision after an error
- replace event sourcing when replaying logs is too costly

## When to choose
- you work with document (JSON/XML) data and need deep tree-level versioning
- storage efficiency matters and you want no background compaction or WAL
- you need built-in diffing between arbitrary revisions
- regulatory or audit requirements demand full bitemporal history
- you want an embeddable JVM storage engine with MVCC

## When to avoid
- you need SQL compatibility or a managed cloud service today
- you need clustering, replication, or multi-node consensus (single-node only)
- your data model is entity/tuple-oriented rather than document trees
- you need a fully stable 1.0 release (currently 1.0.0-beta with stabilizing on-disk format)
- you need high write throughput on random in-place updates rather than append-only versioning

## Facets
- artifact type: library
- maturity: active
- function: database, search-engine, serialization
- domain: databases, developer-tools
- platform: jvm, self-hosted
- tags: bitemporal, append-only, time-travel, versioning, json-store, xml-store, event-store, structural-sharing, rest-api, jsoniq, xquery, data-engineering, linux, docker

## Member repositories
- sirixdb/sirix (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.258580+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:12.156861+00:00, confidence not recorded.
  - readme: https://github.com/sirixdb/sirix (fetched 2026-08-28T04:04:01.258580+00:00, sha 1494ec939e0b)
  - homepage: https://sirix.io (fetched 2026-08-29T12:25:07.832824+00:00, sha 060316d7e64f)
  - site_page: https://sirix.io/docs/index.html (fetched 2026-08-29T12:25:07.842408+00:00, sha 2a97966c15a4)
  - site_page: https://sirix.io/docs/getting-started.html (fetched 2026-08-29T12:25:07.844618+00:00, sha 3b56203ab572)
  - site_page: https://sirix.io/docs/features.html (fetched 2026-08-29T12:25:07.846503+00:00, sha 94b38f30436a)
  - site_page: https://sirix.io/docs/architecture.html (fetched 2026-08-29T12:25:07.848192+00:00, sha 97a6d8212aca)
  - site_page: https://sirix.io/docs/comparison.html (fetched 2026-08-29T12:25:07.850207+00:00, sha 5a359f1ccc63)
  - site_page: https://sirix.io/docs/use-cases.html (fetched 2026-08-29T12:25:07.852090+00:00, sha 1585889f2e72)
  - site_page: https://sirix.io/docs/operations.html (fetched 2026-08-29T12:25:07.853933+00:00, sha 0133f4fe0fbe)
  - site_page: https://sirix.io/docs/rest-api.html (fetched 2026-08-29T12:25:07.856015+00:00, sha 01e9262f26b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
