Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Graph databases | PPTX | Databases | Computer Software and Applications
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

PPTX
Introduction to Graph Databases
PDF
Graph based data models
PPT
Graph database
PDF
Intro to Graphs and Neo4j
PPTX
NoSQL Graph Databases - Why, When and Where
PDF
Introduction to Graph Databases
PDF
RDBMS to Graph
PPTX
Intro to Neo4j
Introduction to Graph Databases
Graph based data models
Graph database
Intro to Graphs and Neo4j
NoSQL Graph Databases - Why, When and Where
Introduction to Graph Databases
RDBMS to Graph
Intro to Neo4j

What's hot (20)

PDF
Workshop - Neo4j Graph Data Science
PDF
Intro to Neo4j and Graph Databases
PPTX
NOSQL Databases types and Uses
PDF
Introduction to column oriented databases
PDF
Neo4j Presentation
PPTX
Introduction to NoSQL Databases
ZIP
NoSQL databases
PDF
Introduction to Data Governance
PDF
Neo4j GraphDay Seattle- Sept19- neo4j basic training
PDF
Intro to Graphs and Neo4j
ODP
Graph databases
PDF
Graph database Use Cases
PPSX
OLAP OnLine Analytical Processing
PDF
Introducing Neo4j
PPT
OLAP Cubes in Datawarehousing
PDF
Future of Data Engineering
PDF
Data science
PDF
Data Warehouse Tutorial For Beginners | Data Warehouse Concepts | Data Wareho...
PPTX
introduction to NOSQL Database
PDF
Data Warehouse or Data Lake, Which Do I Choose?
Workshop - Neo4j Graph Data Science
Intro to Neo4j and Graph Databases
NOSQL Databases types and Uses
Introduction to column oriented databases
Neo4j Presentation
Introduction to NoSQL Databases
NoSQL databases
Introduction to Data Governance
Neo4j GraphDay Seattle- Sept19- neo4j basic training
Intro to Graphs and Neo4j
Graph databases
Graph database Use Cases
OLAP OnLine Analytical Processing
Introducing Neo4j
OLAP Cubes in Datawarehousing
Future of Data Engineering
Data science
Data Warehouse Tutorial For Beginners | Data Warehouse Concepts | Data Wareho...
introduction to NOSQL Database
Data Warehouse or Data Lake, Which Do I Choose?
Ad

Viewers also liked (15)

PDF
Designing and Building a Graph Database Application – Architectural Choices, ...
PPTX
Relational to Graph - Import
PDF
Relational vs. Non-Relational
KEY
NoSQL: Why, When, and How
PPTX
Lju Lazarevic
PDF
Converting Relational to Graph Databases
PDF
Graph Database, a little connected tour - Castano
PPTX
Relational databases vs Non-relational databases
PPTX
Neo4j - graph database for recommendations
PDF
Graph Based Recommendation Systems at eBay
PPT
An Introduction to Graph Databases
PDF
Introduction to graph databases GraphDays
PPTX
An Introduction to NOSQL, Graph Databases and Neo4j
PPTX
Data Mining: Graph mining and social network analysis
PDF
Data Modeling with Neo4j
Designing and Building a Graph Database Application – Architectural Choices, ...
Relational to Graph - Import
Relational vs. Non-Relational
NoSQL: Why, When, and How
Lju Lazarevic
Converting Relational to Graph Databases
Graph Database, a little connected tour - Castano
Relational databases vs Non-relational databases
Neo4j - graph database for recommendations
Graph Based Recommendation Systems at eBay
An Introduction to Graph Databases
Introduction to graph databases GraphDays
An Introduction to NOSQL, Graph Databases and Neo4j
Data Mining: Graph mining and social network analysis
Data Modeling with Neo4j
Ad

Similar to Graph databases (20)

PPTX
Graph Database and Why it is gaining traction
PDF
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
PDF
A Study on Graph Storage Database of NOSQL
PDF
A Study on Graph Storage Database of NOSQL
PDF
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
PPTX
Ramya ppt.pptx
PPTX
Unit 5.pptx computer graphics and gaming
PDF
Keynote: Anything is Possible: Apply Graphs to Your Most Complex Data Problem...
PPTX
unit2-ppt1.pptx
PPTX
NoSQL databases
PPTX
Introduction to asdfghjkln b vfgh n v
PPTX
2.Introduction to NOSQL (Core concepts).pptx
PPTX
Selecting the right database type for your knowledge management needs.
PPTX
Graph Databases
PDF
NOsql Presentation.pdf
ODP
How do You Graph
PPTX
Introduction to nosql
PPTX
Database at Scale (Different db types).pptx
PPTX
Choosing your NoSQL storage
PPTX
No SQL- The Future Of Data Storage
Graph Database and Why it is gaining traction
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
Ramya ppt.pptx
Unit 5.pptx computer graphics and gaming
Keynote: Anything is Possible: Apply Graphs to Your Most Complex Data Problem...
unit2-ppt1.pptx
NoSQL databases
Introduction to asdfghjkln b vfgh n v
2.Introduction to NOSQL (Core concepts).pptx
Selecting the right database type for your knowledge management needs.
Graph Databases
NOsql Presentation.pdf
How do You Graph
Introduction to nosql
Database at Scale (Different db types).pptx
Choosing your NoSQL storage
No SQL- The Future Of Data Storage

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
A Presentation on Artificial Intelligence
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Weekly Chronicles - August'25 Week I
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Encapsulation_ Review paper, used for researhc scholars
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
A Presentation on Artificial Intelligence
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Weekly Chronicles - August'25 Week I

Graph databases

  • 1. Graph Databases Introduction & Concepts Vinoth Kannan vinoth.kannan@widas.de 1
  • 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