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

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.

主站蜘蛛池模板: 张掖市| 曲沃县| 临泉县| 微山县| 海淀区| 靖州| 唐海县| 五河县| 临江市| 隆尧县| 深泽县| 西丰县| 酒泉市| 巧家县| 社旗县| 昔阳县| 海淀区| 中山市| 舒兰市| 澎湖县| 闵行区| 邵武市| 炎陵县| 汉阴县| 万州区| 安仁县| 丰城市| 拉孜县| 通海县| 昭通市| 隆安县| 乌海市| 怀化市| 刚察县| 南宁市| 巴林右旗| 开原市| 石屏县| 巴塘县| 右玉县| 贺兰县|