Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

MongoDB介绍

on

  • 5,743 views

2010-11-20在广州小沙龙的ppt,时间比较匆忙写的比较简单

2010-11-20在广州小沙龙的ppt,时间比较匆忙写的比较简单

Statistics

Views

Total Views
5,743
Views on SlideShare
4,087
Embed Views
1,656

Actions

Likes
2
Downloads
60
Comments
0

10 Embeds 1,656

http://weavesky.com 1609
http://cache.baidu.com 24
http://egamedata.com 7
http://ioteam.zjgsu.edu.cn 7
http://www.egamedata.com 2
http://translate.googleusercontent.com 2
http://static.slidesharecdn.com 2
http://weavesky.com} {1068046383|||pingback 1
http://blog.desireweb.tk 1
http://ju.outofmemory.cn 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

MongoDB介绍 MongoDB介绍 Presentation Transcript

  • Sparkle
  • 自我介绍
    • 曾冠东 Sparkle
    • Java 出生
    • 兴趣点: Java 、 Scala 、 Python 、 Ruby 、 Android 、 NoSQL 、并发、 Actor 、互联网、敏捷
  • Why NoSQL
    • 很多情况下,我们只需要一个存储
    • 二维表格不适合人脑
    • 性能
    • 大规模
  • NoSQL 的两个方向
    • 单点高性能
    • 大规模文档存储
  • Why MongoDB
    • 大规模文档存储
    • 关系数据库特性(比如索引)
    • 集群和分区
    • MapReduce
    • GridFS
    • 各种语言接口
  •  
  • 不适用场景
    • 事务
    • 关系型操作
    • 统计
  • 缺陷
    • Foursquare 的 11 小时宕机
    • 碎片
    • Auto-sharding
    • 磁盘空间占用比较大
    • 32bit
  • 存放的数据 { title:”My First Post”, author:”superman”, comments:[{by:”A1”, text:”good”, {by:”A2”, text:”shit”}] }
  • 存放的数据
    • 用 BSON 来存放
    • 没有结构!放什么就是什么
  • 查询
    • db.users.find({'last_name': 'Smith'})
    • db.users.find({}).sort({last_name: 1});
    • db.users.find().skip(20).limit(10);
    • db.things.find({j : {$lt: 3}});
  • 查询 group
    • 请用 mapreduce
  •  
  • 谁在用 MongoDB
  • 更多
    • 我就不说了
  • 谢谢! email&gtalk: popeast#gmail Twitter: sparkle_zeng QQ: 36220757 http://weavesky.com