Skip to Content
グラフデータベース ―Neo4jによるグラフデータモデルとグラフデータベース入門
book

グラフデータベース ―Neo4jによるグラフデータモデルとグラフデータベース入門

by Ian Robinson, Jim Webber, Emil Eifrem, 佐藤 直生, 木下 哲也
March 2015
Intermediate to advanced
236 pages
4h 1m
Japanese
O'Reilly Japan, Inc.
Content preview from グラフデータベース ―Neo4jによるグラフデータモデルとグラフデータベース入門

5章実世界のグラフ

本章では、実世界でのグラフデータベースの一般的なユースケースを考察し、リレーショナルストアや他のNoSQLストアではなくグラフデータベースを使うことにした理由を突き止めます。本章の大部分は、3つの詳細なユースケースと関連するデータモデルやクエリの詳細からなります。それぞれの例は、実世界の本番システムを基にしています。しかし、名前を変えており、必要に応じて技術的詳細を簡素化して余計な複雑さを隠し、重要な設計ポイントを浮き彫りにしています。

5.1 グラフデータベースを選ぶ理由

本書では終始、グラフデータベースモデルとその威力、柔軟性、本来備わっている表現力をほめたたえています。実世界の問題へのグラフデータベースの適用に関しては、実世界での技術的制約やビジネス上の制約があるため、以下の理由からグラフデータベースを選びます。

「分単位から秒単位」のパフォーマンス
クエリのパフォーマンスと応答性は、データプラットフォームに関する多くの懸念事項の上位を占めます。特にオンライントランザクションシステムや大規模Webアプリケーションでは、成功を収めたいならエンドユーザにミリ秒単位で応答しなければいけません。リレーショナル領域では、アプリケーションのデータサイズが増えるにつれ、結合が悩みの種となり始め、パフォーマンスが悪化します。グラフデータベースはインデックスなし隣接性を使って複雑な結合を高速なグラフ走査に変えるため、データセットの全体サイズにかかわらずミリ秒単位のパフォーマンスを維持します。
開発サイクルの大幅な短縮
グラフデータモデルは、ソフトウェア開発を数十年間苦しめてきたインピーダンスミスマッチを減らすので、オブジェクトモデルと表形式のリレーショナルモデルとの間を行きつ戻りつ変換する開発オーバーヘッドが減少します。さらに重要なことに、グラフモデルは技術ドメインとビジネスドメインとの間のインピーダンスミスマッチも減らします。対象分野の専門家、アーキテクト、開発者が、後にアプリケーションに組み込む共有モデルを使って中核ドメインについて話し合い、頭に描きます。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

AI技術を活かすためのスキル ―データをビジネスの意思決定に繋げるために

AI技術を活かすためのスキル ―データをビジネスの意思決定に繋げるために

Daniel Vaughan, 西内 啓, 長尾 高弘
進化的アーキテクチャ ―絶え間ない変化を支える

進化的アーキテクチャ ―絶え間ない変化を支える

Neal Ford, Rebecca Parsons, Patrick Kua, 島田 浩二
データサイエンス講義

データサイエンス講義

Rachel Schutt, Cathy O'Neil, 瀬戸山 雅人, 石井 弓美子, 河内 崇, 河内 真理子, 古畠 敦, 木下 哲也, 竹田 正和, 佐藤 正士, 望月 啓充

Publisher Resources

ISBN: 9784873117140Other