Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

OrientDB vs Neo4j - and an introduction to NoSQL databases

9,473 views

Published on

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.

Published in: Software
  • My brother found Custom Writing Service ⇒ www.WritePaper.info ⇐ and ordered a couple of works. Their customer service is outstanding, never left a query unanswered.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ♥♥♥ http://bit.ly/2Qu6Caa ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/2Qu6Caa ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

OrientDB vs Neo4j - and an introduction to NoSQL databases

  1. 1. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 2 Example of a graph [11]
  2. 2. 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]
  3. 3. 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]
  4. 4. 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
  5. 5. 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
  6. 6. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 7
  7. 7. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 8
  8. 8. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 9 SQL Systems/NoSQL-Kategories[14]
  9. 9. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 10 Polyglot persistence
  10. 10. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 11[1]
  11. 11. 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 12means better/more features no clear domination
  12. 12. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB Neo4j Year 2010 2007 Multiple databases Yes No OrientDB vs Neo4j 13 OrientDB customers Neo4j customers
  13. 13. 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
  14. 14. 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 GraphmodelDocumentmodel
  15. 15. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 16 [8]
  16. 16. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 17 Neo4j
  17. 17. Intro SQL vs NoSQL OrientDB vs Neo4j ? OrientDB vs Neo4j 18 OrientDB
  18. 18. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 19
  19. 19. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 20
  20. 20. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 21 Example of inheritance
  21. 21. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 22
  22. 22. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 23
  23. 23. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 24
  24. 24. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 25
  25. 25. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 26
  26. 26. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 27[4]
  27. 27. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 28
  28. 28. Intro SQL vs NoSQL OrientDB vs Neo4j OrientDB OrientDB vs Neo4j 29

×