Five years ago I was absolutely frustrated with the state of Graph databases and libraries and tried putting several non-Graph DBMSs behind a NetworkX-like Python interface https://github.com/unum-cloud/NetworkXum >. When benchmarked, Neo4J crashed on every graph I’ve tried https://www.unum.cloud/blog/2020-11-12-graphs >, making SQLite and Postgres much more viable options even for network-processing workloads. So I…
Postgres as a Graph Database: (Ab)Using PgRouting
21–30 of 47 posts
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#22Five years ago I was absolutely frustrated with the state of Graph databases and libraries and tried putting several non-Graph DBMSs behind a NetworkX-like Python interface https://github.com/unum-cloud/NetworkXum >. When benchmarked, Neo4J crashed on every graph I’ve tried https://www.unum.cloud/blog/2020-11-12-graphs >, making SQLite and Postgres much more viable options even for network-processing workloads. So I…
And MemGraph is nice but it's memory only where as Neo4J is designed for super large graphs that live on the filesystem. Not really that comparable.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#23Re: Postgres as a Graph Database: (Ab)Using PgRouting
#24Five years ago I was absolutely frustrated with the state of Graph databases and libraries and tried putting several non-Graph DBMSs behind a NetworkX-like Python interface https://github.com/unum-cloud/NetworkXum >. When benchmarked, Neo4J crashed on every graph I’ve tried https://www.unum.cloud/blog/2020-11-12-graphs >, making SQLite and Postgres much more viable options even for network-processing workloads. So I…
Neo4j is pretty bad and very dated. No idea what they’re doing. MemGraph is a much better tool. Really graph is a feature and not a product.
And couldn't disagree more that graph is a feature. You really want something optimised for it (query language / storage approach) as the data structure is so different in every way from a relational or document store.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#25Has anyone done something like this with a very large dataset? Hundreds of millions of rows.
Once big graphs get involved, scalable systems, and especially those that seperate storage from compute & price accordingly, get much more interesting. We work with our partners like databricks, Google spanner, AWS Neptune, etc, who have different sweet spots that really depend on workload and context, they're all pretty different. OLTP vs OLAP, etc.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#26Earlier quoted context omitted.
Neo4j is pretty bad and very dated. No idea what they’re doing. MemGraph is a much better tool. Really graph is a feature and not a product.
Neo4J is mature not dated which is why it's so popular. And couldn't disagree more that graph is a feature. You really want something optimised for it (query language / storage approach) as the data structure is so different in every way from a relational or document store.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#27Five years ago I was absolutely frustrated with the state of Graph databases and libraries and tried putting several non-Graph DBMSs behind a NetworkX-like Python interface https://github.com/unum-cloud/NetworkXum >. When benchmarked, Neo4J crashed on every graph I’ve tried https://www.unum.cloud/blog/2020-11-12-graphs >, making SQLite and Postgres much more viable options even for network-processing workloads. So I…
Would be interesting to see updated benchmarks comparing these newer options against PostgreSQL extensions.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#28Apache AGE™ is a PostgreSQL that provides graph database functionality.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#29Five years ago I was absolutely frustrated with the state of Graph databases and libraries and tried putting several non-Graph DBMSs behind a NetworkX-like Python interface https://github.com/unum-cloud/NetworkXum >. When benchmarked, Neo4J crashed on every graph I’ve tried https://www.unum.cloud/blog/2020-11-12-graphs >, making SQLite and Postgres much more viable options even for network-processing workloads. So I…
I've left that world now, but if you're in the market for a graph store again, it might be something to look at.
Re: Postgres as a Graph Database: (Ab)Using PgRouting
#30Earlier quoted context omitted.
Neo4J is mature not dated which is why it's so popular. And couldn't disagree more that graph is a feature. You really want something optimised for it (query language / storage approach) as the data structure is so different in every way from a relational or document store.
How is it different? Isn't a graph basically two sets of tuples: edges and nodes? I played with Cayley (Google) for a little while, & that was my impression.
Graph query languages also make those kinds of queries much easier to express in the first place.