SlideShare une entreprise Scribd logo
1  sur  148
Télécharger pour lire hors ligne
© All Rights Reserved 2013 | Neo Technology, Inc.
Graph
 Databases
 
-
 How
 does
 it
 work?
Pernilla
 Lindh
1måndag 15 juli 13
intro me
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Developer Evangelist
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Developer Evangelist
Started at Neo4j 2012
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Developer Evangelist
Started at Neo4j 2012
My Blog: www.p3rnilla.com
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Developer Evangelist
Started at Neo4j 2012
My Blog: www.p3rnilla.com
Find me on Twitter: @p3rnilla
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
About Me
Developer Evangelist
Started at Neo4j 2012
My Blog: www.p3rnilla.com
Find me on Twitter: @p3rnilla
Email me: pernilla@neotechnology.com
Geek Girl Meetup Öresund, Sweden
2måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
(Big)Data
NOSQL
What is a Graph Database, Not?
What is a Graph, then?
What is a Graph Database?
What is Neo4j?
AGENDA
3måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
4måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
http://nostarch.com/mg_databases.htm#reviews
5måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
http://nostarch.com/mg_databases.htm#reviews
5måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
6måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
7måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
7måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
7måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
8måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
9måndag 15 juli 13
Formally, the term database refers to the data itself and supporting data structures.
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
Databases are set up, so that one set of software programs provides all users with access to
all the data.
(http://en.wikipedia.org/wiki/Database)
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
© All Rights Reserved 2013 | Neo Technology, Inc.
inputting
9måndag 15 juli 13
Formally, the term database refers to the data itself and supporting data structures.
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
Databases are set up, so that one set of software programs provides all users with access to
all the data.
(http://en.wikipedia.org/wiki/Database)
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
© All Rights Reserved 2013 | Neo Technology, Inc.
inputting
storing
9måndag 15 juli 13
Formally, the term database refers to the data itself and supporting data structures.
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
Databases are set up, so that one set of software programs provides all users with access to
all the data.
(http://en.wikipedia.org/wiki/Database)
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
© All Rights Reserved 2013 | Neo Technology, Inc.
inputting
storing
retrieving
9måndag 15 juli 13
Formally, the term database refers to the data itself and supporting data structures.
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
Databases are set up, so that one set of software programs provides all users with access to
all the data.
(http://en.wikipedia.org/wiki/Database)
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
© All Rights Reserved 2013 | Neo Technology, Inc.
inputting
storing
retrieving
managing information
9måndag 15 juli 13
Formally, the term database refers to the data itself and supporting data structures.
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
Databases are set up, so that one set of software programs provides all users with access to
all the data.
(http://en.wikipedia.org/wiki/Database)
Databases are created to operate large quantities of information by inputting, storing,
retrieving, and managing that information.
© All Rights Reserved 2013 | Neo Technology, Inc.
DATA???
10måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
11måndag 15 juli 13
Computer data is information processed or stored by a computer. This information
may be in the form of text documents, images, audio clips, software programs, or
other types of data.
Computer data may be processed by the computer's CPU and is stored in files and
folders on the computer's hard disk.
http://www.techterms.com/definition/data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
Data?
Every 2 days we
create as much
information as we
did up to 2003.”
-Eric Schmidt,
Google
12måndag 15 juli 13
So Data is getting bigger as you can see here we are sending 20 million email every
second.....
recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote
about big data
© All Rights Reserved 2013 | Neo Technology, Inc.
13måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
?
13måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
?
BIG DATA
13måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
?
=
BIG DATA
13måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
?
=
BIG DATA
NOSQL
13måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
14måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
15måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
A Swedish Smorgasbord filled with different types of databases
15måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
16måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
SQL
16måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
SQL Structured Query Language
16måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
SQL
Relational Database (MySQL)
Structured Query Language
16måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
People
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
People Cats
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
People CatsPeople_Cats
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
People CatsPeople_Cats
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
People CatsPeople_Cats
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Relational
17måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL (Not Only SQL)
non-relational
open-source
(mostly)
cluster-friendly
21st Centery Web
schema optional
18måndag 15 juli 13
charachterictics for a nosql database
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
KeyValue Stores
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
KeyValue Stores
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
KeyValue Stores
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
KeyValue Stores
Graph Database
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
NOSQL family
Document-Oriented Database
Column Oriented
KeyValue Stores
Graph Database
Four types of NOSQL databases
19måndag 15 juli 13
The difference between these databases is the so called datamodel the building blocks that they exposed to the developers
Building blocks for Mongo Db are document
in Column Oriented database like Cassandra it’s columns
the keyvalue stores are key and value
column based on bigtables -
© All Rights Reserved 2013 | Neo Technology, Inc.
So,
 graphs...
20måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
21måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
22måndag 15 juli 13
marshall ”how I meet your mother”
© All Rights Reserved 2013 | Neo Technology, Inc.
23måndag 15 juli 13
what do google say?
© All Rights Reserved 2013 | Neo Technology, Inc.
23måndag 15 juli 13
what do google say?
© All Rights Reserved 2013 | Neo Technology, Inc.
23måndag 15 juli 13
what do google say?
© All Rights Reserved 2013 | Neo Technology, Inc.
23måndag 15 juli 13
what do google say?
© All Rights Reserved 2013 | Neo Technology, Inc.
So,
 graphs...
24måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
What is a graph?
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Object (vertex, node)
What is a graph?
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Object (vertex, node)
What is a graph?
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Object (vertex, node)
Link (edge, arc, relationship)
What is a graph?
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Object (vertex, node)
Link (edge, arc, relationship)
What is a graph?
25måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Different Kinds of Graphs
Undirected Graph
Directed Graph
Hyper Graph
26måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
More Kinds Of Graphs
27måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Graph
 databases
 you
 might
 
heard
 about
28måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Most well known graph
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Most well known graph
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Most well known graph
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Most well known graph
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Most well known graph
29måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
So,
 graphs...
30måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
30måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
what
 are
 they
 good
 at?
 
30måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Highly connected data (social
networks)
31måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Highly connected data (social
networks)
31måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Highly connected data (social
networks)
31måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Highly connected data (social
networks)
31måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Recommendations (e-commerce)
32måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Path Finding (how do I know you?)
33måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Path Finding (how do I know you?)
33måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Path Finding (how do I know you?)
33måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Shortest Path (from a - b)
34måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
Shortest Path (from a - b)
34måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
So what is a Graph Database?
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
So what is a Graph Database?
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
So what is a Graph Database?
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
Compered to Relational Database...
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
Compered to Relational Database...
35måndag 15 juli 13
a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or
hop remains the same plus an index for lookups
© All Rights Reserved 2013 | Neo Technology, Inc.
What is Neo4j?
36måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
What is Neo4j?
36måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability)
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability)
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability) Not many NOSQL databases
have ACID except Neo4j...
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability) Not many NOSQL databases
have ACID except Neo4j...
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability) Not many NOSQL databases
have ACID except Neo4j...
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- High Availability (with Enterprise Edition)
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability) Not many NOSQL databases
have ACID except Neo4j...
37måndag 15 juli 13
© All Rights Reserved 2013 | Neo Technology, Inc.
- Embedded Server
- High Availability (with Enterprise Edition)
- Property Graph
- Full ACID (atomicity, consistency,
isolation, durability) Not many NOSQL databases
have ACID except Neo4j...
37måndag 15 juli 13

Contenu connexe

Similaire à Pimtechdaydemo

Big Data and Fast Data – Big and Fast Combined, is it Possible?
Big Data and Fast Data – Big and Fast Combined, is it Possible?Big Data and Fast Data – Big and Fast Combined, is it Possible?
Big Data and Fast Data – Big and Fast Combined, is it Possible?
Guido Schmutz
 
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
USDSI
 

Similaire à Pimtechdaydemo (20)

Big Data Roundtable. Why, how, where, which, and when to start doing Big Data
Big Data Roundtable. Why, how, where, which, and when to start doing Big DataBig Data Roundtable. Why, how, where, which, and when to start doing Big Data
Big Data Roundtable. Why, how, where, which, and when to start doing Big Data
 
The world of mobile, social, and rapidly expanding data
The world of mobile, social, and rapidly expanding dataThe world of mobile, social, and rapidly expanding data
The world of mobile, social, and rapidly expanding data
 
DDos Attacks and Web Threats: How to Protect Your Site & Information
DDos Attacks and Web Threats: How to Protect Your Site & InformationDDos Attacks and Web Threats: How to Protect Your Site & Information
DDos Attacks and Web Threats: How to Protect Your Site & Information
 
Mobile thinking
Mobile thinkingMobile thinking
Mobile thinking
 
Oracle Big data at work
Oracle Big data at workOracle Big data at work
Oracle Big data at work
 
Criminal Education: Lessons from the Criminals and Their Methods
Criminal Education: Lessons from the Criminals and Their MethodsCriminal Education: Lessons from the Criminals and Their Methods
Criminal Education: Lessons from the Criminals and Their Methods
 
Big Data and Fast Data – Big and Fast Combined, is it Possible?
Big Data and Fast Data – Big and Fast Combined, is it Possible?Big Data and Fast Data – Big and Fast Combined, is it Possible?
Big Data and Fast Data – Big and Fast Combined, is it Possible?
 
Understanding Tomorrow, Acting Today
Understanding Tomorrow, Acting TodayUnderstanding Tomorrow, Acting Today
Understanding Tomorrow, Acting Today
 
The 4 th industrial revoulation data ver1.0
The 4 th industrial revoulation   data ver1.0The 4 th industrial revoulation   data ver1.0
The 4 th industrial revoulation data ver1.0
 
Good Guys vs Bad Guys: Using Big Data to Counteract Advanced Threats
Good Guys vs Bad Guys: Using Big Data to Counteract Advanced ThreatsGood Guys vs Bad Guys: Using Big Data to Counteract Advanced Threats
Good Guys vs Bad Guys: Using Big Data to Counteract Advanced Threats
 
Data Science Perspective and DS demo
Data Science Perspective and DS demo Data Science Perspective and DS demo
Data Science Perspective and DS demo
 
Best Practices For Information Security Management 2011
Best Practices For Information Security Management 2011Best Practices For Information Security Management 2011
Best Practices For Information Security Management 2011
 
Need for Data Protection Training - How E-learning Can Help?
Need for Data Protection Training - How E-learning Can Help?Need for Data Protection Training - How E-learning Can Help?
Need for Data Protection Training - How E-learning Can Help?
 
Preparing for an uncertain Future - Riding the wave of change
Preparing for an uncertain Future - Riding the wave of changePreparing for an uncertain Future - Riding the wave of change
Preparing for an uncertain Future - Riding the wave of change
 
Internet of Everything (IoE): Driving Industry Disruption
Internet of Everything (IoE): Driving Industry DisruptionInternet of Everything (IoE): Driving Industry Disruption
Internet of Everything (IoE): Driving Industry Disruption
 
Data Migration Approach to SAP ISU CRM ECC.pdf
Data Migration Approach to SAP ISU CRM ECC.pdfData Migration Approach to SAP ISU CRM ECC.pdf
Data Migration Approach to SAP ISU CRM ECC.pdf
 
Apouc 2014-business-analytics-and-big-data
Apouc 2014-business-analytics-and-big-dataApouc 2014-business-analytics-and-big-data
Apouc 2014-business-analytics-and-big-data
 
Web Architecture - Mechanism and Threats
Web Architecture - Mechanism and ThreatsWeb Architecture - Mechanism and Threats
Web Architecture - Mechanism and Threats
 
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
15 DATA SCIENCE TRENDS TO RULE IN 2023.pdf
 
Internet of Things With Privacy in Mind
Internet of Things With Privacy in MindInternet of Things With Privacy in Mind
Internet of Things With Privacy in Mind
 

Dernier

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Pimtechdaydemo

  • 1. © All Rights Reserved 2013 | Neo Technology, Inc. Graph
  • 9. © All Rights Reserved 2013 | Neo Technology, Inc. About Me 2måndag 15 juli 13
  • 10. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 11. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Developer Evangelist Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 12. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Developer Evangelist Started at Neo4j 2012 Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 13. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Developer Evangelist Started at Neo4j 2012 My Blog: www.p3rnilla.com Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 14. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Developer Evangelist Started at Neo4j 2012 My Blog: www.p3rnilla.com Find me on Twitter: @p3rnilla Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 15. © All Rights Reserved 2013 | Neo Technology, Inc. About Me Developer Evangelist Started at Neo4j 2012 My Blog: www.p3rnilla.com Find me on Twitter: @p3rnilla Email me: pernilla@neotechnology.com Geek Girl Meetup Öresund, Sweden 2måndag 15 juli 13
  • 16. © All Rights Reserved 2013 | Neo Technology, Inc. (Big)Data NOSQL What is a Graph Database, Not? What is a Graph, then? What is a Graph Database? What is Neo4j? AGENDA 3måndag 15 juli 13
  • 17. © All Rights Reserved 2013 | Neo Technology, Inc. 4måndag 15 juli 13
  • 18. © All Rights Reserved 2013 | Neo Technology, Inc. http://nostarch.com/mg_databases.htm#reviews 5måndag 15 juli 13
  • 19. © All Rights Reserved 2013 | Neo Technology, Inc. http://nostarch.com/mg_databases.htm#reviews 5måndag 15 juli 13
  • 20. © All Rights Reserved 2013 | Neo Technology, Inc. 6måndag 15 juli 13
  • 21. © All Rights Reserved 2013 | Neo Technology, Inc. 7måndag 15 juli 13
  • 22. © All Rights Reserved 2013 | Neo Technology, Inc. 7måndag 15 juli 13
  • 23. © All Rights Reserved 2013 | Neo Technology, Inc. 7måndag 15 juli 13
  • 24. © All Rights Reserved 2013 | Neo Technology, Inc. 8måndag 15 juli 13
  • 25. © All Rights Reserved 2013 | Neo Technology, Inc. 9måndag 15 juli 13 Formally, the term database refers to the data itself and supporting data structures. Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information. Databases are set up, so that one set of software programs provides all users with access to all the data. (http://en.wikipedia.org/wiki/Database) Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information.
  • 26. © All Rights Reserved 2013 | Neo Technology, Inc. inputting 9måndag 15 juli 13 Formally, the term database refers to the data itself and supporting data structures. Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information. Databases are set up, so that one set of software programs provides all users with access to all the data. (http://en.wikipedia.org/wiki/Database) Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information.
  • 27. © All Rights Reserved 2013 | Neo Technology, Inc. inputting storing 9måndag 15 juli 13 Formally, the term database refers to the data itself and supporting data structures. Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information. Databases are set up, so that one set of software programs provides all users with access to all the data. (http://en.wikipedia.org/wiki/Database) Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information.
  • 28. © All Rights Reserved 2013 | Neo Technology, Inc. inputting storing retrieving 9måndag 15 juli 13 Formally, the term database refers to the data itself and supporting data structures. Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information. Databases are set up, so that one set of software programs provides all users with access to all the data. (http://en.wikipedia.org/wiki/Database) Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information.
  • 29. © All Rights Reserved 2013 | Neo Technology, Inc. inputting storing retrieving managing information 9måndag 15 juli 13 Formally, the term database refers to the data itself and supporting data structures. Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information. Databases are set up, so that one set of software programs provides all users with access to all the data. (http://en.wikipedia.org/wiki/Database) Databases are created to operate large quantities of information by inputting, storing, retrieving, and managing that information.
  • 30. © All Rights Reserved 2013 | Neo Technology, Inc. DATA??? 10måndag 15 juli 13
  • 31. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 32. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 33. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 34. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 35. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 36. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 37. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 38. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 39. © All Rights Reserved 2013 | Neo Technology, Inc. 11måndag 15 juli 13 Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk. http://www.techterms.com/definition/data
  • 40. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 41. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 42. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 43. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 44. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 45. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 46. © All Rights Reserved 2013 | Neo Technology, Inc. Data? 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 47. © All Rights Reserved 2013 | Neo Technology, Inc. Data? Every 2 days we create as much information as we did up to 2003.” -Eric Schmidt, Google 12måndag 15 juli 13 So Data is getting bigger as you can see here we are sending 20 million email every second..... recognize this one? Eric Schmidt Executive Chairman of google, he made a nice quote about big data
  • 48. © All Rights Reserved 2013 | Neo Technology, Inc. 13måndag 15 juli 13
  • 49. © All Rights Reserved 2013 | Neo Technology, Inc. ? 13måndag 15 juli 13
  • 50. © All Rights Reserved 2013 | Neo Technology, Inc. ? BIG DATA 13måndag 15 juli 13
  • 51. © All Rights Reserved 2013 | Neo Technology, Inc. ? = BIG DATA 13måndag 15 juli 13
  • 52. © All Rights Reserved 2013 | Neo Technology, Inc. ? = BIG DATA NOSQL 13måndag 15 juli 13
  • 53. © All Rights Reserved 2013 | Neo Technology, Inc. 14måndag 15 juli 13
  • 54. © All Rights Reserved 2013 | Neo Technology, Inc. 15måndag 15 juli 13
  • 55. © All Rights Reserved 2013 | Neo Technology, Inc. A Swedish Smorgasbord filled with different types of databases 15måndag 15 juli 13
  • 56. © All Rights Reserved 2013 | Neo Technology, Inc. 16måndag 15 juli 13
  • 57. © All Rights Reserved 2013 | Neo Technology, Inc. SQL 16måndag 15 juli 13
  • 58. © All Rights Reserved 2013 | Neo Technology, Inc. SQL Structured Query Language 16måndag 15 juli 13
  • 59. © All Rights Reserved 2013 | Neo Technology, Inc. SQL Relational Database (MySQL) Structured Query Language 16måndag 15 juli 13
  • 60. © All Rights Reserved 2013 | Neo Technology, Inc. 17måndag 15 juli 13
  • 61. © All Rights Reserved 2013 | Neo Technology, Inc. Relational 17måndag 15 juli 13
  • 62. © All Rights Reserved 2013 | Neo Technology, Inc. Relational 17måndag 15 juli 13
  • 63. © All Rights Reserved 2013 | Neo Technology, Inc. Relational People 17måndag 15 juli 13
  • 64. © All Rights Reserved 2013 | Neo Technology, Inc. Relational People Cats 17måndag 15 juli 13
  • 65. © All Rights Reserved 2013 | Neo Technology, Inc. Relational People CatsPeople_Cats 17måndag 15 juli 13
  • 66. © All Rights Reserved 2013 | Neo Technology, Inc. Relational People CatsPeople_Cats 17måndag 15 juli 13
  • 67. © All Rights Reserved 2013 | Neo Technology, Inc. Relational People CatsPeople_Cats 17måndag 15 juli 13
  • 68. © All Rights Reserved 2013 | Neo Technology, Inc. Relational 17måndag 15 juli 13
  • 69. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL (Not Only SQL) non-relational open-source (mostly) cluster-friendly 21st Centery Web schema optional 18måndag 15 juli 13 charachterictics for a nosql database
  • 70. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 71. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 72. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 73. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 74. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 75. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 76. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 77. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented KeyValue Stores Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 78. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented KeyValue Stores Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 79. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented KeyValue Stores Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 80. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented KeyValue Stores Graph Database Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 81. © All Rights Reserved 2013 | Neo Technology, Inc. NOSQL family Document-Oriented Database Column Oriented KeyValue Stores Graph Database Four types of NOSQL databases 19måndag 15 juli 13 The difference between these databases is the so called datamodel the building blocks that they exposed to the developers Building blocks for Mongo Db are document in Column Oriented database like Cassandra it’s columns the keyvalue stores are key and value column based on bigtables -
  • 82. © All Rights Reserved 2013 | Neo Technology, Inc. So,
  • 84. © All Rights Reserved 2013 | Neo Technology, Inc. 21måndag 15 juli 13
  • 85. © All Rights Reserved 2013 | Neo Technology, Inc. 22måndag 15 juli 13 marshall ”how I meet your mother”
  • 86. © All Rights Reserved 2013 | Neo Technology, Inc. 23måndag 15 juli 13 what do google say?
  • 87. © All Rights Reserved 2013 | Neo Technology, Inc. 23måndag 15 juli 13 what do google say?
  • 88. © All Rights Reserved 2013 | Neo Technology, Inc. 23måndag 15 juli 13 what do google say?
  • 89. © All Rights Reserved 2013 | Neo Technology, Inc. 23måndag 15 juli 13 what do google say?
  • 90. © All Rights Reserved 2013 | Neo Technology, Inc. So,
  • 92. © All Rights Reserved 2013 | Neo Technology, Inc. 25måndag 15 juli 13
  • 93. © All Rights Reserved 2013 | Neo Technology, Inc. What is a graph? 25måndag 15 juli 13
  • 94. © All Rights Reserved 2013 | Neo Technology, Inc. Object (vertex, node) What is a graph? 25måndag 15 juli 13
  • 95. © All Rights Reserved 2013 | Neo Technology, Inc. Object (vertex, node) What is a graph? 25måndag 15 juli 13
  • 96. © All Rights Reserved 2013 | Neo Technology, Inc. Object (vertex, node) Link (edge, arc, relationship) What is a graph? 25måndag 15 juli 13
  • 97. © All Rights Reserved 2013 | Neo Technology, Inc. Object (vertex, node) Link (edge, arc, relationship) What is a graph? 25måndag 15 juli 13
  • 98. © All Rights Reserved 2013 | Neo Technology, Inc. Different Kinds of Graphs Undirected Graph Directed Graph Hyper Graph 26måndag 15 juli 13
  • 99. © All Rights Reserved 2013 | Neo Technology, Inc. More Kinds Of Graphs 27måndag 15 juli 13
  • 100. © All Rights Reserved 2013 | Neo Technology, Inc. Graph
  • 102.  you
  • 106. © All Rights Reserved 2013 | Neo Technology, Inc. 29måndag 15 juli 13
  • 107. © All Rights Reserved 2013 | Neo Technology, Inc. Most well known graph 29måndag 15 juli 13
  • 108. © All Rights Reserved 2013 | Neo Technology, Inc. Most well known graph 29måndag 15 juli 13
  • 109. © All Rights Reserved 2013 | Neo Technology, Inc. Most well known graph 29måndag 15 juli 13
  • 110. © All Rights Reserved 2013 | Neo Technology, Inc. Most well known graph 29måndag 15 juli 13
  • 111. © All Rights Reserved 2013 | Neo Technology, Inc. Most well known graph 29måndag 15 juli 13
  • 112. © All Rights Reserved 2013 | Neo Technology, Inc. So,
  • 114. © All Rights Reserved 2013 | Neo Technology, Inc. 30måndag 15 juli 13
  • 115. © All Rights Reserved 2013 | Neo Technology, Inc. what
  • 116.  are
  • 117.  they
  • 118.  good
  • 119.  at?
  • 121. © All Rights Reserved 2013 | Neo Technology, Inc. Highly connected data (social networks) 31måndag 15 juli 13
  • 122. © All Rights Reserved 2013 | Neo Technology, Inc. Highly connected data (social networks) 31måndag 15 juli 13
  • 123. © All Rights Reserved 2013 | Neo Technology, Inc. Highly connected data (social networks) 31måndag 15 juli 13
  • 124. © All Rights Reserved 2013 | Neo Technology, Inc. Highly connected data (social networks) 31måndag 15 juli 13
  • 125. © All Rights Reserved 2013 | Neo Technology, Inc. Recommendations (e-commerce) 32måndag 15 juli 13
  • 126. © All Rights Reserved 2013 | Neo Technology, Inc. Path Finding (how do I know you?) 33måndag 15 juli 13
  • 127. © All Rights Reserved 2013 | Neo Technology, Inc. Path Finding (how do I know you?) 33måndag 15 juli 13
  • 128. © All Rights Reserved 2013 | Neo Technology, Inc. Path Finding (how do I know you?) 33måndag 15 juli 13
  • 129. © All Rights Reserved 2013 | Neo Technology, Inc. Shortest Path (from a - b) 34måndag 15 juli 13
  • 130. © All Rights Reserved 2013 | Neo Technology, Inc. Shortest Path (from a - b) 34måndag 15 juli 13
  • 131. © All Rights Reserved 2013 | Neo Technology, Inc. 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 132. © All Rights Reserved 2013 | Neo Technology, Inc. So what is a Graph Database? 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 133. © All Rights Reserved 2013 | Neo Technology, Inc. So what is a Graph Database? 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 134. © All Rights Reserved 2013 | Neo Technology, Inc. So what is a Graph Database? 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 135. © All Rights Reserved 2013 | Neo Technology, Inc. 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 136. © All Rights Reserved 2013 | Neo Technology, Inc. Compered to Relational Database... 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 137. © All Rights Reserved 2013 | Neo Technology, Inc. Compered to Relational Database... 35måndag 15 juli 13 a graphdatavase with an ecxlpit graph structure, each node knows its adjacent nodes as the number of nodes increases the cost of a local step or hop remains the same plus an index for lookups
  • 138. © All Rights Reserved 2013 | Neo Technology, Inc. What is Neo4j? 36måndag 15 juli 13
  • 139. © All Rights Reserved 2013 | Neo Technology, Inc. What is Neo4j? 36måndag 15 juli 13
  • 140. © All Rights Reserved 2013 | Neo Technology, Inc. 37måndag 15 juli 13
  • 141. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph 37måndag 15 juli 13
  • 142. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph - Full ACID (atomicity, consistency, isolation, durability) 37måndag 15 juli 13
  • 143. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph - Full ACID (atomicity, consistency, isolation, durability) 37måndag 15 juli 13
  • 144. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph - Full ACID (atomicity, consistency, isolation, durability) Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 145. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph - Full ACID (atomicity, consistency, isolation, durability) Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 146. © All Rights Reserved 2013 | Neo Technology, Inc. - Property Graph - Full ACID (atomicity, consistency, isolation, durability) Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 147. © All Rights Reserved 2013 | Neo Technology, Inc. - High Availability (with Enterprise Edition) - Property Graph - Full ACID (atomicity, consistency, isolation, durability) Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 148. © All Rights Reserved 2013 | Neo Technology, Inc. - Embedded Server - High Availability (with Enterprise Edition) - Property Graph - Full ACID (atomicity, consistency, isolation, durability) Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 149. © All Rights Reserved 2013 | Neo Technology, Inc. - Embedded Server - High Availability (with Enterprise Edition) - Property Graph - Full ACID (atomicity, consistency, isolation, durability) - REST API Not many NOSQL databases have ACID except Neo4j... 37måndag 15 juli 13
  • 150. © All Rights Reserved 2013 | Neo Technology, Inc. Modeling the data 38måndag 15 juli 13
  • 152. What do we need 39måndag 15 juli 13
  • 153. What do we need People Space Crew Land Crew Supply Maps/Navigation System Time schedule Spacecraft $$Money Astronauts Engineers Managers Doctors operative personal Admin personal foodwater Test, test ,test WC space suits communication tools documentation Mars Earth stars training fuelSystem Salaries clothes training program 6 months - from Earth mars more research mars rover planning prep time recovering time Summary sponsors smart people 39måndag 15 juli 13
  • 161. A graph database = Nodes and relationships Nodes Relationships Mars Pernilla Astronaut Anna Manager Michaela Doctor Lisa Admin Stina Engineer Supply Spaceship NASA Control Tower Mission_to_Mars Money goes_into built design fly works_in look_after works_at participate_in to manage pay_mission 43måndag 15 juli 13
  • 163. Cypher - a graph query language ๏ a pattern-matching query language ๏ declarative grammar with clauses (like SQL) ๏ aggregation, ordering, limits ๏ create, read, update, delete, match 44måndag 15 juli 13
  • 165. // create a node create (astronaut:Astronaut {name:Pernilla, age: 27}), (target:Planet {planet:Mars}), (mission:Mission {mission:Mission to Mars}); // find nodes match to node 1,2,3 MATCH (astronaut)-[:PARTICIPATES_IN] -(mission)-[:TO]-(Planet:planet) where planet.planet = Mars RETURN astronaut.name 45måndag 15 juli 13
  • 166. // create a node create (astronaut:Astronaut {name:Pernilla, age: 27}), (target:Planet {planet:Mars}), (mission:Mission {mission:Mission to Mars}); // find nodes match to node 1,2,3 MATCH (astronaut)-[:PARTICIPATES_IN] -(mission)-[:TO]-(Planet:planet) where planet.planet = Mars RETURN astronaut.name 45måndag 15 juli 13