SlideShare a Scribd company logo
Approaching
Graph databases
Sergey	
  Enin	
  
So#ware	
  Engineering	
  Team	
  Leader	
  
EPAM,	
  Minsk	
  
AGENDA

NOSQL	
  

GRAPH	
  
DBs	
  

APP	
  

NEO4J	
  
NoSQL
NoSQL

Not Only SQL
Using	
  specific	
  toolset	
  for	
  specific	
  problem	
  

NoSQL	
  model	
  is	
  different	
  from	
  SQL	
  model	
  
NoSQL	
  databases	
  is	
  a	
  special	
  purpose	
  Database	
  	
  
(No)SQL: CLASSIFICATION
Database	
  

Data	
  model	
  

Strengths	
  

Weaks	
  

MySQL	
  

RelaBonal	
  

E-­‐R	
  data	
  model	
   Low	
  flexibility	
  

Redis	
  

Key-­‐value	
  

High	
  
performance	
  
and	
  scalability	
  

Low	
  funcKonality	
  

MongoDB	
  

Document	
  

High	
  
performance	
  

Variable	
  flexibility	
  

Cassandra	
  

Column	
  

High	
  
performance	
  
and	
  scalability	
  

Low	
  funcKonality	
  

Neo4j	
  

Graph	
  

High	
  
High	
  complexity	
  
performance	
  
Graph	
  Databases	
  

Graph
Databases
Graph Databases: HISTORY

Leonhard Euler (1707 –1783)
Swiss mathematician
Graph Databases: HISTORY
What is
Graph?
Graph Databases: GRAPH

A	
  

B	
  

VerKce	
  
(Node)	
  

C	
  

Edge	
  
(RelaKonship)	
  

D	
  
Graph Databases: WHAT IS IT?
Graph Databases: WHAT IS IT?

Joins	
  
VS	
  
Traversals	
  
Graph Databases: CHARACTERISTICS

1
Good for semistructured
connected
data

Index
freeadjacency

2

3
The
underlying
storage

The
processing
engine

4
APPs
ApplicaBon:	
  social	
  graphs	
  
Application: PAGE RANK
APP: Collaborative filtering
Approaching graph db
Neo4J: CHARACTERISTICS

	
  
true	
  ACID	
  transacKons;	
  
	
  
scales	
  to	
  billions	
  of	
  nodes	
  and	
  relaKonships;	
  
	
  
high	
  speed	
  querying	
  through	
  traversals;	
  
	
  
declaraKve	
  graph	
  query	
  language;	
  
Neo4J:	
   who	
   use	
  
Neo4J: WHO USE
it	
  
Neo4J:	
   who	
   use	
  
Neo4J: NETWORK ARCHITECTURE
it	
  
Neo4J:	
  network	
  architecture	
  
Neo4J:	
  architecture	
  
Neo4J: ARCHITECTURE
Neo4J:	
  architecture	
  
Neo4J: Internal storage

Node	
  

RelaKonship	
  
Neo4J:	
  architecture	
  
Neo4J: Internal storage
Neo4J: CYPHER
Neo4J: CYPHER
START	
  	
  
	
  usa=node:mb_fulltext(name="United	
  States"),	
  
	
  gb=node:mb_fulltext(name="United	
  Kingdom")	
  
MATCH	
  	
  
	
  (usa:Country),	
  (gb:Country),	
  
	
  (arKst:ArKst)-­‐[:FROM_AREA]-­‐(usa),	
  
	
  (arKst:ArKst)-­‐[:RECORDING_CONTRACT]-­‐(l:Label),	
  
	
  (label)-­‐[:FROM_AREA]-­‐(gb)	
  
RETURN	
  	
  
	
  arKst,label,usa,gb	
  
Approaching graph db
Thank You
Sergey Enin
Software Engineering Team Leader

Sergey_Enin@epam.com!

tygrysminsk!

sergeyenin!

pankrat!

sergeyenin.com/sec2014!

More Related Content

PDF
JugMarche: Neo4j 2 (Cypher)
PDF
Intro to Graphs for Fedict
PDF
Sydney Spark Meetup - September 2015
PDF
Sydney Apache Spark Meetup - Spark Natural Language Processing
PDF
Anatomy of Data Source API : A deep dive into Spark Data source API
PDF
Graph basedrdf storeforapachecassandra
PPTX
Getting started with SparkSQL - Desert Code Camp 2016
PDF
A Tool For Big Data Analysis using Apache Spark
JugMarche: Neo4j 2 (Cypher)
Intro to Graphs for Fedict
Sydney Spark Meetup - September 2015
Sydney Apache Spark Meetup - Spark Natural Language Processing
Anatomy of Data Source API : A deep dive into Spark Data source API
Graph basedrdf storeforapachecassandra
Getting started with SparkSQL - Desert Code Camp 2016
A Tool For Big Data Analysis using Apache Spark

What's hot (20)

PDF
Drupal and the Semantic Web - ESIP Webinar
PDF
Spark in 15 min
PPTX
Powering an API with GraphQL, Golang, and NoSQL
PDF
Warg
PPTX
The Elastic Stack as a SIEM
PPTX
ELK at LinkedIn - Kafka, scaling, lessons learned
PDF
Spark architecture
PPTX
PDF
Introduction to Structured Data Processing with Spark SQL
PDF
TiDB Introduction - San Francisco MySQL Meetup
PDF
SANSA ISWC 2017 Talk
PDF
Eclipse RDF4J - Working with RDF in Java
PDF
apidays LIVE Paris 2021 - GraphQL Today and Tomorrow by Uri Goldshtein, The G...
PDF
Introducing TiDB - Percona Live Frankfurt
PDF
Congressional PageRank: Graph Analytics of US Congress With Neo4j
PPTX
Graph databases
PDF
Apache Spark part of Eindhoven Java Meetup
PDF
Integrating Drupal with a Triple Store
PDF
Drupal 7 and RDF
PPTX
Semantics, rdf and drupal
Drupal and the Semantic Web - ESIP Webinar
Spark in 15 min
Powering an API with GraphQL, Golang, and NoSQL
Warg
The Elastic Stack as a SIEM
ELK at LinkedIn - Kafka, scaling, lessons learned
Spark architecture
Introduction to Structured Data Processing with Spark SQL
TiDB Introduction - San Francisco MySQL Meetup
SANSA ISWC 2017 Talk
Eclipse RDF4J - Working with RDF in Java
apidays LIVE Paris 2021 - GraphQL Today and Tomorrow by Uri Goldshtein, The G...
Introducing TiDB - Percona Live Frankfurt
Congressional PageRank: Graph Analytics of US Congress With Neo4j
Graph databases
Apache Spark part of Eindhoven Java Meetup
Integrating Drupal with a Triple Store
Drupal 7 and RDF
Semantics, rdf and drupal
Ad

Viewers also liked (6)

PDF
Sergey Enin-ScrumAlliance_CSM_Certificate
PDF
122201661137PM
PDF
BigDataNerds
PPTX
Graph Databases
PPTX
Cassandra presentation
PDF
Graph database
Sergey Enin-ScrumAlliance_CSM_Certificate
122201661137PM
BigDataNerds
Graph Databases
Cassandra presentation
Graph database
Ad

Similar to Approaching graph db (20)

PPT
Graph database
PDF
Graph Database
PPTX
Intro to Neo4j with Ruby
PPTX
NoSQL Module -5.pptx nosql module 4 notes
PDF
5.17 - IntroductionToNeo4j-allSlides_1_2022_DanMc.pdf
PPTX
Graph Databases
PPTX
PPTX
GraphTalks Rome - Selecting the right Technology
PDF
Whatis neo4j
PDF
Graph Database Use Cases - StampedeCon 2015
PDF
Graph database Use Cases
PPTX
Ramya ppt.pptx
PDF
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
PPTX
Calin Constantinov - Neo4j - Bucharest Big Data Week Meetup - Bucharest 2018
PPTX
Neo4j Training Introduction
PDF
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
PDF
Graph Databases and Graph Data Science in Neo4j
PDF
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
PPTX
NoSQL 5 2_graph Database Edited - Updated.pptx.pptx
Graph database
Graph Database
Intro to Neo4j with Ruby
NoSQL Module -5.pptx nosql module 4 notes
5.17 - IntroductionToNeo4j-allSlides_1_2022_DanMc.pdf
Graph Databases
GraphTalks Rome - Selecting the right Technology
Whatis neo4j
Graph Database Use Cases - StampedeCon 2015
Graph database Use Cases
Ramya ppt.pptx
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
Calin Constantinov - Neo4j - Bucharest Big Data Week Meetup - Bucharest 2018
Neo4j Training Introduction
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Graph Databases and Graph Data Science in Neo4j
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
NoSQL 5 2_graph Database Edited - Updated.pptx.pptx

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Approach and Philosophy of On baking technology
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation_ Review paper, used for researhc scholars
Approach and Philosophy of On baking technology
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Mobile App Security Testing_ A Comprehensive Guide.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced methodologies resolving dimensionality complications for autism neur...
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)
Network Security Unit 5.pdf for BCA BBA.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Approaching graph db