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.
Upcoming SlideShare
Multi model-databases
Next
Download to read offline and view in fullscreen.

Share

01 nosql and multi model database

Download to read offline

introduction into noSql and multi-model databases implemented on orientdb

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

01 nosql and multi model database

  1. 1. ‫اﻟﺗﻘﻧﯾﺔ‬ ‫اﻟﺧﻠﯾل‬ ‫ﻟﻘﺎءات‬ Hebron Tech Meetup
  2. 2. Multi-model NoSQL database Hebron Tech Meetup / 13-02-2016
  3. 3. Topics This is slides is presented at “Hebron Tech meetup “ https://www.facebook. com/groups/659298460875650/ 1- What is nosql? Introduction about nosql database , categories of them , and use-cases . 2- introduction to multi-model database. how it works, explain relationships , and examples. 3- Demo Open your browser and get you hands dirty with orientDb This template is free to use under Creative Commons Attribution license. If you use the graphic assets (photos, icons and typographies) provided with this presentation you must keep the Credits slide.
  4. 4. Hello! I am Mahdi Atawna I am here because I love to give presentations. You can find me at: @mshanak
  5. 5. 1. What is NOSQL introduction about NOSQL types and use-cases BY: Shadi atawna
  6. 6. What is Problem of RDBMS? ▷ Schemas aren’t designed for Sparse data. ▷ Normalize, creates a lot of tables . ▷ Joins can be prohibitively expensive
  7. 7. What is Problem of RDBMS? ▷ Don’t do unstructured data search well (i. e. google type searching) ▷ databases are simply not designed to be distributed ○ Don’t Scale well. ○ clustering is not dynamic and expensive.
  8. 8. ▷ Class of non-relational data storage systems ▷ Running well on clusters (distributed) ▷ Mostly open-source ▷ Built for the 21st century web needs . ▷ Schema-less What is NoSQL?
  9. 9. Why NoSQL? 1. Big Users 2. Big Data 3. The Internet of things 4. The Cloud Computing 5. Scalability and Performance Advantages 6. Flexible Data Model
  10. 10. Types/Models of NoSQL: 1. Key value Databases 2. Document Databases 3. Column family Stores 4. Graph Databases
  11. 11. Types/Models of NoSQL: 1. Key value Databases 2. Document Databases 3. Column family Stores 4. Graph Databases
  12. 12. 1 Document Databases a computer program designed for storing, retrieving, and managing document-oriented information, also known as semi-structured data.
  13. 13. Document Databases
  14. 14. Document Databases Example
  15. 15. Document Databases Features: 1. Making the value visible for query 2. Flexible schema 3. Semi-Structured. Limitations: 1. not handling transaction on multiple document. Use Cases: 1. event logging 2. Content management systems, blogging platforms
  16. 16. 2 Graph Databases a database that uses graph structures for semantic queries with nodes, edges and properties to represent and store data.
  17. 17. Graph vs RDBMS A Graph Database creates the relationship just once (when the edge is created) VS RDBMS computes the relationship every time you query a database
  18. 18. App with many databases
  19. 19. 2. Multi-model database
  20. 20. “A multi-model database combines a document store with a graph database and is at the same time a key/value store,
  21. 21.
  22. 22. Benefits 1. Just one product to learn and maintain 2. Just one vendor relationship to manage 3. No ETL, no synchronization required 4. Performance and Reliability is easy to test from the beginning
  23. 23. graph example
  24. 24. Popular multi-model databases http://orientdb.com/orientdb/ https://www.arangodb.com/
  25. 25. OrientDb: Queries Orient DB uses SQL as it's query language and adds some extensions to enable graph functionality. 1. SQL is the mostly widely recognized standard. 2. The majority of developers have experience and are comfortable with SQL
  26. 26. OrientDb: Select
  27. 27. OrientDb: query examples > SELECT FROM MyClass WHERE id = 1 > SELECT FROM User WHERE name LIKE 'mahdi%' > SELECT SUM(salary) FROM Employee WHERE age < 40 GROUP BY job
  28. 28. OrientDb: INSERT > INSERT INTO Employee(name, surname, gender) VALUES ('Jay', 'Miner', 'M') > INSERT INTO Employee CONTENT { name : 'Jay', surname : 'Miner', gender : 'M' }
  29. 29. OrientDb: Joins SQL: SELECT * FROM Employee A, City B WHERE A.city = B.id AND B.name = 'Rome' OrientDb: SELECT * FROM Employee WHERE city.name = 'Rome'
  30. 30. OrientDb: Create Relations CREATE EDGE FROM #10:3 TO #11:4 CREATE EDGE friends FROM #10:3 TO #11:4
  31. 31. OrientDb: Query Relations/ TRAVERSE TRAVERSE * FROM #10:1234 TRAVERSE friends FROM #10:1234 WHILE $depth <= 3 TRAVERSE in(“friends”) FROM #10:1234 WHILE $depth <= 3
  32. 32. Query Relations - TRAVERSE SELECT FROM (TRAVERSE friends FROM #10:1234 ) WHERE city = 'Rome' ----------------------- select from ( traverse in("livedIn") from #15:2 ) where @class="teacher"
  33. 33. 3. Demo
  34. 34. Thanks! Any questions? You can find me at: @mshanak mshanak@gmail.com
  35. 35. Credits Special thanks to all the people who made and released these awesome resources for free: ▷ Presentation template by SlidesCarnival ▷ Photographs by Unsplash
  • AshokSivanandiPMPCDM

    Jul. 30, 2020
  • kennethowino9

    May. 25, 2019
  • dongwq

    Feb. 15, 2016
  • kboussebat

    Feb. 14, 2016
  • lvca

    Feb. 14, 2016
  • MeqdadDarweesh

    Feb. 13, 2016
  • MahmoudSaid40

    Feb. 13, 2016

introduction into noSql and multi-model databases implemented on orientdb

Views

Total views

1,436

On Slideshare

0

From embeds

0

Number of embeds

14

Actions

Downloads

17

Shares

0

Comments

0

Likes

7

×