官术网_书友最值得收藏!

Complex join-intensive queries

We discussed in the previous chapter how relational database management systems suffer from significant drawbacks, as they have to deal with more and more complex data models. Asking these kinds of questions of a relational database requires the database engine to calculate the Cartesian product of the full indices on the tables involved in the query. This computation can take a very long time on larger datasets or if more than two tables are involved.

Graph database management systems do not suffer from these problems. The join operations are effectively precalculated and explicitly persisted in the database based on the relationships that connect nodes together. Therefore, joining data becomes as simple as hopping from one node to another--effectively, as simple as following a pointer. These complex questions that are so difficult to ask in a relational world are extremely simple, efficient, and fast in a graph structure.

主站蜘蛛池模板: 溆浦县| 阿尔山市| 闽清县| 久治县| 惠来县| 松原市| 黔江区| 安徽省| 南川市| 河北省| 保靖县| 连南| 太原市| 渝中区| 集安市| 商河县| 保山市| 宁陕县| 辽阳市| 铜梁县| 长寿区| 万源市| 班玛县| 石棉县| 壤塘县| 汶川县| 通许县| 民和| 和顺县| 宕昌县| 大姚县| 紫金县| 徐闻县| 始兴县| 闽清县| 锡林浩特市| 松溪县| 渝北区| 十堰市| 太湖县| 栾城县|