JetBrains open-sources YouTrackDB, an object-oriented graph database
JetBrains has released YouTrackDB, a graph database it already runs internally in production. The design centers on treating relationships as first-class links that traverse in constant time, avoiding the runtime JOINs that slow conventional relational queries. It exposes an object-oriented model with inheritance and polymorphism enforced at the database layer, and runs every transaction under snapshot isolation to sidestep dirty reads, non-repeatable reads, and phantom reads.
On the query side, YouTrackDB ships with Apache TinkerPop and the Gremlin query language out of the box, with GQL integration still in progress. It also offers its own SQL-flavored language, YQL, which swaps JOINs for dot-notation link traversal, supports graph pattern matching via a MATCH statement, and applies indexes automatically. Deployment is flexible: schema-less, schema-mixed, or schema-full modes, plus role- and predicate-based security policies and optional encryption of data at rest.
The project is currently a 0.5.0 snapshot requiring JDK 21, distributed as an embedded uber-jar (with shaded dependencies to avoid version clashes) or as a Docker server image, alongside a REPL console for experimentation. Notably, JetBrains documents a structured, track-by-track development workflow for contributors, signaling that this is a maintained internal tool being opened up rather than an abandoned dump.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.