Postgres as a Graph Database

Adesh Nalpet Adimurthy
Dev Genius
Published in
5 min readOct 6, 2023

--

Have you ever come across the need to store a graph in a relational database because using/onboarding a graph database for a small use-case is overkill?

Before jumping into using a relational database like MySQL or PostgreSQL as a graph database, let’s lay down the fundamentals:

What is a Graph?

--

--

Balancing code 💻, creativity 🖍️, and cardio 🧗🏽‍♂️ – that's my life as a software engineer, artist, and fitness buff;