HeadlinesBriefing favicon HeadlinesBriefing.com

YouTrackDB Graph Database Overview

Hacker News •
×

YouTrackDB is a general-use object-oriented graph database developed by JetBrains. It supports Gremlin queries and provides ACID transactions with snapshot isolation by default, ensuring each transaction sees a stable database snapshot.

Key features include O(1) link traversal without costly JOINs, an object-oriented API that implements inheritance and polymorphism at the database level, and built‑in TinkerPop/Gremlin support. The database also offers YQL, a SQL‑based query language using dot notation for links, MATCH for pattern matching, and automatic index usage. It works in schema‑less, schema‑mixed, or schema‑full modes, provides strong security profiling, and can optionally encrypt data at rest.

YouTrackDB is easy to install: run the REPL console with `docker run -it youtrackdb/youtrackdb-console` or embed it via Maven using `<dependency><groupId>io.youtrackdb</groupId><artifactId>youtrackdb-embedded</artifactId><version>0.5.0-SNAPSHOT</version></dependency>` (the shaded uber‑jar relocates third‑party deps). For a server, start the Docker image with volume mounts for secrets, databases, conf, and log, and provide the root password in `secrets/root_password`. It requires JDK 21. See the Getting Started guide, the examples project, and the contributing workflow book for more details.