Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
10 reasons to fall in love with MongoDB | Mikha...
Search
Minsk MongoDB User Group
May 07, 2012
Technology
97
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
10 reasons to fall in love with MongoDB | Mikhail Burtylev
Mikhail Burtylev,
Meetup #1
Minsk MongoDB User Group
May 07, 2012
More Decks by Minsk MongoDB User Group
See All by Minsk MongoDB User Group
MongoDB by Chef | Yauhen Artsiukhou
bymongo
0
150
MongoDB at IronMQ | Alexander Kolesen
bymongo
0
860
Scaling MongoDB | Sergey Gavruk
bymongo
2
200
Event sourcing + CQRS + MongoDB | Alex Shkor
bymongo
1
660
How it works. Indexes | Kirill Duborenko
bymongo
5
300
Aggregation Framework | Mikhail Burtylev
bymongo
1
130
MongoDB 2.2: Release update + Roadmap | Alvin Richards
bymongo
1
120
Meetup#6 Intro | Alex Litvinok
bymongo
1
68
Deploying MongoDB on Amazon WS | Michael Karpitsky
bymongo
2
140
Other Decks in Technology
See All in Technology
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
210
強化学習「理論」入門
enakai00
3
3.6k
8bit CPU 2026
koba789
6
2.6k
Kiro Crew入門 - 常駐エージェントの仕組みと使いどころ / Intro to Kiro Crew
k_adachi_01
1
770
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
240
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
14
5.5k
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
200
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
コーチングの奥義 何もしないテクニック
jinwatanabe
0
150
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
200
AI開発に用いられるHPC技術について
gpuunite_official
0
250
自宅NWにISR4331を導入してみた話
okaits
0
120
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Why Our Code Smells
bkeepers
PRO
340
58k
Ethics towards AI in product and experience design
skipperchong
2
350
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
290
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fireside Chat
paigeccino
42
4k
Utilizing Notion as your number one productivity tool
mfonobong
4
550
GitHub's CSS Performance
jonrohan
1033
470k
Ruling the World: When Life Gets Gamed
codingconduct
0
310
The Curse of the Amulet
leimatthew05
2
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
Transcript
10 reasons to fall in love
NoSQL MongoDB -‐ humongous Open source,
10gen Cross-‐pla;orm: OS X, Linux, Windows, Solaris v1.0 – Aug 2009 v1.9.1 – Aug 2011 (odd – DEV version) v2.0.3 – Feb 2012 Introduc5on
1. Fast & powerful Scalability and performance Depth of
functionality key/value stores MongoDB RDBMS Focus on performance
{ _id: <document identifier>, key: “value”, subDocument: {innerProp: null} }
JSON/BSON, 16MB Basic types, arrays, embedded documents, ObjectId, other 2. Document-‐oriented
3. Schema-‐free { _id: ObjectId("4B980A6DEA2C3F4579DA141E"), user_id: ObjectId("4B980A6DEA2C3F4579DA4F54"), shipping_address: {
street: "3333 Green Ave", city: "Brooklyn", state: "NY"}, line_items: [ {sku: “rbk-423", name: “Case", price: 4000}, {sku: "spk-211", name: "Guitar", price: 9200}], subtotal: 13200, tax: 1100, total: 14300 } ObjectId Link to user Embedded document Array Embedded documents Duplication
4. Rich queries db.books.find({name: “MongoDB”}); {author: {$exists: true}, “info.price”:
{$lt: 10}} $gt, $lt, $or, $not, $type, $exists, $in, $all, $elemMatch $where – JavaScript expression db.books.find().skip(50).limit(10).sort({name: 1})
5. Full Index Support Basic keys, Compound keys Embedded
fields, Arrays Unique, Sparse, Background Geospatial indexes (2d) db.places.find({loc: {$near: [50,50], $maxDistance: 5}}).limit(20)
Atomic modifiers ($inc, $set, $push…) Upsert FindAndModify Capped collections MapReduce
GridFS 6. Useful features
7. Replica5on Master-Slave Replica Set M S
S S M S M S M M S M (Data Center Awareness)
8. Auto-‐Sharding Horizontal scalability client AL <= state
< KA KA <= state < OH OK <= state <= WY mongos mongod mongod mongod
~50MB of binaries No installation required Multi-language support: C#, C,
C++, Java, Perl, PHP, Python, Ruby Tools: MongoVUE, RockMongo http://try.mongodb.org 9. Easy to try
10. Support Documentation http://www.mongodb.org Official MongoDB site http://groups.google.com/group/mongodb-user Google
user group Commercial support MongoDB Monitoring Service (MMS)
Ques5ons?