Download - NoSQL
![Page 1: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/1.jpg)
NoSQL?
![Page 2: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/2.jpg)
Buzz Words...
![Page 3: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/3.jpg)
http://developers.facebook.com/docs/concepts/opengraph/
Facebook Open Graph
![Page 4: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/4.jpg)
The Knowledge Graphhttp://www.google.com/insidesearch/features/search/knowledge.html
![Page 6: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/6.jpg)
Polyglot Persistence?http://martinfowler.com/articles/nosql-intro.pdf
![Page 7: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/7.jpg)
Basic Architecture
![Page 8: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/8.jpg)
Performance?
![Page 9: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/9.jpg)
Data Virtualisation?
![Page 10: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/10.jpg)
Graph Database
![Page 11: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/11.jpg)
Graph Database
![Page 12: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/12.jpg)
Relational Database
![Page 13: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/13.jpg)
SELECT DISTINCT name AS my_friendFROM FriendOfFriend.Friend f,
FriendOfFriend.MyFriend my_fWHERE f.id = my_f.friend_id_1 and my_id = 1
Who are my friends?
![Page 14: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/14.jpg)
What about who are my friends of a friend?
![Page 15: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/15.jpg)
What about who are my friends of a friend that also like the
same thing I like?
![Page 16: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/16.jpg)
What would it be in NEO4J?(CYPHER)
START me=node(10)MATCH me-[:friend]-friend-[:friend]-friend_of_friend
RETURN friend_of_friend
![Page 17: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/17.jpg)
•It feels natural
•Fast in highly connected data (embedded)
Why Graph Database?
![Page 18: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/18.jpg)
Examplehttps://github.com/noppanit/eventify
http://www.kaggle.com/c/event-recommendation-engine-challenge
![Page 19: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/19.jpg)
Example
![Page 20: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/20.jpg)
More?
![Page 21: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/21.jpg)
NoDBAhttp://martinfowler.com/bliki/NoDBA.html
![Page 22: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/22.jpg)
BUT!
![Page 23: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/23.jpg)
•Don’t use it because it’s COOL!
•NoSQL should be also considered when appropriate, do not just go for relational databases
•It’s not really schema-less, the schema is in the code
•We still need DBAs.
Things to remember!
![Page 24: NoSQL](https://reader038.vdocuments.net/reader038/viewer/2022103114/554f54e4b4c905524c8b50e6/html5/thumbnails/24.jpg)
References
• http://www.slideshare.net/tackers/why-we-chose-mongodb-for-guardiancouk
• http://www.rapidftr.com/