SlideShare a Scribd company logo
GGRAPHRAPH
DDATABASEATABASE
Shruti Arya
July 22, 2013
Graph Database
GRAPH DATABASE
A graph is a set of nodes
interconnected by links .
A database is an organised
collection of data.
A Graph Database is a database that
uses graph structures with nodes,
edges, and properties to represent
and store information.
The Graph DB Model
 Graph databases are NoSQL databases.
 NoSQL is a data storage technology.
 NoSQL simply means “ NOT ONLY SQL”.
NNeed of Grapheed of Graph
DatabaseDatabase //
NoSQLNoSQL
IINCREASING SIZE OF DATANCREASING SIZE OF DATA
SETSET
2007 2008
2009
2010
2011?
0
500
1000
1500
2000
2500
3000
• Text (content)
• Hyper-Text (added pointers)
• RSS (joined those pointers)
• Blogs (added pingbacks)
• Tagging (grouped related
data)
• RDF (described connected
data)
• GGG (content + pointers
+ relationships +
descriptions)
CCONNECTED-NESSONNECTED-NESS
GGG = Giant global graph
SSEMI-EMI-SSTRUCTUREDTRUCTURED IINFORMATIONNFORMATION
 If you tried to collect all the data of every movie ever
made, how would you model it?
 Actors, Characters, Locations, Dates, Costs, Ratings,
Showings, Ticket Sales, etc.
 Need to store more data about each entity
AARCHITECTURERCHITECTURE
Graph database
Four NoSQL Quadrants / Categories
Graph database
Graph database
Key Value Stores: Pros and Cons
Pros:
Simple data model
Scalable
Cons:
Create your own “foreign keys”
Poor for complex data
Column Family: Pros and Cons
Pros:
Supports Simi-Structured Data
Naturally Indexed (columns)
Scalable
Cons:
Poor for interconnected data
Document Databases: Pros and Cons
Pros:
Simple, powerful data model
Scalable
Cons:
Poor for interconnected data
Query model limited to keys and indexes
Map reduce for larger queries
Graph Databases: Pros and Cons
Pros:
Powerful data model, as general as RDBMS
Connected data locally indexed
Easy to query
Cons:
Requires rewiring your brain
HHOWOW GGRAPHRAPH DDATABASESATABASES
WWORKORK ??
The Graph DB Model
“A Graph —records data in→ Nodes —which have→
Properties”
“Nodes —are organized by Relationships —which also have→ →
Properties”
Graph database
Building a Node Space
Building a Node Space
Defining Relationship Types
The Graph DB Model : traversal
Graph database
Traversing a Node Space
QQUERYUERY AA GGRAPHRAPH WWITHITH TTRAVERSALRAVERSAL
“A Traversal —navigates→ a Graph; it —identifies→ Paths
—which order→ Nodes”
Graph Database Vendors 
 Neo4J (neo4j.org)
 OrientDB (orientechnologies.com)
 Dex
 HyperGraphDB
 Infogrid
 Sones
Graph Database Use Cases 
 Clustering  Task Planning
 Social Connections  Scheduling
 Hubs  Process Assignation
 Graph Mining  Routing
 Centrality Measures  Logistics
 Location Based services  League Planning
Graph Like Applications
 Recommendations
– Heuristics (Page Rank)
– Local
 Shortest Paths
 Hammock Functions
 Walks
 Search algorithms
 Shooting stars
 K-nearest neighbours
Some of the best-known uses of graph databases include Google’s
Knowledge Graph, Facebook's Social Graph and Twitter’s Interest Graph.
 If your database is highly associative
 If your data is NOT used for statistical analysis, data
mining and exploration, or operational research
 If you have large data sets with changing or on-the-
fly schemas
When To Use Graph Databases?
 Represent related data as it inherently is. So, developers can start
coding immediately
 Great performance , as graph databases, which are defined as
any storage system that provides index-free adjacency. What this
means is that every element in the database contains a direct link
to its adjacent element, and so no need of joins
 Response time remains constant, not depending on the total
amount of data stored.
Benefits Of Graph Databases?
Thank you…. 

More Related Content

What's hot (20)

PPTX
NoSQL Graph Databases - Why, When and Where
Eugene Hanikblum
 
PDF
Introducing Neo4j
Neo4j
 
PDF
Introduction to Graph Databases
DataStax
 
PPTX
Graph databases
Vinoth Kannan
 
KEY
Intro to Neo4j presentation
jexp
 
PDF
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
PPTX
Intro to Neo4j
Neo4j
 
PPTX
Introduction to snowflake
Sunil Gurav
 
PDF
adb.pdf
AdityaMehta724216
 
PPTX
Introduction to MongoDB
MongoDB
 
PDF
RDBMS to Graph
Neo4j
 
PPTX
Introduction to NoSQL Databases
Derek Stainer
 
PDF
Introduction of Knowledge Graphs
Jeff Z. Pan
 
PPTX
MongoDB
Anthony Slabinck
 
PPTX
Mongodb vs mysql
hemal sharma
 
PPTX
An Introduction To NoSQL & MongoDB
Lee Theobald
 
PDF
NoSQL databases
Marin Dimitrov
 
PDF
A Thorough Comparison of Delta Lake, Iceberg and Hudi
Databricks
 
PPTX
Programming in Spark using PySpark
Mostafa
 
PDF
Achieving Lakehouse Models with Spark 3.0
Databricks
 
NoSQL Graph Databases - Why, When and Where
Eugene Hanikblum
 
Introducing Neo4j
Neo4j
 
Introduction to Graph Databases
DataStax
 
Graph databases
Vinoth Kannan
 
Intro to Neo4j presentation
jexp
 
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Intro to Neo4j
Neo4j
 
Introduction to snowflake
Sunil Gurav
 
Introduction to MongoDB
MongoDB
 
RDBMS to Graph
Neo4j
 
Introduction to NoSQL Databases
Derek Stainer
 
Introduction of Knowledge Graphs
Jeff Z. Pan
 
Mongodb vs mysql
hemal sharma
 
An Introduction To NoSQL & MongoDB
Lee Theobald
 
NoSQL databases
Marin Dimitrov
 
A Thorough Comparison of Delta Lake, Iceberg and Hudi
Databricks
 
Programming in Spark using PySpark
Mostafa
 
Achieving Lakehouse Models with Spark 3.0
Databricks
 

Viewers also liked (19)

PPTX
Php-Continuation
lotlot
 
PDF
Cio summit 20170223_v20
Joshua Bae
 
PPTX
The hippocratic oath
DAYANAJOSE002
 
PPTX
Types of database
faizan1712818
 
PDF
Intro to Graphs and Neo4j
Neo4j
 
PDF
Graph database super star
andres_taylor
 
PPS
Oracle Database Overview
honglee71
 
PPTX
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
PPTX
Types of databases
PAQUIAAIZEL
 
PPT
Worlds of Words
KathyGShort
 
PPTX
Space Luggage
BlueBerryAsia
 
PPTX
Company Formation in Lithuania
BridgeWest.eu
 
ODP
Vincenzo Attomanelli 3_slide-share
Vincenzo Lxcc Linux
 
PDF
Zreiss
Sabir Abdo
 
PPT
Strategies to Engage in Social Media - Will Scott- Search Influence
el_chambers
 
PPTX
Alison Sealey
FASTECH Project
 
PDF
Ct 2011 2(1)
shukriadini
 
DOCX
The silent whisper production diary
shaun_95
 
Php-Continuation
lotlot
 
Cio summit 20170223_v20
Joshua Bae
 
The hippocratic oath
DAYANAJOSE002
 
Types of database
faizan1712818
 
Intro to Graphs and Neo4j
Neo4j
 
Graph database super star
andres_taylor
 
Oracle Database Overview
honglee71
 
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
Types of databases
PAQUIAAIZEL
 
Worlds of Words
KathyGShort
 
Space Luggage
BlueBerryAsia
 
Company Formation in Lithuania
BridgeWest.eu
 
Vincenzo Attomanelli 3_slide-share
Vincenzo Lxcc Linux
 
Zreiss
Sabir Abdo
 
Strategies to Engage in Social Media - Will Scott- Search Influence
el_chambers
 
Alison Sealey
FASTECH Project
 
Ct 2011 2(1)
shukriadini
 
The silent whisper production diary
shaun_95
 
Ad

Similar to Graph database (20)

PDF
Graph Database
Richard Kuo
 
PDF
Approaching graph db
Sergey Enin
 
PPTX
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
PPTX
Graph Databases
thai
 
PPTX
Ramya ppt.pptx
RRamyaDevi
 
PDF
Whatis neo4j
Sri Banigandlapati
 
PPTX
Intro to Neo4j with Ruby
Max De Marzi
 
PPTX
NoSQL 5 2_graph Database Edited - Updated.pptx.pptx
ajajkhan16
 
PDF
Intro to Graphs for Fedict
Rik Van Bruggen
 
PPT
Graph db
Gagan Agrawal
 
PPT
10. Graph Databases
Fabio Fumarola
 
ODP
Graph databases
Karol Grzegorczyk
 
PDF
Graph database Use Cases
Max De Marzi
 
PDF
Graph Database Use Cases - StampedeCon 2015
StampedeCon
 
PPTX
GraphDatabase.pptx
JeyaVarthini1
 
PDF
Complex Telco Networks as Simple Graphs
Neo4j
 
PPTX
GraphDB
Ömer Taşkın
 
PDF
A Survey on Graph Database Management Techniques for Huge Unstructured Data
IJECEIAES
 
PPTX
Graph Databases
Girish Khanzode
 
Graph Database
Richard Kuo
 
Approaching graph db
Sergey Enin
 
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
Graph Databases
thai
 
Ramya ppt.pptx
RRamyaDevi
 
Whatis neo4j
Sri Banigandlapati
 
Intro to Neo4j with Ruby
Max De Marzi
 
NoSQL 5 2_graph Database Edited - Updated.pptx.pptx
ajajkhan16
 
Intro to Graphs for Fedict
Rik Van Bruggen
 
Graph db
Gagan Agrawal
 
10. Graph Databases
Fabio Fumarola
 
Graph databases
Karol Grzegorczyk
 
Graph database Use Cases
Max De Marzi
 
Graph Database Use Cases - StampedeCon 2015
StampedeCon
 
GraphDatabase.pptx
JeyaVarthini1
 
Complex Telco Networks as Simple Graphs
Neo4j
 
A Survey on Graph Database Management Techniques for Huge Unstructured Data
IJECEIAES
 
Graph Databases
Girish Khanzode
 
Ad

Recently uploaded (20)

PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 

Graph database

  • 2. Graph Database GRAPH DATABASE A graph is a set of nodes interconnected by links . A database is an organised collection of data.
  • 3. A Graph Database is a database that uses graph structures with nodes, edges, and properties to represent and store information.
  • 4. The Graph DB Model
  • 5.  Graph databases are NoSQL databases.  NoSQL is a data storage technology.  NoSQL simply means “ NOT ONLY SQL”.
  • 6. NNeed of Grapheed of Graph DatabaseDatabase // NoSQLNoSQL
  • 7. IINCREASING SIZE OF DATANCREASING SIZE OF DATA SETSET 2007 2008 2009 2010 2011? 0 500 1000 1500 2000 2500 3000
  • 8. • Text (content) • Hyper-Text (added pointers) • RSS (joined those pointers) • Blogs (added pingbacks) • Tagging (grouped related data) • RDF (described connected data) • GGG (content + pointers + relationships + descriptions) CCONNECTED-NESSONNECTED-NESS GGG = Giant global graph
  • 9. SSEMI-EMI-SSTRUCTUREDTRUCTURED IINFORMATIONNFORMATION  If you tried to collect all the data of every movie ever made, how would you model it?  Actors, Characters, Locations, Dates, Costs, Ratings, Showings, Ticket Sales, etc.  Need to store more data about each entity
  • 12. Four NoSQL Quadrants / Categories
  • 15. Key Value Stores: Pros and Cons Pros: Simple data model Scalable Cons: Create your own “foreign keys” Poor for complex data
  • 16. Column Family: Pros and Cons Pros: Supports Simi-Structured Data Naturally Indexed (columns) Scalable Cons: Poor for interconnected data
  • 17. Document Databases: Pros and Cons Pros: Simple, powerful data model Scalable Cons: Poor for interconnected data Query model limited to keys and indexes Map reduce for larger queries
  • 18. Graph Databases: Pros and Cons Pros: Powerful data model, as general as RDBMS Connected data locally indexed Easy to query Cons: Requires rewiring your brain
  • 20. The Graph DB Model
  • 21. “A Graph —records data in→ Nodes —which have→ Properties” “Nodes —are organized by Relationships —which also have→ → Properties”
  • 26. The Graph DB Model : traversal
  • 29. QQUERYUERY AA GGRAPHRAPH WWITHITH TTRAVERSALRAVERSAL “A Traversal —navigates→ a Graph; it —identifies→ Paths —which order→ Nodes”
  • 30. Graph Database Vendors   Neo4J (neo4j.org)  OrientDB (orientechnologies.com)  Dex  HyperGraphDB  Infogrid  Sones
  • 31. Graph Database Use Cases   Clustering  Task Planning  Social Connections  Scheduling  Hubs  Process Assignation  Graph Mining  Routing  Centrality Measures  Logistics  Location Based services  League Planning
  • 32. Graph Like Applications  Recommendations – Heuristics (Page Rank) – Local  Shortest Paths  Hammock Functions  Walks  Search algorithms  Shooting stars  K-nearest neighbours Some of the best-known uses of graph databases include Google’s Knowledge Graph, Facebook's Social Graph and Twitter’s Interest Graph.
  • 33.  If your database is highly associative  If your data is NOT used for statistical analysis, data mining and exploration, or operational research  If you have large data sets with changing or on-the- fly schemas When To Use Graph Databases?
  • 34.  Represent related data as it inherently is. So, developers can start coding immediately  Great performance , as graph databases, which are defined as any storage system that provides index-free adjacency. What this means is that every element in the database contains a direct link to its adjacent element, and so no need of joins  Response time remains constant, not depending on the total amount of data stored. Benefits Of Graph Databases?