Live data from Hacker News

YouTrackDB is a general-use object-oriented graph database

github.com

71–73 of 73 posts

Re: YouTrackDB is a general-use object-oriented graph database

#71
post #52

I've always been curious about graph DBs and dabbled a bit in them, but for those who have more extensive experience in them-- are they really worth it? Is it that for small scale SQL is better and graph DBs really only matter at scale, or for specific use cases with highly connected data?

Most graph databases only offer an advantage in query language, as it allows for more ergonomic graph traversal compared to e.g. recursive CTEs in SQL. However with SQL/PGQ, the same query ergonomics are coming to traditional databases. If you look under the hood there is usually nothing special about graph databases that will make them more performant. If you lay out a query plan side-by side between e.g. Postgres a…

Yes, now that Postgres offers property graphs: https://www.postgresql.org/docs/19/ddl-property-graphs.html, which allows ergonomic queries using graph pattern matching syntax, instead of joins, these dbs feel like dodos.

Re: YouTrackDB is a general-use object-oriented graph database

#72

Earlier quoted context omitted.

You mean a JRE, because the whole JDK contains a bunch of things you're never going to need. Mind you, a default JRE redistribution makes your app at least 100+MB. Using jdeps to strip out unneeded things is a good idea if you want it to get down to 25 ish MBs.

JREs haven't been a thing in like a decade I thought.

Yeah, saying JRE is a bit of a shortcut since you're supposed to jlink & jpackage & jdance &jpray to get a slimmed down JVM released with your app, but it's closer to what would be a JRE than a full JDK

Re: YouTrackDB is a general-use object-oriented graph database

#73
post #55

Earlier quoted context omitted.

Graph query languages like Cypher are great, but I am wholly unconvinced by the concept of a dedicated, general-purpose "graph database". IMO, you're better off just using Postgres/etc, modeling your graph data there, and pulling in subsets of your graph for in-memory analysis. This is for the 99% of enterprises that aren't doing online streaming graph analysis on TB-scale graphs, and the other 1% should probably fig…

Just use postgres (or another SQL db) ignores the following innovations: * Columnar storage * Compressed Sparse Row on disk * Factorized joins * ASP joins, WCO Joins Details: https://vldb.org/cidrdb/2023/kuzu-graph-database-management-...

I'm not saying "only use Postgres", but you need to explain why core graph data needs your listed features.
Post reply on HN