You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Embeddable graph database built in pure Rust. Dual data models (LPG + RDF), six query languages, HNSW vector search, MVCC transactions. Fastest graph database tested on the LDBC Social Network Benchmark in both embedded and server configurations, with a low memory footprint. Now in beta.
Why Grafeo?
6 query languages: GQL (ISO), Cypher, Gremlin, GraphQL, SPARQL, SQL/PGQ. Use what you know or want to learn.
LPG + RDF in one engine: Property graphs and triples with optimized storage for each.
Vector search: HNSW indexes with scalar, binary, and product quantization. SIMD-accelerated.
Embeddable: Link as a library (Rust, Python, Node.js, WASM) or run as a server. No external processes.
Fast and lean: Fastest graph database tested on LDBC SNB in both embedded and server modes, with a lower memory footprint than other in-memory databases. Push-based vectorized execution, morsel-driven parallelism, columnar storage with zone maps. Benchmarked with graph-bench and ann-benchmarks.
Quick Start
importgrafeodb=grafeo.GrafeoDB()
# Build a graphdb.execute("INSERT (:Person {name: 'Alice', age: 30})-[:KNOWS {since: 2020}]->(:Person {name: 'Bob', age: 25})")
db.execute("INSERT (:Person {name: 'Bob'})-[:KNOWS]->(:Person {name: 'Carol', age: 28})")
# Traverse itforrowindb.execute(""" MATCH (p:Person)-[:KNOWS]->(friend)-[:KNOWS]->(fof) WHERE fof <> p RETURN p.name, fof.name AS friend_of_friend"""):
print(row)
Grafeo is a pure-Rust, high-performance graph database that can be embedded as a library or run as a standalone database, with optional in-memory or persistent storage. Grafeo supports both LPG and…
Grafeo is a pure-Rust, high-performance graph database that can be embedded as a library or run as a standalone database, with optional in-memory or persistent storage. Grafeo supports both LPG and RDF and all major query languages.