SlideShare a Scribd company logo
Graph Databases
Introduction & Concepts

Vinoth Kannan
vinoth.kannan@widas.de
1
Agenda
Overview of NoSQL
What is a Graph Database
Concept
Some Use Cases
Conclusion
2
Overview of NoSQL

NoSQL
Not Only SQL

3
Types of NoSQL

Key Value Stores
Column Family
Document Databases
Graph Databases

4
Key-Value Store
Types of NoSQL

Based on Amazon’s Dynamo platform: Highly
Available Key-Value Store
Data Model:
Global key-value mapping
Big scalable HashMap
Highly fault tolerant

Examples:
Redis, Riak, Voldemort, Tokyo

5
Column Family
NoSQL Types

Based on BigTable: Google’s Distributed Storage
System for Structured Data
Data Model:
A big table, with column families
Map Reduce for querying/processing
Every row can have its own Schema

Examples:
HBase, HyperTable, Cassandra

6
Document Databases
NoSQL Types

Based on Lotus Notes
Data Model:
A collection of documents
A document is a key value collection
Index-centric, lots of map-reduce

Examples:
CouchDB, MongoDB

7
Graph Databases
NoSQL Types

Based on Euler & Graph Theory
Data Model:
Nodes and Relationships

Examples:
Neo4j, OrientDB, InfiniteGraph, AllegroGraph, Titan

8
NoSQL Performace
Complexity vs Size

………………..

Graph
Store

Data Complexity

Document
Store
CF Store
K-V
Store

RDBMS

Data Size
9
What is a Graph?
An abstract representation of a set of objects where
some pairs are connected by links.

Name

Object (Vertex, Node)

Link (Edge, Arc, Relationship)
Different Types of Graphs
Graph Type
Undirected Graph

Directed Graph

Pseudo Graph

Multi Graph

Hyper Graph

Diagram
Different Types of Graphs
Graph Type

Weighted Graph

Labeled Graph

Property Graph

Diagram
What is a Graph Database?
A database with an explicit graph structure
Each node knows its adjacent nodes
Even as the number of nodes increases, the cost of a
local step (or hop) remains the same
Plus an Index for lookups
Transactional based
Compared to Relational Databases

Optimized for aggregation

Optimized for connections
Compared to Key Value Stores

Optimized for simple look-ups

Optimized for traversing connected
data
Compared to Key Value Stores

Optimized for “trees” of data

Optimized for seeing the forest and
the trees, and the branches, and the
trunks
Friends Recommendation
Wondered How ?

17
Graph Databases
Basic Concepts – Social Data

Name= “Elena”
Name= “Vinoth”
City= “PF “

Name= “Emanuel”

Name= “Joachim”

3

FRIEND

1

6

12

FRIEND
RELATED

Since : 2012

2
Name= “Thomas”

City= “Wimsheim

9

”
Name= “Y”

18
Graph Search Feature of FB
Wondered How ?

19
Graph Databases
Basic Concepts – Connection based

Name= “Elena”
Name= “Vinoth”
City= “PF

”

Name= “WIDAS”

3
1

6
FRIEND

Since : 2012

2
Name= “Thomas”

City= “Wimsheim

”

20
Graph Databases
Basic Concepts – Spatial Data
Name= “Stuttgart Hbf”
Lat = 48.460
Lon = 9.1040

Name= “WIDAS”
Lat = 48.510
Lon = 8.790

Name= “…..”
Lat = 41.000
Lon = 9.840

distance: 24 km

3

ROAD

1

ROAD

6

12

distance: 51 km

ROAD
distance: 12 km

2
Name= “Pforzheim Cafe”
Lat = 48.530
Lon = 8.420

9

21
Power of Graph Database

Social Data

+
Spatial Data

22
Graph Databases
Basic Concepts – Social and Spatial Data
Name= “Stuttgart”
Lat = 41.000
Lon = 40.840

Name= “WIDAS”
Lat = 41.000
Lon = 40.840

Name= Thomas
Travel_rating = expert

distance: 24 km

3

Name= Elena
Travel_rating = novice

FRIENDS

1

ROAD

6

12

distance: 51 km

distance: 12 km

2
Name= “Pforzheim”
Lat = 41.000
Lon = 40.840

23
Some Use Cases
Highly connected data (social networks)
Recommendations (e-commerce)
Path Finding (how do I know you?)
Anamoly Detection (Financial Services)
FDS System with GraphDB

Name= “Vinoth”
IBAN= “DE1234

Name= “Xing Lee”
Country = “China”
IBAN = “XXXXXX”

”

Name= “ATM@Romania”
Lat = 41.000
Lon = 40.840

TRANSFERS

3

6

1

amount: € 4500
LIVES

2
Name= “Pforzheim”
Lat = 41.000
Lon = 40.840

MARKED

9

Name= “Blacklist”

25
Thank you!

More Related Content

What's hot (20)

PPTX
Key-Value NoSQL Database
Heman Hosainpana
 
PDF
RDBMS to Graph
Neo4j
 
PDF
Introducing Neo4j
Neo4j
 
PPTX
Apache HBase™
Prashant Gupta
 
PPTX
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
PPT
Graph database
Shruti Arya
 
PDF
Introduction to Graph Databases
DataStax
 
PDF
NOSQLEU - Graph Databases and Neo4j
Tobias Lindaaker
 
PDF
Big Data Architecture
Guido Schmutz
 
PPTX
Introduction To Hadoop | What Is Hadoop And Big Data | Hadoop Tutorial For Be...
Simplilearn
 
PPTX
Data streaming fundamentals
Mohammed Fazuluddin
 
PPTX
Tableau slideshare
Sakshi Jain
 
PPT
7. Key-Value Databases: In Depth
Fabio Fumarola
 
PPTX
Apache hive introduction
Mahmood Reza Esmaili Zand
 
PPTX
NOSQL Databases types and Uses
Suvradeep Rudra
 
PPTX
MongoDB presentation
Hyphen Call
 
PPTX
Introduction to Hadoop
Dr. C.V. Suresh Babu
 
PPT
Introduction to MongoDB
Ravi Teja
 
PPTX
introduction to NOSQL Database
nehabsairam
 
PPTX
Introduction to Hadoop and Hadoop component
rebeccatho
 
Key-Value NoSQL Database
Heman Hosainpana
 
RDBMS to Graph
Neo4j
 
Introducing Neo4j
Neo4j
 
Apache HBase™
Prashant Gupta
 
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
Graph database
Shruti Arya
 
Introduction to Graph Databases
DataStax
 
NOSQLEU - Graph Databases and Neo4j
Tobias Lindaaker
 
Big Data Architecture
Guido Schmutz
 
Introduction To Hadoop | What Is Hadoop And Big Data | Hadoop Tutorial For Be...
Simplilearn
 
Data streaming fundamentals
Mohammed Fazuluddin
 
Tableau slideshare
Sakshi Jain
 
7. Key-Value Databases: In Depth
Fabio Fumarola
 
Apache hive introduction
Mahmood Reza Esmaili Zand
 
NOSQL Databases types and Uses
Suvradeep Rudra
 
MongoDB presentation
Hyphen Call
 
Introduction to Hadoop
Dr. C.V. Suresh Babu
 
Introduction to MongoDB
Ravi Teja
 
introduction to NOSQL Database
nehabsairam
 
Introduction to Hadoop and Hadoop component
rebeccatho
 

Viewers also liked (15)

PDF
Designing and Building a Graph Database Application – Architectural Choices, ...
Neo4j
 
PPTX
Relational to Graph - Import
Neo4j
 
PDF
Relational vs. Non-Relational
PostgreSQL Experts, Inc.
 
KEY
NoSQL: Why, When, and How
BigBlueHat
 
PPTX
Lju Lazarevic
Connected Data World
 
PDF
Converting Relational to Graph Databases
Antonio Maccioni
 
PDF
Graph Database, a little connected tour - Castano
Codemotion
 
PPTX
Relational databases vs Non-relational databases
James Serra
 
PPTX
Neo4j - graph database for recommendations
proksik
 
PDF
Graph Based Recommendation Systems at eBay
DataStax Academy
 
PPT
An Introduction to Graph Databases
InfiniteGraph
 
PDF
Introduction to graph databases GraphDays
Neo4j
 
PPTX
An Introduction to NOSQL, Graph Databases and Neo4j
Debanjan Mahata
 
PPTX
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
PDF
Data Modeling with Neo4j
Neo4j
 
Designing and Building a Graph Database Application – Architectural Choices, ...
Neo4j
 
Relational to Graph - Import
Neo4j
 
Relational vs. Non-Relational
PostgreSQL Experts, Inc.
 
NoSQL: Why, When, and How
BigBlueHat
 
Lju Lazarevic
Connected Data World
 
Converting Relational to Graph Databases
Antonio Maccioni
 
Graph Database, a little connected tour - Castano
Codemotion
 
Relational databases vs Non-relational databases
James Serra
 
Neo4j - graph database for recommendations
proksik
 
Graph Based Recommendation Systems at eBay
DataStax Academy
 
An Introduction to Graph Databases
InfiniteGraph
 
Introduction to graph databases GraphDays
Neo4j
 
An Introduction to NOSQL, Graph Databases and Neo4j
Debanjan Mahata
 
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
Data Modeling with Neo4j
Neo4j
 
Ad

Similar to Graph databases (20)

PPTX
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
PDF
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
PDF
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
PDF
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
PDF
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
PPTX
Ramya ppt.pptx
RRamyaDevi
 
PPTX
Unit 5.pptx computer graphics and gaming
SwapnaliLimkar
 
PDF
Keynote: Anything is Possible: Apply Graphs to Your Most Complex Data Problem...
Neo4j
 
PPTX
unit2-ppt1.pptx
revathigollu23
 
PPTX
NoSQL databases
Filip Ilievski
 
PPTX
Introduction to asdfghjkln b vfgh n v
23mz02
 
PPTX
2.Introduction to NOSQL (Core concepts).pptx
RushikeshChikane2
 
PPTX
Selecting the right database type for your knowledge management needs.
Synaptica, LLC
 
PPTX
Graph Databases
thai
 
PDF
NOsql Presentation.pdf
AkshayDwivedi31
 
ODP
How do You Graph
Ben Krug
 
PPTX
Introduction to nosql
Zuhaib Ansari
 
PPTX
Database at Scale (Different db types).pptx
mohammad441
 
PPTX
Choosing your NoSQL storage
Imteyaz Khan
 
PPTX
No SQL- The Future Of Data Storage
Bethmi Gunasekara
 
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
Ramya ppt.pptx
RRamyaDevi
 
Unit 5.pptx computer graphics and gaming
SwapnaliLimkar
 
Keynote: Anything is Possible: Apply Graphs to Your Most Complex Data Problem...
Neo4j
 
unit2-ppt1.pptx
revathigollu23
 
NoSQL databases
Filip Ilievski
 
Introduction to asdfghjkln b vfgh n v
23mz02
 
2.Introduction to NOSQL (Core concepts).pptx
RushikeshChikane2
 
Selecting the right database type for your knowledge management needs.
Synaptica, LLC
 
Graph Databases
thai
 
NOsql Presentation.pdf
AkshayDwivedi31
 
How do You Graph
Ben Krug
 
Introduction to nosql
Zuhaib Ansari
 
Database at Scale (Different db types).pptx
mohammad441
 
Choosing your NoSQL storage
Imteyaz Khan
 
No SQL- The Future Of Data Storage
Bethmi Gunasekara
 
Ad

Recently uploaded (20)

PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Digital Circuits, important subject in CS
contactparinay1
 

Graph databases

  • 2. Agenda Overview of NoSQL What is a Graph Database Concept Some Use Cases Conclusion 2
  • 4. Types of NoSQL Key Value Stores Column Family Document Databases Graph Databases 4
  • 5. Key-Value Store Types of NoSQL Based on Amazon’s Dynamo platform: Highly Available Key-Value Store Data Model: Global key-value mapping Big scalable HashMap Highly fault tolerant Examples: Redis, Riak, Voldemort, Tokyo 5
  • 6. Column Family NoSQL Types Based on BigTable: Google’s Distributed Storage System for Structured Data Data Model: A big table, with column families Map Reduce for querying/processing Every row can have its own Schema Examples: HBase, HyperTable, Cassandra 6
  • 7. Document Databases NoSQL Types Based on Lotus Notes Data Model: A collection of documents A document is a key value collection Index-centric, lots of map-reduce Examples: CouchDB, MongoDB 7
  • 8. Graph Databases NoSQL Types Based on Euler & Graph Theory Data Model: Nodes and Relationships Examples: Neo4j, OrientDB, InfiniteGraph, AllegroGraph, Titan 8
  • 9. NoSQL Performace Complexity vs Size ……………….. Graph Store Data Complexity Document Store CF Store K-V Store RDBMS Data Size 9
  • 10. What is a Graph? An abstract representation of a set of objects where some pairs are connected by links. Name Object (Vertex, Node) Link (Edge, Arc, Relationship)
  • 11. Different Types of Graphs Graph Type Undirected Graph Directed Graph Pseudo Graph Multi Graph Hyper Graph Diagram
  • 12. Different Types of Graphs Graph Type Weighted Graph Labeled Graph Property Graph Diagram
  • 13. What is a Graph Database? A database with an explicit graph structure Each node knows its adjacent nodes Even as the number of nodes increases, the cost of a local step (or hop) remains the same Plus an Index for lookups Transactional based
  • 14. Compared to Relational Databases Optimized for aggregation Optimized for connections
  • 15. Compared to Key Value Stores Optimized for simple look-ups Optimized for traversing connected data
  • 16. Compared to Key Value Stores Optimized for “trees” of data Optimized for seeing the forest and the trees, and the branches, and the trunks
  • 18. Graph Databases Basic Concepts – Social Data Name= “Elena” Name= “Vinoth” City= “PF “ Name= “Emanuel” Name= “Joachim” 3 FRIEND 1 6 12 FRIEND RELATED Since : 2012 2 Name= “Thomas” City= “Wimsheim 9 ” Name= “Y” 18
  • 19. Graph Search Feature of FB Wondered How ? 19
  • 20. Graph Databases Basic Concepts – Connection based Name= “Elena” Name= “Vinoth” City= “PF ” Name= “WIDAS” 3 1 6 FRIEND Since : 2012 2 Name= “Thomas” City= “Wimsheim ” 20
  • 21. Graph Databases Basic Concepts – Spatial Data Name= “Stuttgart Hbf” Lat = 48.460 Lon = 9.1040 Name= “WIDAS” Lat = 48.510 Lon = 8.790 Name= “…..” Lat = 41.000 Lon = 9.840 distance: 24 km 3 ROAD 1 ROAD 6 12 distance: 51 km ROAD distance: 12 km 2 Name= “Pforzheim Cafe” Lat = 48.530 Lon = 8.420 9 21
  • 22. Power of Graph Database Social Data + Spatial Data 22
  • 23. Graph Databases Basic Concepts – Social and Spatial Data Name= “Stuttgart” Lat = 41.000 Lon = 40.840 Name= “WIDAS” Lat = 41.000 Lon = 40.840 Name= Thomas Travel_rating = expert distance: 24 km 3 Name= Elena Travel_rating = novice FRIENDS 1 ROAD 6 12 distance: 51 km distance: 12 km 2 Name= “Pforzheim” Lat = 41.000 Lon = 40.840 23
  • 24. Some Use Cases Highly connected data (social networks) Recommendations (e-commerce) Path Finding (how do I know you?) Anamoly Detection (Financial Services)
  • 25. FDS System with GraphDB Name= “Vinoth” IBAN= “DE1234 Name= “Xing Lee” Country = “China” IBAN = “XXXXXX” ” Name= “ATM@Romania” Lat = 41.000 Lon = 40.840 TRANSFERS 3 6 1 amount: € 4500 LIVES 2 Name= “Pforzheim” Lat = 41.000 Lon = 40.840 MARKED 9 Name= “Blacklist” 25

Editor's Notes

  • #12: An undirected graph is one in which edges have no orientation. The edge (a, b) is identical to the edge (b, a).A directed graph or digraph is an ordered pair D = (V, A)A pseudo graph is a graph with loopsA multi graph allows for multiple edges between nodesA hyper graph allows an edge to join more than two nodes
  • #13: An undirected graph is one in which edges have no orientation. The edge (a, b) is identical to the edge (b, a).A directed graph or digraph is an ordered pair D = (V, A)A pseudo graph is a graph with loopsA multi graph allows for multiple edges between nodesA hyper graph allows an edge to join more than two nodes