What is a Graph Database?
A graph database is a type of data storage that uses vertices and edges to directly relate data.
Graph Entities
Vertices
Edges
Example Domains
Example Domain - Taxonomy
Example Domain - Social Graph
Example Domain - Logistics
Example Domain - Logistics
Hub
Truck
Hub
assigned_to
route
route
Hub
route
route
Truck
Truck
Why use a Graph?
Why use a graph model?
Highly Interconnected Data
Highly Interconnected Data
Complex Queries
Complex Queries
Rapidly Changing Domain / Model
When NOT to use a Graph?
Inappropriate Use-Cases
How to use a Graph DB
Graph is on the rise.
But it’s still dwarfed by RDBMS
Apache TinkerPop
Apache TinkerPop
Why TinkerPop?
source: tinkerpop.apache.org/docs/current/tutorials/getting-started/#_why_tinkerpop
Why TinkerPop?
source: tinkerpop.apache.org