> ## Documentation Index
> Fetch the complete documentation index at: https://akshanshgusain.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Graph Database

Abstraction: graph

<Frame>
  <img src="https://mintcdn.com/akshanshgusain/U9KiYWNLHNn_ZtUv/hld/fundamentals/primer/images/graph-db.png?fit=max&auto=format&n=U9KiYWNLHNn_ZtUv&q=85&s=d9068cc1f1244f6ea98aac8d38a357a5" width="616" height="436" data-path="hld/fundamentals/primer/images/graph-db.png" />
</Frame>

In a graph database, each node is a record and each arc is a relationship between two nodes. Graph databases are optimized to represent complex relationships with many foreign keys or many-to-many relationships.

Graphs databases offer high performance for data models with complex relationships, such as a social network. They are relatively new and are not yet widely-used; it might be more difficult to find development tools and resources. Many graphs can only be accessed with REST APIs.
