# Graph Database

> A database that stores things as points and the links between them.

**Field:** Software Development  
**Category:** Databases  
**Also known as:** Graph DB, Graph Store

## Think of it like

Think of it like a map of friends with lines between them. You follow the lines to see who knows who.

## Definition

A graph database stores things as points and the links between them. The points are called nodes and the links are called edges. Both can carry facts, like a name or the date two people met. It is built to follow chains of links quickly, like friends of friends. A relational database can do this too, but it needs many joins and gets slow. Neo4j is a well-known example.

## Example

Lucy's job site suggests people you may know. A graph database finds friends of friends in a few milliseconds.

## Why it matters

Some questions are all about links. A graph database answers them where tables would struggle.

## Common mistake

Using a graph database for plain lists of records. If the links are not the point, a table is simpler.

## Three principles

- **Nodes and edges.** Things and the links between them.
- **Follow the links.** Fast across many hops.
- **For linked data.** Friends, routes, networks.

## Related terms

- [NoSQL Database](https://learn.benibix.com/term/development/nosql-database)
- [Relational Database](https://learn.benibix.com/term/development/relational-database)
- [SQL Join](https://learn.benibix.com/term/development/join)
- [Document Database](https://learn.benibix.com/term/development/document-database)

---

Source: https://learn.benibix.com/term/development/graph-database
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
