NoSQL databases are a good alternative to common SQL technologies. Here you get an introduction and comparison of SQL vs NoSQL. Furthermore we have a look on Graph databases and especially OrientDB vs Neo4j.
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
OrientDB vs Neo4j Comparison
1.
2. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 2
Example of a graph [11]
3. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 3
SELECT name, out(‘ACTS’).title
FROM Person WHERE name = ‘Robin’
START actor=node:Person(name=’Robin’)
MATCH (actor)-[:ACTS_IN]->(movie)
RETURN actor.name, movie.title
[12]
4. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 4
SELECT name, out(‘ACTS’).title
FROM Person WHERE name = ‘Robin’
START actor=node:Person(name=’Robin’)
MATCH (actor)-[:ACTS_IN]->(movie)
RETURN actor.name, movie.title
[12]
5. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 5
SELECT B.location
FROM Customer A, Address B, CustomerAddress C
WHERE A.name = 'Luca' AND B.id = A.id AND B.address = C.id
6. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 6
SELECT *
FROM Employee A, City B
WHERE A.city = B.id
AND B.name = 'Rome'
SELECT *
FROM Employee
WHERE city.name = 'Rome'
SELECT *
FROM Employee A, City B, Country C,
WHERE A.city = B.id
AND B.country = C.id
AND C.name = 'Italy'
SELECT *
FROM Employee
WHERE city.country.name = 'Italy'
In OrientDB
7. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 7
8. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 8
9. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 9
SQL Systems/NoSQL-Kategories[14]
10. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 10
Polyglot persistence
11. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 11
[1]
12. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB Neo4j
DB type Document Store Graph DBMS Graph DBMS
Licence Open Source (Apache 2.0) Open Source (GPL Version3)/Commercial
Price Free Most expensive Graph DBMS (min. 12k
Dollar/year)
Rank 66 [1] 22 [2]
Portable Yes No
Schema-less, Mixed-mode, Schema-ful [7] Yes, Yes, Yes [5] Yes, -, -
SQL-Support No (SQL-like) No (Cypher)
Server-side scripts Java, JavaScript Server plugins in Java
Trigger Hooks Event Handler
Partitioning Sharding No
Replication Master-Master Master-Slave
OrientDB vs Neo4j 12
means better/more features no clear domination
13. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB Neo4j
Year 2010 2007
Multiple
databases
Yes No
OrientDB vs Neo4j 13
OrientDB customers Neo4j customers
14. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB Neo4j
Query Language Easy to learn, intuitive Harder to learn, not so intuitive
Visual access Nearly all settings available Just some
User Trend Increasing Highly increasing
Project state Still many hard changes Some hard changes
Support for code helpings Incredible Fast Normal
Support for requests
(Studio)
1-2 days Not yet tested
Future changes Many planned (e.g. messaging queue) Nothing known to me
OrientDB vs Neo4j 14
means better/more features
no clear domination
15. Intro SQL vs NoSQL OrientDB vs Neo4j ?
Relational model Document model OrientDB document model
Tables Collections Classes and clusters
Rows Documents Documents
Columns Key/Values pairs Key/Value pairs
Joins Not available Links
OrientDB vs Neo4j 15
[6]
Relational model Graph model OrientDB graph model
Tables Vertices and Edges Vertices and Edges set + sub-types
Rows Vertices Vertices
Columns Key/Values pairs Key/Value pairs
Joins Edges Edges
Graph
model
Document
model
16. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 16
[8]
17. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 17
Neo4j
18. Intro SQL vs NoSQL OrientDB vs Neo4j ?
OrientDB vs Neo4j 18
OrientDB
19. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 19
20. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 20
21. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 21
Example of inheritance
22. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 22
23. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 23
24. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 24
25. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 25
26. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 26
27. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 27
[4]
28. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 28
29. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB
OrientDB vs Neo4j 29