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!

Like this? Share it with your network

Share

MongoDB介绍

  • 5,930 views
Uploaded on

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

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,930
On Slideshare
4,274
From Embeds
1,656
Number of Embeds
10

Actions

Shares
Downloads
60
Comments
0
Likes
2

Embeds 1,656

http://weavesky.com 1,609
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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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