Neo4j
By Neo4j, Inc.
Neo4j is a native graph database that stores and queries data as nodes and relationships rather than rows and tables, optimized for traversing highly connected data.
Definition
Neo4j is a native graph database that stores and queries data as nodes and relationships rather than rows and tables, optimized for traversing highly connected data.
Overview
Founded in Sweden in 2007, Neo4j popularized the graph database category by treating relationships as first-class citizens stored directly alongside the data they connect, rather than computed on the fly through joins as in a relational database like MySQL or PostgreSQL. Data in Neo4j is modeled as nodes (entities), relationships (connections between nodes), and properties (attributes on either), and queried using Cypher, a declarative query language designed to read like a visual description of the graph pattern being searched for. Because relationships are stored as physical pointers rather than recomputed through joins, traversing many hops—finding, say, friends-of-friends-of-friends—stays fast even as the dataset grows, where equivalent relational joins would slow down significantly. Neo4j is commonly used for problems that are naturally graph-shaped: fraud detection networks, recommendation engines, knowledge graphs, and identity and access management. It's also increasingly used alongside AI applications as a knowledge-graph backend for retrieval-augmented generation, a pattern covered in SkillVeris's Retrieval-Augmented Generation course.
Key Features
- Native graph storage where relationships are stored as physical pointers, not computed joins
- Cypher query language for expressive, pattern-based graph queries
- Efficient traversal of deep relationships regardless of overall dataset size
- ACID-compliant transactions for graph data
- Graph Data Science library for algorithms like community detection and centrality
- Visualization tools for exploring graph structures
- Available as a managed cloud service (AuraDB) alongside self-hosted deployment