Thursday, March 13, 2014

Mongo m102 Dwight Merriman

Mongo gives up Joins and Complex Transactions in favor of speed and horizontal scalability
Needs for joins are alleviated by denormalizing data
Mongo is a document-oriented database
Uses JSON notation for documents and queries
Stored as BSON (binary JSON) internally

https://www.youtube.com/watch?feature=player_embedded&v=0euni8AdT1c





$ mongoimport --db pcat --collection products < products.3eb7cd1a9633.json 
connected to: 127.0.0.1
Mon Sep 30 20:20:17.963 check 9 11
Mon Sep 30 20:20:17.963 imported 11 objects



Scalability

  • Vertical - buy a bigger box
  • Horizontal - more machines









0 comments:

Post a Comment

 

Information Technology News Copyright © 2016 | Powered by Blogger