Skip to content
When Postgres is the wrong place to traverse the graph
DATABASES AND DATA ENGINEERING

When Postgres is the wrong place to traverse the graph

Recursive CTEs hit an O(b^D) wall, and no amount of indexing or tuning moves it. Why deep graph traversal doesn't belong in the database at all, and what it looks like once you move it into the JVM. Source