Memgraph
activeby Memgraph Ltd. · since 2017
In-memory, Cypher-compatible graph database in C++ for streaming and real-time graph workloads.
Overview
Memgraph is an in-memory property-graph database written in C++ that speaks Cypher over the Bolt protocol, so most Neo4j drivers and tools work against it unchanged. Data lives in RAM with snapshots and a write-ahead log for durability, which gives low-latency traversals and fast ingestion straight from Kafka or Pulsar streams. MAGE adds graph algorithms, and recent 3.x releases add vector and text search aimed at GraphRAG and agent memory. It is a strong fit when the working graph fits in memory and freshness matters; the community edition is source-available under BSL 1.1, with HA and fine-grained security in Enterprise.
Strengths & trade-offs
Strengths
- +Low-latency traversals because the full graph is kept in RAM
- +Bolt and Cypher compatibility lets Neo4j drivers and many tools connect unchanged
- +Native Kafka, Redpanda and Pulsar stream ingestion with triggers for reactive graphs
- +Custom procedures in Python, C++ or Rust plus the MAGE algorithm library
- +Vector and text search built in for GraphRAG and agent-memory use cases
Trade-offs
- −Dataset size is capped by RAM, which raises cost for large graphs
- −No sharding: one primary holds the entire graph
- −BSL licensing is not OSI open source and restricts offering it as a service
- −HA, RBAC and audit logs are Enterprise-only
Great for
- +Real-time fraud detection on streaming transactions
- +Network and IT topology monitoring
- +GraphRAG and agent memory
- +Supply chain optimization
- +Dynamic recommendation engines
Think twice for
- −Graphs much larger than available RAM
- −RDF/SPARQL workloads
- −Cold archival graph storage
Capabilities
Native or official first-party support · 13 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- In memory, Primary replica, Client server
- Query languages
- Cypher
The whole graph must fit in RAM of one instance; replication and HA (Enterprise) scale reads and availability, not size.
Deployment
Ecosystem
Alternatives to Memgraph
The default property-graph database, with Cypher, a big ecosystem and a managed cloud.
memgraph vs neo4j →Low-latency graph database using sparse matrices, the maintained successor to RedisGraph.
memgraph vs falkordb →Distributed MPP graph database built for deep-link analytics on very large graphs.
memgraph vs tigergraph →Embedded columnar property-graph database with Cypher; archived in 2025 after Apple acquired the team.
memgraph vs kuzu →Community-maintained continuation of Kùzu: embedded columnar graph database with Cypher.
memgraph vs ladybugdb →Memory-optimized AWS graph engine for fast algorithms, openCypher and vector search over large graphs.
memgraph vs amazon-neptune-analytics →Memgraph FAQ
What is Memgraph?
Memgraph is a graph database by Memgraph Ltd., first released in 2017. Memgraph is an in-memory property-graph database written in C++ that speaks Cypher over the Bolt protocol, so most Neo4j drivers and tools work against it unchanged. Data lives in RAM with snapshots and a write-ahead log for durability, which gives low-latency traversals and fast ingestion straight from Kafka or Pulsar streams. MAGE adds graph algorithms, and recent 3.x releases add vector and text search aimed at GraphRAG and agent memory. It is a strong fit when the working graph fits in memory and freshness matters; the community edition is source-available under BSL 1.1, with HA and fine-grained security in Enterprise.
Is Memgraph open source?
Not in the OSI sense. Memgraph is source-available: you can read the code, but the license restricts some uses, typically offering it as a competing managed service. License: Business Source License 1.1 (Community) / Memgraph Enterprise License.
Does Memgraph support ACID transactions?
Yes. Memgraph supports full ACID transactions, with strong consistency.
Does Memgraph scale horizontally?
Memgraph does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB).
How can I run Memgraph?
You can self-host it.
What is Memgraph best for?
Memgraph is a strong fit for real-time fraud detection on streaming transactions; network and IT topology monitoring; and GraphRAG and agent memory. Think twice for graphs much larger than available RAM.
What are the best alternatives to Memgraph?
Common alternatives to Memgraph include Neo4j, FalkorDB, TigerGraph, Kùzu and LadybugDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is Memgraph?
Memgraph ranks #124 of 844 databases on the WhichDB Score (24.4/100), and #9 among graph databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



