Weitere ähnliche Inhalte Ähnlich wie Pimtechdaydemo Ähnlich wie Pimtechdaydemo (20) Kürzlich hochgeladen (20) Pimtechdaydemo9. © 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 -
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?
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
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
114. © All Rights Reserved 2013 | Neo Technology, Inc.
30måndag 15 juli 13
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
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