Mais conteúdo relacionado Semelhante a MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup (20) MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup4. RDBMS (Oracle, MySQL) New Gen. OLAP (vertica, aster, greenplum) Non-relational Operational Stores (“NoSQL”) 9. JSON-style Documents { “hello” : “world” } 16000000 02 hello00 06000000world00 00 http://bsonspec.org represented as BSON 15. Posts Since April 1 april_1 = new Date(2010, 3, 1) db.posts.find({date: {$gt: april_1}}) 17. Indexes {“author”: “mike”, “ links”: 3 , “ date”: "Sun Jul 18 2010 14:40:20 GMT-0700 (PDT)" “ text”: “...”} db.posts.ensureIndex({links: 1}) 18. Indexes {author: “mike”, … , comments: [ {author: “eliot”, date: new Date(), text: “great post!”} }, … ] } db.posts.ensureIndex({‘comments.author’: 1, ‘ comments.date’: -1 }) 23. Map/Reduce > m = function() { emit(this.user_id, 1); } > r = function(k,vals) { return 1; } > res = db.events.mapReduce(m, r, { query : {type:'sale'} }); > db[res.result].find().limit(2) { "_id" : 8321073716060 , "value" : 1 } { "_id" : 7921232311289 , "value" : 1 } 25. Embedding a Comment c = {author: “eliot”, date: new Date(), text: “great post!”} db.posts.update({_id: post._id}, {$push: {comments: c}}) 30. Auto Sharding client mongos ... mongos mongod ... Shards mongod mongod mongod Config Servers mongod mongod mongod mongod mongod mongod mongod mongod ... 44. let us know what you think @mongodb get free support groups.google.com/group/mongodb-user request features jira.mongodb.org (grab some friends and manipulate our voting system ) Download MongoDB mongodb.org Notas do Editor 4 quad core cpus 72 gigs of ram 1.6 TB of RAID10 data storage