SlideShare a Scribd company logo
RDBMS to Graphs
Harnessing the Power of the Graph
March 2015
Agenda
• Origins of Neo4j
• Benefits of Graphs
• Your enterprise architecture & polyglot persistence
• Query time!
• Q&A
Neo Technology Overview
Product
• Neo4j - World’s leading graph
database
• 1M+ downloads, adding 50k+
per month
• 150+ enterprise subscription
customers including over
50 of the Global 2000
Company
• Neo Technology, Creator of Neo4j
• 80 employees with HQ in Silicon
Valley, London, Munich, Paris and
Malmö
• $45M in funding from Fidelity,
Sunstone, Conor, Creandum,
Dawn Capital
Neo4j Adoption by Selected Verticals
Financial
Services
Communications
Health &
Life
Sciences
HR &
Recruiting
Media &
Publishing
Social
Web
Industry
& Logistics
Entertainment Consumer Retail Information ServicesBusiness Services
How Customers Use Neo4j
Network &
Data Center
Master Data
Management
Social Recom–
mendations
Identity
& Access
Search &
Discovery
GEO
“Forrester estimates that over 25% of enterprises will be using
graph databases by 2017”
Neo4j Leads the Graph Database Revolution
“Neo4j is the current market leader in graph databases.”
“Graph analysis is possibly the single most effective competitive
differentiator for organizations pursuing data-driven operations
and decisions after the design of data capture.”
IT Market Clock for Database Management Systems, 2014
https://www.gartner.com/doc/2852717/it-market-clock-database-management
TechRadar™: Enterprise DBMS, Q1 2014
http://www.forrester.com/TechRadar+Enterprise+DBMS+Q1+2014/fulltext/-/E-RES106801
Graph Databases – and Their Potential to Transform How We Capture Interdependencies (Enterprise Management Associates)
http://blogs.enterprisemanagement.com/dennisdrogseth/2013/11/06/graph-databasesand-potential-transform-capture-interdependencies/
Largest Ecosystem of Graph Enthusiasts
• 1,000,000+ downloads
• 20,000+ education registrants
• 18,000+ Meetup members
• 100+ technology and service partners
• 150+ enterprise subscription customers
including 50+ Global 2000 companies
High Business Value in Data Relationships
Data is increasing in volume…
• New digital processes
• More online transactions
• New social networks
• More devices
Using Data Relationships unlocks value
• Real-time recommendations
• Fraud detection
• Master data management
• Network and IT operations
• Identity and access management
• Graph-based search… and is getting more connected
Customers, products, processes,
devices interact and relate to
each other
Early adopters became industry leaders
Relational DBs Can’t Handle Relationships Well
• Cannot model or store data and relationships
without complexity
• Performance degrades with number and levels
of relationships, and database size
• Query complexity grows with need for JOINs
• Adding new types of data and relationships
requires schema redesign, increasing time to
market
… making traditional databases inappropriate
when data relationships are valuable in real-time
Slow development
Poor performance
Low scalability
Hard to maintain
Unlocking Value from Your Data Relationships
• Model your data as a graph of data
and relationships
• Use relationship information in real-
time to transform your business
• Add new relationships on the fly to
adapt to your changing business
Modeling as a Graph
The Whiteboard Model Is the Physical Model
CAR
name: “Dan”
born: May 29, 1970
twitter: “@dan”
name: “Ann”
born: Dec 5, 1975
since:
Jan 10, 2011
brand: “Volvo”
model: “V70”
Property Graph Model Components
Nodes
• The objects in the graph
• Can have name-value properties
• Can be labeled
Relationships
• Relate nodes by type and direction
• Can have name-value properties
LOVES
LOVES
LIVES WITH
PERSON PERSON
Relational Versus Graph Models
Relational Model Graph Model
KNOWS
ANDREAS
TOBIAS
MICA
DELIA
Person FriendPerson-Friend
ANDREAS
DELIA
TOBIAS
MICA
Let’s Model!
Customer, Supplier, and Product (Master Data)
Orders (Activity)
The Domain Model
Except…
The Requisite
Northwind Example!
NOT JUST ANY
(Northwind)-[:TO]->(Graph)
Building the Graph Model
Building Relationships in Graphs
SOLD
Employee OrderOrder
Locate Foreign Keys
(FKs)-[:BECOME]->(Relationships)
Correct Directions
Drop Foreign Keys
Find the Join Tables
Simple Join Tables Becomes Relationships
Attributed Join Tables Become
Relationships with Properties
Working Subset (Today’s Exercise)
Northwind Graph Model
Querying Your Data
Basic Query: Who do people report to?
MATCH (:Employee{ firstName:“Steven”} ) -[:REPORTS_TO]-> (:Employee{ firstName:“Andrew”} )
REPORTS_TO
Steven Andrew
LABEL PROPERTY
NODE NODE
LABEL PROPERTY
Basic Query: Who do people report to?
MATCH
(e:Employee)<-[:REPORTS_TO]-(sub:Employee)
RETURN
*
Basic Query: Who do people report to?
Basic Query: Who do people report to?
MATCH (sub)-[:REPORTS_TO*0..3]->(boss),
(report)-[:REPORTS_TO*1..3]->(sub)
WHERE boss.name = “John Doe”
RETURN sub.name AS Subordinate,
count(report) AS Total
Express Complex Queries Easily with Cypher
Find all direct reports and how
many people they manage,
up to 3 levels down
Cypher Query
SQL Query
“We found Neo4j to be literally thousands of times faster
than our prior MySQL solution, with queries that require
10 to 100 times less code. Today, Neo4j provides eBay
with functionality that was previously impossible.”
Volker Pacher
Senior Developer
Who is in Robert’s (direct, upwards) reporting chain?
MATCH
p=(e:Employee)<-[:REPORTS_TO*]-(sub:Employee)
WHERE
sub.firstName = ‘Robert’
RETURN
p
Who is in Robert’s (direct, upwards) reporting chain?
Who’s the Big Boss?
MATCH
p=(e:Employee)
WHERE
NOT (e)<-[:REPORTS_TO]->()
RETURN
e.firstName as bigBoss
Who’s the Big Boss?
Product Cross-Sell
MATCH
(choc:Product {productName: 'Chocolade'})
<-[:PRODUCT]-(:Order)<-[:SOLD]-(employee),
(employee)-[:SOLD]->(o2)-[:PRODUCT]->(other:Product)
RETURN
employee.firstName, other.productName, count(distinct o2) as count
ORDER BY
count DESC
LIMIT 5;
Product Cross-Sell
High Performance
Neo4j Clustering
Architecture Optimized for Speed & Availability at Scale
43
Performance Benefits
• No network hops within queries
• Real-time operations with fast and
consistent response times
• Cache sharding spreads cache across
cluster for very large graphs
Clustering Features
• Master-slave replication with
master re-election and failover
• Each instance has its own local cache
• Horizontal scaling & disaster recovery
Load Balancer
Neo4jNeo4jNeo4j
Getting Data into Neo4j
Cypher-Based “LOAD CSV” Capability
• Transactional (ACID) writes
• Initial and incremental loads of up to
10 million nodes and relationships
Command-Line Bulk Loader neo4j-import
• For initial database population
• For loads with 10B+ records
• Up to 1M records per second
4.58 million things
and their relationships…
Loads in 100 seconds!
MIGRATE
ALL DATA
MIGRATE
GRAPH DATA
DUPLICATE
GRAPH DATA
Non-graph data Graph data
Graph dataAll data
All data
Relational
Database
Graph
Database
Application
Application
Application
Three Ways to Load Data into Neo4j
Polyglot Persistence
Data Storage and
Business Rules Execution
Data Mining
and Aggregation
Neo4j Fits into Your Enterprise Environment
Application
Graph Database Cluster
Neo4j Neo4j Neo4j
Ad Hoc
Analysis
Bulk Analytic
Infrastructure
Graph Compute Engine
EDW …
Data
Scientist
End User
Databases
Relational
NoSQL
Hadoop
Polyglot Persistence
Users Love Neo4j
Users Love Neo4j
Learn the Way of the Graph
Quickly and Easily
Quick Start: Plan Your Project
1
2
3
4
5
6
7
8
Learn Neo4j
Decide on Architecture
Import and Model Data
Build Application
Test Application
Deploy your app
in as little as 8 weeks
PROFESSIONAL SERVICES PLAN
There Are Lots of Ways to Easily Learn Neo4j
Summary
Only Neo4j Unlocks the Value in Your Data Relationships
Data is increasing in volume…
• New digital processes
• More online transactions
• New social networks
• More devices
… and is getting more connected
Customers, products, processes,
devices interact and relate to
each other
RDBMS to Graphs
Harnessing the Power of the Graph
End of Presentation

More Related Content

What's hot (20)

PDF
The Knowledge Graph Explosion
Neo4j
 
PPTX
Introduction to Graph Databases
Max De Marzi
 
PPTX
NoSQL Graph Databases - Why, When and Where
Eugene Hanikblum
 
PDF
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j
 
KEY
Intro to Neo4j presentation
jexp
 
PDF
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j
 
PPTX
Neo4j Graph Use Cases, Bruno Ungermann, Neo4j
Neo4j
 
PDF
Intro to Cypher
Neo4j
 
PPTX
Family tree of data – provenance and neo4j
M. David Allen
 
PDF
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j
 
PDF
Optimizing Your Supply Chain with the Neo4j Graph
Neo4j
 
PDF
Intro to Neo4j and Graph Databases
Neo4j
 
PDF
Workshop Tel Aviv - Graph Data Science
Neo4j
 
PDF
Graph database Use Cases
Max De Marzi
 
PDF
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Neo4j
 
ODP
Graph databases
Karol Grzegorczyk
 
PPTX
Free Training: How to Build a Lakehouse
Databricks
 
PDF
Intro to Graphs and Neo4j
jexp
 
PDF
Introducing Neo4j
Neo4j
 
PDF
A Universe of Knowledge Graphs
Neo4j
 
The Knowledge Graph Explosion
Neo4j
 
Introduction to Graph Databases
Max De Marzi
 
NoSQL Graph Databases - Why, When and Where
Eugene Hanikblum
 
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j
 
Intro to Neo4j presentation
jexp
 
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j
 
Neo4j Graph Use Cases, Bruno Ungermann, Neo4j
Neo4j
 
Intro to Cypher
Neo4j
 
Family tree of data – provenance and neo4j
M. David Allen
 
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j
 
Optimizing Your Supply Chain with the Neo4j Graph
Neo4j
 
Intro to Neo4j and Graph Databases
Neo4j
 
Workshop Tel Aviv - Graph Data Science
Neo4j
 
Graph database Use Cases
Max De Marzi
 
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Neo4j
 
Graph databases
Karol Grzegorczyk
 
Free Training: How to Build a Lakehouse
Databricks
 
Intro to Graphs and Neo4j
jexp
 
Introducing Neo4j
Neo4j
 
A Universe of Knowledge Graphs
Neo4j
 

Viewers also liked (20)

PDF
RDBMS to Graphs
Neo4j
 
PDF
Natural Language Processing with Graphs
Neo4j
 
PDF
RDBMS to Graphs
Neo4j
 
PDF
Relational to Big Graph
Neo4j
 
PDF
Digital Transformation in a Connected World
Neo4j
 
PPTX
Neo4j graphs in the real world - graph days d.c. - april 14, 2015
Neo4j
 
PDF
Graphs for Enterprise Architects
Neo4j
 
PPTX
Using a Graph Database for Next-Gen MDM
Neo4j
 
PDF
Importing Data into Neo4j quickly and easily - StackOverflow
Neo4j
 
PDF
Neo4j the Anti Crime Database
Neo4j
 
PDF
Fraud Detection with Neo4j
Neo4j
 
PPTX
Relational to Graph - Import
Neo4j
 
PDF
Neo4j PartnerDay Amsterdam 2017
Neo4j
 
PDF
RDBMS to Graph Webinar
Neo4j
 
PPTX
Neo4j Import Webinar
Neo4j
 
PDF
Using Graph theory to understand Intent & Concepts - Neo4j User Group (Januar...
TUMRA | Big Data Science - Gain a competitive advantage through Big Data & Data Science
 
PDF
Using neo4j for enterprise metadata requirements
Neo4j
 
PDF
Neo4j Introduction - Game of Thrones
Neo4j
 
PPTX
How Insurance Companies Use MongoDB
MongoDB
 
PPTX
Webinar: Large Scale Graph Processing with IBM Power Systems & Neo4j
Neo4j
 
RDBMS to Graphs
Neo4j
 
Natural Language Processing with Graphs
Neo4j
 
RDBMS to Graphs
Neo4j
 
Relational to Big Graph
Neo4j
 
Digital Transformation in a Connected World
Neo4j
 
Neo4j graphs in the real world - graph days d.c. - april 14, 2015
Neo4j
 
Graphs for Enterprise Architects
Neo4j
 
Using a Graph Database for Next-Gen MDM
Neo4j
 
Importing Data into Neo4j quickly and easily - StackOverflow
Neo4j
 
Neo4j the Anti Crime Database
Neo4j
 
Fraud Detection with Neo4j
Neo4j
 
Relational to Graph - Import
Neo4j
 
Neo4j PartnerDay Amsterdam 2017
Neo4j
 
RDBMS to Graph Webinar
Neo4j
 
Neo4j Import Webinar
Neo4j
 
Using Graph theory to understand Intent & Concepts - Neo4j User Group (Januar...
TUMRA | Big Data Science - Gain a competitive advantage through Big Data & Data Science
 
Using neo4j for enterprise metadata requirements
Neo4j
 
Neo4j Introduction - Game of Thrones
Neo4j
 
How Insurance Companies Use MongoDB
MongoDB
 
Webinar: Large Scale Graph Processing with IBM Power Systems & Neo4j
Neo4j
 
Ad

Similar to Introduction: Relational to Graphs (20)

PPTX
Graphs fun vjug2
Neo4j
 
PPTX
Graph all the things - PRathle
Neo4j
 
PDF
GraphTalks Rome - Introducing Neo4j
Neo4j
 
PDF
Neo4j in Depth
Max De Marzi
 
PDF
Mastering Customer Data on Apache Spark
Caserta
 
PPTX
GraphTalks Rome - Selecting the right Technology
Neo4j
 
PPTX
Neo4j GraphTalks - Introduction to GraphDatabases and Neo4j
Neo4j
 
PDF
Graph Database Use Cases - StampedeCon 2015
StampedeCon
 
PPTX
Docker Summit MongoDB - Data Democratization
Chris Grabosky
 
PDF
Neo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j
 
PDF
A Connections-first Approach to Supply Chain Optimization
Neo4j
 
PDF
Roadmap for Enterprise Graph Strategy
Neo4j
 
PPTX
A whirlwind tour of graph databases
jexp
 
PPTX
Big Data Expo 2015 - Barnsten Why Data Modelling is Essential
BigDataExpo
 
PPTX
Web Analytics: Challenges in Data Modeling
Excella
 
PDF
Knowledge Graphs Webinar- 11/7/2017
Neo4j
 
PDF
The Connected Data Imperative: Why Graphs? at Neo4j GraphDay New York City
Neo4j
 
PPTX
GraphTalks - Einführung
Neo4j
 
PDF
[Webinar] Introduction to Cypher
Neo4j
 
PPTX
L’architettura di classe enterprise di nuova generazione
MongoDB
 
Graphs fun vjug2
Neo4j
 
Graph all the things - PRathle
Neo4j
 
GraphTalks Rome - Introducing Neo4j
Neo4j
 
Neo4j in Depth
Max De Marzi
 
Mastering Customer Data on Apache Spark
Caserta
 
GraphTalks Rome - Selecting the right Technology
Neo4j
 
Neo4j GraphTalks - Introduction to GraphDatabases and Neo4j
Neo4j
 
Graph Database Use Cases - StampedeCon 2015
StampedeCon
 
Docker Summit MongoDB - Data Democratization
Chris Grabosky
 
Neo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j
 
A Connections-first Approach to Supply Chain Optimization
Neo4j
 
Roadmap for Enterprise Graph Strategy
Neo4j
 
A whirlwind tour of graph databases
jexp
 
Big Data Expo 2015 - Barnsten Why Data Modelling is Essential
BigDataExpo
 
Web Analytics: Challenges in Data Modeling
Excella
 
Knowledge Graphs Webinar- 11/7/2017
Neo4j
 
The Connected Data Imperative: Why Graphs? at Neo4j GraphDay New York City
Neo4j
 
GraphTalks - Einführung
Neo4j
 
[Webinar] Introduction to Cypher
Neo4j
 
L’architettura di classe enterprise di nuova generazione
MongoDB
 
Ad

More from Neo4j (20)

PDF
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
PPTX
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j
 
PPTX
Neo4j Knowledge for Customer Experience.pptx
Neo4j
 
PPTX
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j
 
PDF
Neo4j: The Art of the Possible with Graph
Neo4j
 
PDF
Smarter Knowledge Graphs For Public Sector
Neo4j
 
PDF
GraphRAG and Knowledge Graphs Exploring AI's Future
Neo4j
 
PDF
Matinée GenAI & GraphRAG Paris - Décembre 24
Neo4j
 
PDF
ANZ Presentation: GraphSummit Melbourne 2024
Neo4j
 
PDF
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Neo4j
 
PDF
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Neo4j
 
PDF
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Neo4j
 
PDF
Démonstration Digital Twin Building Wire Management
Neo4j
 
PDF
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Neo4j
 
PDF
Démonstration Supply Chain - GraphTalk Paris
Neo4j
 
PDF
The Art of Possible - GraphTalk Paris Opening Session
Neo4j
 
PPTX
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Neo4j
 
PDF
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
Neo4j
 
PDF
Neo4j Graph Data Modelling Session - GraphTalk
Neo4j
 
PDF
Neo4j: The Art of Possible with Graph Technology
Neo4j
 
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j
 
Neo4j Knowledge for Customer Experience.pptx
Neo4j
 
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j
 
Neo4j: The Art of the Possible with Graph
Neo4j
 
Smarter Knowledge Graphs For Public Sector
Neo4j
 
GraphRAG and Knowledge Graphs Exploring AI's Future
Neo4j
 
Matinée GenAI & GraphRAG Paris - Décembre 24
Neo4j
 
ANZ Presentation: GraphSummit Melbourne 2024
Neo4j
 
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Neo4j
 
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Neo4j
 
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Neo4j
 
Démonstration Digital Twin Building Wire Management
Neo4j
 
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Neo4j
 
Démonstration Supply Chain - GraphTalk Paris
Neo4j
 
The Art of Possible - GraphTalk Paris Opening Session
Neo4j
 
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Neo4j
 
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
Neo4j
 
Neo4j Graph Data Modelling Session - GraphTalk
Neo4j
 
Neo4j: The Art of Possible with Graph Technology
Neo4j
 

Recently uploaded (20)

PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Biography of Daniel Podor.pdf
Daniel Podor
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
July Patch Tuesday
Ivanti
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 

Introduction: Relational to Graphs

  • 1. RDBMS to Graphs Harnessing the Power of the Graph March 2015
  • 2. Agenda • Origins of Neo4j • Benefits of Graphs • Your enterprise architecture & polyglot persistence • Query time! • Q&A
  • 3. Neo Technology Overview Product • Neo4j - World’s leading graph database • 1M+ downloads, adding 50k+ per month • 150+ enterprise subscription customers including over 50 of the Global 2000 Company • Neo Technology, Creator of Neo4j • 80 employees with HQ in Silicon Valley, London, Munich, Paris and Malmö • $45M in funding from Fidelity, Sunstone, Conor, Creandum, Dawn Capital
  • 4. Neo4j Adoption by Selected Verticals Financial Services Communications Health & Life Sciences HR & Recruiting Media & Publishing Social Web Industry & Logistics Entertainment Consumer Retail Information ServicesBusiness Services
  • 5. How Customers Use Neo4j Network & Data Center Master Data Management Social Recom– mendations Identity & Access Search & Discovery GEO
  • 6. “Forrester estimates that over 25% of enterprises will be using graph databases by 2017” Neo4j Leads the Graph Database Revolution “Neo4j is the current market leader in graph databases.” “Graph analysis is possibly the single most effective competitive differentiator for organizations pursuing data-driven operations and decisions after the design of data capture.” IT Market Clock for Database Management Systems, 2014 https://www.gartner.com/doc/2852717/it-market-clock-database-management TechRadar™: Enterprise DBMS, Q1 2014 http://www.forrester.com/TechRadar+Enterprise+DBMS+Q1+2014/fulltext/-/E-RES106801 Graph Databases – and Their Potential to Transform How We Capture Interdependencies (Enterprise Management Associates) http://blogs.enterprisemanagement.com/dennisdrogseth/2013/11/06/graph-databasesand-potential-transform-capture-interdependencies/
  • 7. Largest Ecosystem of Graph Enthusiasts • 1,000,000+ downloads • 20,000+ education registrants • 18,000+ Meetup members • 100+ technology and service partners • 150+ enterprise subscription customers including 50+ Global 2000 companies
  • 8. High Business Value in Data Relationships Data is increasing in volume… • New digital processes • More online transactions • New social networks • More devices Using Data Relationships unlocks value • Real-time recommendations • Fraud detection • Master data management • Network and IT operations • Identity and access management • Graph-based search… and is getting more connected Customers, products, processes, devices interact and relate to each other Early adopters became industry leaders
  • 9. Relational DBs Can’t Handle Relationships Well • Cannot model or store data and relationships without complexity • Performance degrades with number and levels of relationships, and database size • Query complexity grows with need for JOINs • Adding new types of data and relationships requires schema redesign, increasing time to market … making traditional databases inappropriate when data relationships are valuable in real-time Slow development Poor performance Low scalability Hard to maintain
  • 10. Unlocking Value from Your Data Relationships • Model your data as a graph of data and relationships • Use relationship information in real- time to transform your business • Add new relationships on the fly to adapt to your changing business
  • 11. Modeling as a Graph
  • 12. The Whiteboard Model Is the Physical Model
  • 13. CAR name: “Dan” born: May 29, 1970 twitter: “@dan” name: “Ann” born: Dec 5, 1975 since: Jan 10, 2011 brand: “Volvo” model: “V70” Property Graph Model Components Nodes • The objects in the graph • Can have name-value properties • Can be labeled Relationships • Relate nodes by type and direction • Can have name-value properties LOVES LOVES LIVES WITH PERSON PERSON
  • 14. Relational Versus Graph Models Relational Model Graph Model KNOWS ANDREAS TOBIAS MICA DELIA Person FriendPerson-Friend ANDREAS DELIA TOBIAS MICA
  • 15. Let’s Model! Customer, Supplier, and Product (Master Data) Orders (Activity)
  • 20. Building Relationships in Graphs SOLD Employee OrderOrder
  • 24. Find the Join Tables
  • 25. Simple Join Tables Becomes Relationships
  • 26. Attributed Join Tables Become Relationships with Properties
  • 30. Basic Query: Who do people report to? MATCH (:Employee{ firstName:“Steven”} ) -[:REPORTS_TO]-> (:Employee{ firstName:“Andrew”} ) REPORTS_TO Steven Andrew LABEL PROPERTY NODE NODE LABEL PROPERTY
  • 31. Basic Query: Who do people report to? MATCH (e:Employee)<-[:REPORTS_TO]-(sub:Employee) RETURN *
  • 32. Basic Query: Who do people report to?
  • 33. Basic Query: Who do people report to?
  • 34. MATCH (sub)-[:REPORTS_TO*0..3]->(boss), (report)-[:REPORTS_TO*1..3]->(sub) WHERE boss.name = “John Doe” RETURN sub.name AS Subordinate, count(report) AS Total Express Complex Queries Easily with Cypher Find all direct reports and how many people they manage, up to 3 levels down Cypher Query SQL Query
  • 35. “We found Neo4j to be literally thousands of times faster than our prior MySQL solution, with queries that require 10 to 100 times less code. Today, Neo4j provides eBay with functionality that was previously impossible.” Volker Pacher Senior Developer
  • 36. Who is in Robert’s (direct, upwards) reporting chain? MATCH p=(e:Employee)<-[:REPORTS_TO*]-(sub:Employee) WHERE sub.firstName = ‘Robert’ RETURN p
  • 37. Who is in Robert’s (direct, upwards) reporting chain?
  • 38. Who’s the Big Boss? MATCH p=(e:Employee) WHERE NOT (e)<-[:REPORTS_TO]->() RETURN e.firstName as bigBoss
  • 40. Product Cross-Sell MATCH (choc:Product {productName: 'Chocolade'}) <-[:PRODUCT]-(:Order)<-[:SOLD]-(employee), (employee)-[:SOLD]->(o2)-[:PRODUCT]->(other:Product) RETURN employee.firstName, other.productName, count(distinct o2) as count ORDER BY count DESC LIMIT 5;
  • 43. Neo4j Clustering Architecture Optimized for Speed & Availability at Scale 43 Performance Benefits • No network hops within queries • Real-time operations with fast and consistent response times • Cache sharding spreads cache across cluster for very large graphs Clustering Features • Master-slave replication with master re-election and failover • Each instance has its own local cache • Horizontal scaling & disaster recovery Load Balancer Neo4jNeo4jNeo4j
  • 44. Getting Data into Neo4j Cypher-Based “LOAD CSV” Capability • Transactional (ACID) writes • Initial and incremental loads of up to 10 million nodes and relationships Command-Line Bulk Loader neo4j-import • For initial database population • For loads with 10B+ records • Up to 1M records per second 4.58 million things and their relationships… Loads in 100 seconds!
  • 45. MIGRATE ALL DATA MIGRATE GRAPH DATA DUPLICATE GRAPH DATA Non-graph data Graph data Graph dataAll data All data Relational Database Graph Database Application Application Application Three Ways to Load Data into Neo4j
  • 47. Data Storage and Business Rules Execution Data Mining and Aggregation Neo4j Fits into Your Enterprise Environment Application Graph Database Cluster Neo4j Neo4j Neo4j Ad Hoc Analysis Bulk Analytic Infrastructure Graph Compute Engine EDW … Data Scientist End User Databases Relational NoSQL Hadoop
  • 51. Learn the Way of the Graph Quickly and Easily
  • 52. Quick Start: Plan Your Project 1 2 3 4 5 6 7 8 Learn Neo4j Decide on Architecture Import and Model Data Build Application Test Application Deploy your app in as little as 8 weeks PROFESSIONAL SERVICES PLAN
  • 53. There Are Lots of Ways to Easily Learn Neo4j
  • 54. Summary Only Neo4j Unlocks the Value in Your Data Relationships Data is increasing in volume… • New digital processes • More online transactions • New social networks • More devices … and is getting more connected Customers, products, processes, devices interact and relate to each other
  • 55. RDBMS to Graphs Harnessing the Power of the Graph End of Presentation

Editor's Notes

  • #9: Presenter Notes - Higher Level Value Proposition Everyday, new data is being created at a volume never seen before. And we see that this data is getting even more connected. People communicating as customers, employees, friends, influencers. Customers purchasing products, services or content, expressing their likes and dislikes. Digitization of processes and more data elements for each step. And with Internet of Things (IoT), we have the same thing repeating but with machines talking to each other.  There is tremendous value in the knowledge of this relationship information for real-time applications. Examples are  Connect a user’s profile and purchases to other users and increase revenue through recommendations for new products and services Reimagine your master data - HR, Customer or Product as a connected model and identify ways to reach customers, improve their experience, identify the best people to staff on projects and more View your individual data elements as part of a process to determine fraud detection or process bottlenecks Companies like Google, LinkedIn and PayPal have done exactly that. Reimagine their data as a network (or a graph) and use the relationship information
  • #10: Presenter Notes - Challenges with current technologies? Database options are not suited to model or store data as a network of relationships Performance degrades with number and levels of relationships making it harder to use for real-time applications Not flexible to add or change relationships in realtime
  • #11: Presenter Notes - How does one take advantage of data relationships for real-time applications? To take advantage of relationships Data needs to be available as a network of connections (or as a graph) Real-time access to relationship information should be available regardless of the size of data set or number and complexity of relationships The graph should be able to accommodate new relationships or modify existing ones
  • #18: 680/605
  • #22: 680/605
  • #23: 680/605
  • #24: 680/605
  • #25: 680/605
  • #26: 680/605
  • #27: 680/605
  • #28: 680/605
  • #53: It’s easy to learn Neo4j, especially when your team already knows SQL. We partner with you every step of the way in a professional services plan tailored to your needs.
  • #56: In the near future, many of your apps will be driven by data relationships and not transactions You can unlock value from business relationships with Neo4j