3 ms·
If you are dealing with lots of hierarchical data, then I recommend you take a look at Neo4j (or other graph databases) since they are much better suited for th
by maxdemarzi 10y ago
If you are dealing with lots of hierarchical data, then I recommend you take a look at Neo4j (or other graph databases) since they are much better suited for these kind of queries as well as updates at any level and multi parent hierarchies.
See https://maxdemarzi.com/2016/10/27/catalogs-and-hierarchies/ https://maxdemarzi.com/2016/10/27/catalogs-and-hierarchies/ for a quick example. Read until the end 'cause the kicker is being able to go UP a hierarchy in no time at all.
See http://www.slideshare.net/StampedeCon/managing-genetic-ancestry-at-scale-with-neo4j-and-kafka-stampedecon-2015 http://www.slideshare.net/StampedeCon/managing-genetic-ances... for a real world use case with Neo4j vs Oracle RAC comparisons.
- jinjin2 10y agoReal object databases like Realm also makes it trivially easy to build these kinds of hierarchical models, and I personally find it a bit easier to think about as objects with references to other objects as opposed to the more generic graph model of graph databases like Neo4j